Click to See Complete Forum and Search --> : Illegal operation


shree
March 18th, 2001, 02:42 AM
My program runs fine when run from the VB environment. While running the .EXE of the same program, it runs fine, but gives a "Illegal operation" message when the program quits. Any suggestions?

phil m
March 18th, 2001, 11:26 PM
does it say what the operation is?

Do you have the lines of code for that part of the program?

Have you used "end" instead of unload?

Are you using a timer - it could be that the timer is still functioning after a form is hidden. Sometimes this won't show up until an exe is made.

Just thoughts

Phil