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

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]
 
D

diarmuidq

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

Gulf Coast Electric

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
 
A

Albert D. Kallal

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top