-
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
-
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.
-
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?
-
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.