all groups > vb.net > october 2007
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
datagridview and order of events
Posted by HSalim[MVP] at 10/31/2007 8:32:24 PM
I have a datagridview bound at run-time to a Data Table.
I have code populating the Data Table. This works well.
I'm trying to understand the order of events on a datagridview. When I
append rows manually to the grid there seems to be a delay in when the data
is sent back to bound Data Table.... more >>
TRying to scrape HTML from WebBrowser control - but can't find it!
Posted by foreverayid NO[at]SPAM hotmail.co.uk at 10/31/2007 6:49:00 PM
hi everyone, i wonder if you could help me with something.
With many sites i have been able to scrape the html data within the
page. Either by looking at webbrowser.documentText or looking at the
innerHTML property of each of the frames contained in
webbrowser.document.
I have encountered ... more >>
Testing client server application from single computer
Posted by Joh at 10/31/2007 3:14:48 PM
I'd like to test a server application and a client application from
the same computer. Currently if I let the client try to connect to my
IPv4 adress provided by my router in this case 192.168.1.2 or my
"external" IP provided by my ISP the tcplistener in the Server class
wont accept the connect... more >>
Speeding Up Communication With Access
Posted by ags5406 at 10/31/2007 1:53:02 PM
I've created an application that downloads data daily from a secure
web site and stores that data in an Access database. Then there are
different options for allowing the user to do keyword and date
searches on the database and have the information displayed for them.
Everything looks and fun... more >>
Overrides Declare Function "X.dll"?
Posted by Joe HM at 10/31/2007 11:39:18 AM
Hello -
I was wondering what I need to do in order to Overrides a Function
that is Declare'd?
Here it what I have
Class Base
Public Overridable XYZ(ByVal A As String)
End Class
Class Derived
Inherits Base
Public Overrides Declare Function XYZ Lib "X.dll" (ByVal A As
String)... more >>
how access a frm in project_B from project_A which contains projec
Posted by Rich at 10/31/2007 10:25:02 AM
Project_A is the primary project. I have deployed project_A and users have
been using it for a while. I have another project -- project_B which is a
standalone application. But rather than have to deploy 2 separate projects I
was thinking of combining project_B with project_A. So I added p... more >>
VS 2005 ADO.Net Basics
Posted by Paul at 10/31/2007 9:57:02 AM
Hi everyone,
I'm a VB6 developer who has recently installed Visual Studio 2005 and I want
to get my hands dirty with VB.NET 2005! I'm struggling with database
connections, and I mean floundering!
Most of the examples I've found have been using forms and controls but I
would like to do it... more >>
Add timers to an array of objects
Posted by Bobby at 10/31/2007 7:37:55 AM
Dear all,
could someone show me how one would complete the following MSDN
example :
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
lost in translation
Posted by rodchar at 10/31/2007 6:26:00 AM
hey all,
could someone please help me translate the following c# snippet:
public event EventHandler BubbleClick;
protected void OnBubbleClick(EventArgs e)
{
if(BubbleClick != null)
{
BubbleClick(this, e);
}
}
i'm particularly having proble... more >>
Intercommunication control?
Posted by M O J O at 10/31/2007 12:00:00 AM
Hi,
I have absolutely no clue how to do TCP Client/Server stuff.
I would like to drop a "server control" on my server form, a "client
control" on my client form, set some parameters like port and then just
enable it. The controls will take care of the rest (like if the server
restarts, t... more >>
How to Run a Code Stored in String
Posted by Bharani Dharan at 10/31/2007 12:00:00 AM
hi all
how do I get the compiled value of the code stored in a string?
For instance:-
dim strVal as String =3D "Response.write(1)"
I want the code stored in the string to be executed and when in print =
the string it shld return me the value '1'. is this doable? any help?
Regs,
Bharan... more >>
vb 2008
Posted by John at 10/31/2007 12:00:00 AM
Hi
What are the advantage of vb2008 over vb2005?
Thanks
Regards
... more >>
Implementing a "Smart" folder in Windows XP?
Posted by Noozer at 10/30/2007 10:26:43 PM
I'm looking for a "smart folder" program to run on my Windows XP machine.
I'm not having any luck finding it and think the logic behind the program is
pretty simple, but I'm not sure how I'd implement this. I've done some VB6
programming and dabbled in VS.Net.
Can someone share some pointer... more >>
programming CADELET
Posted by EWF at 10/30/2007 7:07:34 PM
Hallo
A question about Cadelet: it’s an electrical cad, i need to use it’s
APIs to add information to an existing project. Did someone of you ever
worked about it? I can’t find information nowhere. Thank you
p.s. i’m sorry for my awful english... :-D... more >>
Windows Legacy: Writing to a database in programs folder
Posted by Kai-Uwe Tillmann at 10/30/2007 5:47:12 PM
Hello,
in my opinion a program should never write to a database that exists in
the programs folder.
Am I right about that? Does Windows speak about that clearly, e. g. in a
legacy?
We have struggles here whether this is correct or not.
Thank you.
Kai-Uwe... more >>
Config Files
Posted by Mick Walker at 10/30/2007 3:15:28 PM
Hi All,
Does anyone know of any config file reader classes that I can implement
within my application. I am not attempting to read the current
applications config file, but other applications.
I need to be able to add sub nodes to existing nodes within the document.
I am not opposed to ... more >>
๑۩۞۩๑█ TAMIL SEX FREE LIVE๑۩۞۩๑█
Posted by at 10/30/2007 1:11:24 PM
CuC5kdup257bqeC5keKWiCBUQU1JTCAgU0VYICBGUkVFICBMSVZF4LmR26nbntup4LmR4paICgpO
T1QgICAgQklPVEVDSE5PTE9HRVkgT05MWSAgU0VYCgpGUkVFICBTRVggIExJVkUgIFNIT1cgIEZS
RUUKClJPTUFOQ0UgIFNFWCAgTElWRSAgSU5ESUFOICBTRVgKCgrguZHbqdue26nguZHiloggVEFN
SUwgIFNFWCAgRlJFRSAgTElWReC5kdup257bqeC5keKWiAoKCgogICBodHRwOi8vVE... more >>
Event Handler Fires Twice
Posted by Greg at 10/30/2007 11:37:01 AM
I'm using VB.Net 2005
I have a Base Form that has a button control on it named btnEnter. The event
handler for this control is shown below:
Overridable Sub btnEnter_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnEnter.Click
Do Something....
End Sub
The... more >>
VB.NET, Unit testing and .NET Framework book recommendation
Posted by gamesforums NO[at]SPAM hotmail.com at 10/30/2007 11:07:47 AM
Hi!
I've been programming in VB.Net and done testing with TypeMock and
MbUnit (Testdriven.net) for about 2months now at work. I can see that
my testing skills and particular my knowledge about the .NET
framework
is far too weak. Far to often I choose to implement custom stuff
that's already ... more >>
RGB Colors
Posted by Greg at 10/30/2007 9:42:00 AM
I'm using VB 2005.
When I select a color from the properties window for a control, it returns
an RGB color code (255,255,255). Now, when I attempt to assign a color in
code it is done using the COLOR.COLOROPTION value. How can I take an RGB
color set in the properties window and assign it ... more >>
Event's code runs to completion before another event's code is entered?
Posted by Academia at 10/30/2007 9:30:18 AM
If the user types into the TextBox of a combobox it works OK. But if he hold
a key down so the letter repeats quickly the code runs into trouble.
My questions are:
Is it true that an event's code is normally run to completion before another
event's code is entered (KeyUp in my case)?
If... more >>
Refresh forms
Posted by MikeS at 10/30/2007 9:27:02 AM
I have a question concerning closing and re-opening forms. When I open a
form and make changes or enter some data, then close the form and re-open it,
the same data/changes are still there. How can I re-open the form as though
it is the first time I have opened it? In other words, I want to... more >>
Declare Sub XXX Lib "X.dll" (Structure vs Class) ...
Posted by Joe HM at 10/30/2007 4:42:29 AM
Hello -
I have an Ada *.dll that is called from withing VB.NET. The following
works ...
Public Declare Sub XXX Lib "X.dll" (ByRef XArgument As XStructure)
<StructLayout(LayoutKind.Explicit)> _
Structure XStructure
<FieldOffset(0)> Dim A As Single
<FieldOffset(4)> Dim B As Singl... more >>
How to store/read listbox items in a text file line by line (with line break) ?
Posted by kimiraikkonen at 10/30/2007 3:36:27 AM
Hi,
I want to save all the item content of a listbox line by line into a
simple text file then recall them when my project is opened.
For example listbox1 contains:
That - item1
Group -item2
Is -item3
Really -item4
Good -item5
And the text file must be 1:1 same then i have... more >>
confirm in asp.net
Posted by Betina Andersen at 10/30/2007 12:00:00 AM
Hi
I am using vb in asp.net and I need to have a confirm in the middle of my
code(code-behind), but cannot get the confirm to display when I want it, but
it comes when my button has ended it code, any help appriciated.
Sub Button_Click
<code>
..
..
Dim scriptString As New StringBuilder... more >>
Problems on Vista
Posted by Dhananjay at 10/30/2007 12:00:00 AM
Hi All,
I have created one VSTo COM - addin for office 2007 in vb.net 2005. I
have seen that my code is not working if I access the
hkey_Classes_Root or hkey_local_machine through my code on windows
VISTA. My code is working fine on all OS except VISTA. I have access
to localmachine & classes_r... more >>
Visual Basic .NET 2005 Express edition installs Windows Installer 3.1 although it was installed before
Posted by kimiraikkonen at 10/30/2007 12:00:00 AM
Hi,
It may be a bit off-topic but i want to know:
I previously installe Windows Installer 3.1 and then decided to
install VB.NET 2005 but although Windows Installer 3.1 is present
before VB.NET 2005 installation, it installs Windows Installer 3.1
together (embedded) with VB.NET 2005 express.
... more >>
Registering DLL
Posted by at 10/29/2007 8:55:35 PM
I've got a nice little deadline here and have to deal with the dumbest
things possible to get it done. I had to create an application that
is spliced into another application via an event handler class. When
the original program sees the event handler is uses the handler's code
to execute my c... more >>
Setting the Text property to an empty string sets the SelectedIndex to -1
Posted by Academia at 10/29/2007 4:52:21 PM
I let the use modify the text of a combobox and then I replace the selected
item with the new text (in Keyup event).
But if he sets the Text property to an empty string ("") that sets the
SelectedIndex to -1.
Do you have any suggestion for getting around this problem?
Thanks
... more >>
Easiest was to send a String from one app to another??
Posted by M O J O at 10/29/2007 4:17:22 PM
Hi,
What is the easiest way to send a string from one application to another?
I'm develloping an OutlookAddIn and in some cases I need to make my
OutlookAddIn send a string to my other (CRM) application.
Any idea?
Thanks M O J O... more >>
Additional files not included when publish solution
Posted by Phil at 10/29/2007 3:44:24 PM
VB2005 Express.
I am developing a solution that involves a windows forms application and a
number of class library projects (DLLs). Some of the DLLs require extra data
files or third party dlls. I can include additional non-source files in my
projects, but these are not always automatically i... more >>
I heard there is some trick to referencing statics in VB.NET CLR stored procedure without having to mark the assembly as unsafe. Does anyone know this
Posted by DR at 10/29/2007 1:49:19 PM
I heard there is some trick to referencing statics in VB.NET CLR stored
procedure without having to mark the assembly as unsafe. Does anyone know
this? This is usefull as the case of needing a little static shared variable
here and there without having to compromise safety in the Sql Server 20... more >>
Deploy using a Third-Party Installer
Posted by AGP at 10/29/2007 12:58:25 PM
I resisted for many years but I've just written my first app in .NET2005
and am looking to deploy my app with a third-party installer. ClickOnce
and the VS Installer do not meed my needs and I am already well versed
in another installer.
My question is mainly dealing with deploying the app dep... more >>
Property Browser not displaying my Description attribute
Posted by Nathan Sokalski at 10/29/2007 12:37:29 PM
I have added Description attributes to several of my Control's Properties,
but they are not appearing in the Property Browser. Here is the declaration
of my Property:
<System.ComponentModel.Description("ID of the control that determines
whether validation will occur")> _
Public Property ... more >>
Absolute position
Posted by SolFrankRosen at 10/29/2007 11:13:01 AM
I'm trying to make a button on my form be in a fixed position, I used:
<asp:Button ID="butCancel" style="position:absolute"; runat="server"
Text="Cancel" />
but I get an error that this "is not well formed"
also is there a way in Visual Web Developer to have ALL new buttons,
textboxes, et... more >>
Disabled textbox (and richtextbox) coloring
Posted by ags5406 at 10/29/2007 10:51:44 AM
I've some textboxes and richtextboxes. I want to keep the user from
being able to modify the text that is displayed. So I've set them to
disabled.
But I don't want them to be grayed out. So I've set the forecolor to
black and the backcolor to white. The window is white but the text
shows ... more >>
Inline warning Supression
Posted by Sid Price at 10/29/2007 10:40:32 AM
Does VB.NET have any support for inline warning suppression like C#? I am
porting a project from VB.NET 2003 to VB.NET 2005 and I have a bunch of
warnings that after careful examination are benign. I would like to be able
to mark those lines of code so that the warnings to not appear. I do not... more >>
The way of creating a settings / config form?
Posted by kimiraikkonen at 10/29/2007 9:13:09 AM
Hello,
I want to implement a settings form to my project which consists of
some strings and simple codes thus the users will be allowed to have
their custom settings/profiles.
How can i make settings form in VB.NET and store/recall them?
Thanks...
... more >>
Programmatically adding a schedule?
Posted by Al G at 10/29/2007 8:36:13 AM
I need to add an item to windows scheduler, as part of an installation.
Is it possible? Can anyone point me to information on how to do it?
Thanks.
Al G
... more >>
How to get the current date/time stamp from a network computer?
Posted by trytobreak NO[at]SPAM gmail.com at 10/29/2007 7:46:23 AM
Hi All,
I am a network administrator in a fairly large software company and I
would like to write myself a small utility, which would connect (one
by one) to all machines on the network and get their current date and
time stamps.
This is mostly because of coming DST changes and having hundr... more >>
DataGridView Cell Previous Value
Posted by Roach at 10/29/2007 5:53:51 AM
VB.NET 2005 2.0 Framework application is using a DataGridView for SQL
data access and user data entry. As part of exception/error handling,
the app wants to advise the user when he/she enters a value into a DGV
field that is inappropriate; for example, an alpha character in a cell
containing an... more >>
Detect when a form opens
Posted by Steve at 10/29/2007 12:00:00 AM
Hi All
I have an on-screen keyboard within a POS program I have written in VB.net
2005, for touch screen computers
I have it set to 'always on top' so the user can move the cursor to
different text boxes and type using the on-screen keyboard
The keyboard launches via the mouseclick event ... more >>
Dataset to Custom Collection converter?
Posted by Simon Woods at 10/29/2007 12:00:00 AM
Hi
Does anyone know if there any dotnet software out there which converts a
dataset into a collection of custom objects, programmatically i.e.
actually creates the class structure and collection class on-the-fly
based on the fields in the dataset and then creates and populates the
classes... more >>
Slightly off topic
Posted by Jack Russell at 10/29/2007 12:00:00 AM
Does anyone know a newsgroup for general Vista discussions?
Thanks
Jack Russell... more >>
Vista run as adminstrator
Posted by Jack Russell at 10/29/2007 12:00:00 AM
Is there some way I can "debug as administrator" in the same way I can
run as administrator?
Thanks
Jack Russell... more >>
Processor details
Posted by Jack Russell at 10/29/2007 12:00:00 AM
Under XP the following code returns details of the system
moSearch = New Management.ManagementObjectSearcher("Select *
from Win32_Processor")
moReturn = moSearch.Get
For Each mo In moReturn
sCPManufacturer = mo("Manufacturer").ToSt... more >>
Administrator status
Posted by Jack Russell at 10/29/2007 12:00:00 AM
Under XP I used the following code
AppDomain.CurrentDomain.SetPrincipalPolicy(Security.Principal.PrincipalPolicy.WindowsPrincipal)
Dim MyPrincipal As
System.Security.Principal.WindowsPrincipal =
CType(System.Threading.Thread.CurrentPrincipal,
System.Security.Princip... more >>
MaskEditControl
Posted by inadsad NO[at]SPAM hotmail.com at 10/28/2007 10:53:49 PM
Good Day Group,
I have a MaskEdit control to show phone in (###)###-####. I'm
trying to extract number only from the maskedit
control. For example, maskedit shows this (123) 456-7890 and would
like to get only 1234567890 with out the space and chars. I tried
substring and would like to ... more >>
ListView.Items.Insert() bug?
Posted by Cat at 10/28/2007 10:25:59 PM
I used the sample drag and drop source of
http://support.microsoft.com/default.aspx/kb/822483
I set the View to SmallIcons, and AllowDrop to True
But the draggedItem wasn't inserted at the specified position.
Instead, it was always inserted at the last position.
So I set a break point, and ex... more >>
Twain scanner.
Posted by Shawn at 10/28/2007 8:27:17 PM
I have a need to use a twain scanner to get images for my application. I
found a good sample for C#.NET, but I'm having a hard time adapting it to
VB.NET. Does anyone know of a good place to look for sample code?
... more >>
|