all groups > vb.net > march 2007 > threads for monday march 12
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
Does it make sense in FormClosed to do Me.Dispose
Posted by active at 3/12/2007 10:47:10 PM
In the main program I check to see if a certain form has been disposed.
Does it make sense in that form's FormClosed event to do:
Me.Dispose to make sure it is disposed the next time I check.
Or is that automatic?
Thanks
... more >>
Bring Another Application To Front?
Posted by Octavius Khan at 3/12/2007 7:21:23 PM
I have an application that runs in the system tray and I use global hotkeys
to perform functions. When certain hotkeys are pressed, my system tray
application may display a message box and sometimes a balloontip, but then
focus is taken away from the application the user is using when this
... more >>
Plugin Software Components
Posted by Jon at 3/12/2007 6:31:33 PM
I once read a pretty good article using VB 6 on how to design a framework using MDI forms and ActiveX controls to display different documents. It was a pretty good tutorial and I have been looking for something similar for VB.NET. What I am trying to do is code a framework and by adding different co... more >>
Printing using the print dialog control in vb.net 2005
Posted by Brad Pears at 3/12/2007 5:21:55 PM
I have some sample code that uses the print dialog, print preview and a
print direct options.
If I select print preview and then click the printer icon from that, the
document prints. If I select the print directly option, it also prints right
away to the defauilt printer.
However, if I ... more >>
Problems Manipulating StringBuilder Output
Posted by pbd22 at 3/12/2007 5:12:38 PM
Hi.
I have an event handler in VB.NET that gets called several times.
The output of the event handler is XML that is being called by
an xmlhttp request from the client.
I am using a stringbuilder to create an XML document every time
the event handler gets fired. Each tag is appended like so... more >>
JPEG et RTF
Posted by Thierry at 3/12/2007 3:27:47 PM
Hi all,
I'm programming a Knowledge Base application (VB 2005, Framework 2.0).
I integrated a RichTextBox control so I can insert pictures. The problem now
is the size of the saved document ! Images are stored under the BMP format.
Is there a way to store the images under a smaller format (... more >>
Strange datagridview behavior
Posted by Connectcase at 3/12/2007 2:05:26 PM
I created a dataset from a access database without any problem.
Dropped it on my form, which created the BindingSource, the Table
Adapter and the BindingNavigator.
So far, so good. I can now edit, add and delete records and save them
by pressing the Update button.
However, I'm working on an... more >>
draw line chart in VB 2005
Posted by martin1 at 3/12/2007 1:41:31 PM
Hi, All,
I want to draw line chart on the web using visual basic 2005, vb 2005
doesn't have chart components, so can anyone point out where I can start
working this?
Thanks,
Ma... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Index out of bounds error -- how to trap?
Posted by Rich at 3/12/2007 1:32:05 PM
Greetings,
Dim dr as datarow
dr = ds.Table("tbl1").Select("RowID = " & txt1.Text")
If dr("RowID").ToString.Equals("123") Then...
if the RowID in txt1.Text does not exist in "tbl1" then I get the index out
of bounds error -- dr did not get a row - a row with that RowID does not
exist. ... more >>
Need to be notified if files are changed - How to do this
Posted by active at 3/12/2007 10:07:42 AM
I think I saw something once that made me think a program could get notified
if a file changes.
I'm not sure if the notification occurs if anything in the file system
changes or if it is more selective.
I've been searching the VS2005 doc but can't find anything.
In any event, is there a... more >>
vb.2005 window app run Window 2003?
Posted by martin1 at 3/12/2007 9:54:12 AM
Hi, All,
vb.2005 window app runs on window HP, but doesn't run on the window 2003,
does anyone know any clue?
Thanks,
Martin
... more >>
String formating issue with doubles
Posted by Jeremy Kitchen at 3/12/2007 9:27:11 AM
Private mFormat As String = "##.##"
Return DirectCast(value, Double).ToString(mFormat) returns "" when
value is 0.0
I would prefer that it return "0". Does anyone have some advice?
Thanks for any help
Jeremy Kitchen
... more >>
specify length of a string variable
Posted by shawrie at 3/12/2007 8:16:31 AM
Hello everyone can anyone please help me?
I basically want to set the length of a string variable to help
spacing my simple report out.
i tried
dim test as string(14)
but it didnt like that
Shawrie
... more >>
Datagridview Add row when databound
Posted by twq NO[at]SPAM hispeed.ch at 3/12/2007 7:10:15 AM
hello
I have a datagridview in which one column is a datagridCombobox Column
which is data bound, in the second column the user is allowed to
enter what ever he wants, and i want the user to add rows via a
context menu only, i get an error message that rows can not be
programmatically added ... more >>
PK auto increment on sgdb access
Posted by JO at 3/12/2007 12:00:00 AM
hello,
how could i make to know if my column PK on access is auto increment.
with .net i use
Dim dtLstKP As DataTable =
MyConn.GetOleDbSchemaTable(OleDbSchemaGuid.Primary_Keys, New Object()
{Nothing, Nothing, strNomTable})
thx
bonjour
comment puis je savoir si la cle primai... more >>
image and notifyicon problem
Posted by JR at 3/12/2007 12:00:00 AM
Hi,
I need to change the notifyicon in a countdown. after about 3000-5000 times
there is an error.
Here is all the code. what is wrong
please help
the code needs only an notifyicon and an imagelist the timer is for changing
the icon
Jan
'start code--------------------------... more >>
No internet connection but DB connects!!!
Posted by Anil Gupte at 3/12/2007 12:00:00 AM
I have the following class that I am using to manage my database
interactions. I disconnected my PC from the Net (disabled my connection in
Network properties). Interestingly the call to Function SetDBconnect
worked - even though I was not connected to the IP address. However, the
ConnL3Pr... more >>
|