Turn Of Warnings Globally, i.e. No Debug Window

  • Thread starter Thread starter Dave Elliott
  • Start date Start date
D

Dave Elliott

I do not want the debug window or any other warnings to show unless I
purposely make them showup.
Is this possible?

Thanks,
Dave

--


---------------------------------------------------------------------
This email and any files transmitted with it from Dave Elliott are
confidential and intended solely for the
use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the
sender.
All Mail is pre-scanned with Norton Antivirus 2004 for your protection.

http://[email protected]
 
Well you could make an mde. That way the code and debug windows remains
hidden. But really what you should have is proper error handling. If you
create and mde, and have an unhandled error, the program will close.
 
How then can I set up proper error handling?

--
-------------------------------------------------------------------------
This email and any files transmitted with it from Gulf Coast Electric are
confidential and intended solely for the
use of the individual or entity to which they are addressed.
If you have received this email in error please notify the
sender.
All Mail is pre-scanned with Norton Antivirus 2004 for your protection.
FIGHT BACK AGAINST SPAM!

http://mail.giantcompany.com
 
You have to set error handling for every single piece of code (function, or
sub) that your write. If you don't handle an error, then all global vars are
re-set.

However, if you use a mde, then the global vars do keep their values.

So, the answer remains the same:

write error handling for each routine, or use a mde.

You can get some examples of error handling code by looking at any of the
code that the wizard writes, as in most cases it does also add the error
code.
 
Back
Top