Click here to Skip to main content
15,901,122 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: communication with I2C Adapter Pin
Dave Kreskowiak11-Aug-04 1:15
mveDave Kreskowiak11-Aug-04 1:15 
GeneralWord PrintPreview to Jpeg Pin
Anonymous5-Aug-04 14:26
Anonymous5-Aug-04 14:26 
GeneralRe: Word PrintPreview to Jpeg Pin
Dave Kreskowiak6-Aug-04 2:56
mveDave Kreskowiak6-Aug-04 2:56 
GeneralList Views containing Custom objects Pin
kowplunk5-Aug-04 10:00
kowplunk5-Aug-04 10:00 
GeneralRe: List Views containing Custom objects Pin
kowplunk5-Aug-04 15:45
kowplunk5-Aug-04 15:45 
GeneralGeneric Custom Data Source For Data Grid Pin
toddmo5-Aug-04 7:47
toddmo5-Aug-04 7:47 
Questionhow can I close .exe in multiple forms? Pin
Lisana5-Aug-04 4:59
Lisana5-Aug-04 4:59 
AnswerRe: how can I close .exe in multiple forms? Pin
Colin Angus Mackay5-Aug-04 6:05
Colin Angus Mackay5-Aug-04 6:05 
You can create an event handler for the Closing event which occurs when the user clicks the X in the top right corner but before the form is actually closed. The EventArgs for this particular event has a Cancelled property that can be set to true and from then you can implement your own behaviour. If you want to reopen the previous form you may not want to cancel the close event but just reopen the previous form and the application should continue running as there is an open form still.

Does this help?


"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!


GeneralRe: how can I close .exe in multiple forms? Pin
Lisana5-Aug-04 6:45
Lisana5-Aug-04 6:45 
GeneralRe: how can I close .exe in multiple forms? Pin
Lisana5-Aug-04 8:01
Lisana5-Aug-04 8:01 
GeneralRe: how can I close .exe in multiple forms? Pin
Colin Angus Mackay5-Aug-04 10:15
Colin Angus Mackay5-Aug-04 10:15 
GeneralRe: how can I close .exe in multiple forms? Pin
Lisana5-Aug-04 10:44
Lisana5-Aug-04 10:44 
GeneralRe: how can I close .exe in multiple forms? Pin
Colin Angus Mackay5-Aug-04 10:56
Colin Angus Mackay5-Aug-04 10:56 
GeneralRe: how can I close .exe in multiple forms? Pin
Lisana5-Aug-04 11:04
Lisana5-Aug-04 11:04 
GeneralRe: how can I close .exe in multiple forms? Pin
Colin Angus Mackay5-Aug-04 13:29
Colin Angus Mackay5-Aug-04 13:29 
Generalmore on environment variables Pin
madfiddlerchris5-Aug-04 4:18
madfiddlerchris5-Aug-04 4:18 
GeneralRe: more on environment variables Pin
Dave Kreskowiak5-Aug-04 7:29
mveDave Kreskowiak5-Aug-04 7:29 
GeneralRe: more on environment variables Pin
madfiddlerchris25-Aug-04 0:31
madfiddlerchris25-Aug-04 0:31 
GeneralRe: more on environment variables Pin
Dave Kreskowiak26-Aug-04 1:33
mveDave Kreskowiak26-Aug-04 1:33 
GeneralRe: more on environment variables Pin
madfiddlerchris26-Aug-04 2:10
madfiddlerchris26-Aug-04 2:10 
GeneralRe: more on environment variables Pin
Dave Kreskowiak27-Aug-04 17:56
mveDave Kreskowiak27-Aug-04 17:56 
GeneralRemoving Flicker in an scrolling image Pin
VVision5-Aug-04 3:48
VVision5-Aug-04 3:48 
GeneralRe: Removing Flicker in an scrolling image Pin
Gary Shel18-Aug-04 12:07
Gary Shel18-Aug-04 12:07 
GeneralUnspecified Error using .NET System.DirectoryServices on Windows NT Pin
Rahsas5-Aug-04 3:20
Rahsas5-Aug-04 3:20 
GeneralRe: Unspecified Error using .NET System.DirectoryServices on Windows NT Pin
Rahsas5-Aug-04 8:51
Rahsas5-Aug-04 8:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.