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?
Printable View
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?
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