|
-
Dec 6th, 2000, 03:26 PM
#1
Thread Starter
Hyperactive Member
Win95/98
When some application performs an illegal operation, it brings up funny dialog with a red cross on it. You have two ways what to do - a 'Close' button and a 'Details' button, which slighty informs you about the error.
You have one choice more. Run MS Spy++ and look for this dialog. You will three buttons, the 'Debug' one isn't visible. 
Now run VB, and use ShowWindow & EnableWindow API to show up this button. It will be minimized on the form. Double-click it (or send a message to it) to get the standard button appearance. Save any other work and press it. Risible, isn't it?
OK. Why do you think Microsoft included this button to the form but didn't allowed it?
PS1: I don't know what about WinNT.
PS2: I don't know exactly button names because of my non-english Windows.
Johnny
-
Dec 6th, 2000, 03:52 PM
#2
Hyperactive Member
If you install MS Visual C++ this button shows up. It dumps the code that caused the error into VC. Its mainly used for developers debugging huge programs, then it crashes and they don't know why. Nice feature actually.
-
Dec 12th, 2000, 03:03 PM
#3
Thread Starter
Hyperactive Member
I have MS VisualStudio installed and the button remained hidden.
I tried to make some VB-program in VS, but I saw how VB is different from VS. Have I to obtain VC, if I would like to use all of its advantages?
-
Dec 13th, 2000, 03:46 AM
#4
Hyperactive Member
If you have VS 5 or 6, installing VC will automatically enable this option. You ask if you have to obtain VC, it should come with your package of VS.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|