Click here to Skip to main content
15,919,613 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralTAB CONTROLS Pin
len_ems19-Feb-04 17:28
len_ems19-Feb-04 17:28 
GeneralRe: TAB CONTROLS Pin
Dave Kreskowiak22-Feb-04 16:36
mveDave Kreskowiak22-Feb-04 16:36 
GeneralRe: TAB CONTROLS Pin
Anonymous23-Feb-04 23:23
Anonymous23-Feb-04 23:23 
GeneralRe: TAB CONTROLS Pin
Dave Kreskowiak24-Feb-04 6:14
mveDave Kreskowiak24-Feb-04 6:14 
GeneralAdding PageBreak in Excel Pin
nvmoss19-Feb-04 11:15
nvmoss19-Feb-04 11:15 
GeneralGlobal Error Handler Pin
kingspawn19-Feb-04 8:09
kingspawn19-Feb-04 8:09 
GeneralRe: Global Error Handler Pin
John Kuhn19-Feb-04 14:11
John Kuhn19-Feb-04 14:11 
GeneralRe: Global Error Handler Pin
SimonCampbell20-Feb-04 2:03
SimonCampbell20-Feb-04 2:03 
I have a simple class which does all this for you.

When your program initialises, you do this:

If (Not System.Diagnostics.Debugger.IsAttached) Then<br />
        ExceptionManager.Instance().AppName = "YourAppNameHere"<br />
End If


The class then pops up a dialog when an exception occurs, showing the stack-trace, error message, etc, and on closing that dialog, a new instance of the program can optionally be started.

You don't have to have the Debugger.IsAttached test, but it means that the exception handler won't pop up if you are debugging in the IDE.

Let me know if it sounds like what you need.
GeneralRe: Global Error Handler Pin
John Kuhn20-Feb-04 7:52
John Kuhn20-Feb-04 7:52 
GeneralRe: Global Error Handler Pin
kingspawn20-Feb-04 9:57
kingspawn20-Feb-04 9:57 
GeneralCryptoAPI Pin
Mazdak19-Feb-04 5:08
Mazdak19-Feb-04 5:08 
GeneralRe: CryptoAPI Pin
Mike Ellison19-Feb-04 14:28
Mike Ellison19-Feb-04 14:28 
GeneralRe: CryptoAPI Pin
Mazdak20-Feb-04 0:50
Mazdak20-Feb-04 0:50 
GeneralStrong Namad Assemblies / Versioning Pin
Member 61613918-Feb-04 23:40
Member 61613918-Feb-04 23:40 
GeneralSending mail using default mail client in VB Pin
KiranGrover18-Feb-04 20:30
KiranGrover18-Feb-04 20:30 
GeneralRe: Sending mail using default mail client in VB Pin
John Kuhn18-Feb-04 20:40
John Kuhn18-Feb-04 20:40 
GeneralMap network drives--Plzz replyy Pin
radhika8118-Feb-04 18:20
radhika8118-Feb-04 18:20 
GeneralRe: Map network drives--Plzz replyy Pin
Pugman81218-Feb-04 19:09
Pugman81218-Feb-04 19:09 
GeneralRandom numbers and letters Pin
aahmad7618-Feb-04 16:33
aahmad7618-Feb-04 16:33 
GeneralRe: Random numbers and letters Pin
Nadroj18-Feb-04 18:24
Nadroj18-Feb-04 18:24 
GeneralRe: Random numbers and letters Pin
aahmad7619-Feb-04 10:57
aahmad7619-Feb-04 10:57 
GeneralRe: Random numbers and letters Pin
Nadroj19-Feb-04 13:37
Nadroj19-Feb-04 13:37 
GeneralVB.NET read XSD from embedded resource Pin
mpalmer7818-Feb-04 9:40
mpalmer7818-Feb-04 9:40 
GeneralRe: VB.NET read XSD from embedded resource Pin
Mike Ellison19-Feb-04 6:21
Mike Ellison19-Feb-04 6:21 
GeneralPassing data from datagrid to Dataset Pin
Danny van der Walt18-Feb-04 9:17
Danny van der Walt18-Feb-04 9:17 

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.