Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

illegal operation error.

I'm getting an illegal operation error with my program when I click the exit button.  I do not get this error if I use the X at the top of the window.  For the exit buttons click event I have just the word end.  Any ideas?
0
dokken
Asked:
dokken
  • 2
1 Solution
 
deightonCommented:
Try

 Unload Me

instead of end


0
 
dokkenAuthor Commented:
Just tried Unload Me, still says it performed an illegal operation error.
0
 
dokkenAuthor Commented:
I'm using an OCX for popup buttons... I have 5 of them. 4 work perfectly doing other events, but from the test I just ran the 5 one - the exit button - gives me the illegal operation error. Is there any way to fix that?
0
 
kilobugsCommented:
When you click the "x" at the top of the window, you force the program to close instead of shutting down the program. i.e. the process(es) of the program is/are still running at background. Press Ctrl-Alt-Del and you will know. The process is still there. Perhaps you still have operation running when you want to quit??? Please check to see if any of your program interface(s) is/are active when you try to quit!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now