Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

illegal operation error.

Posted on 1998-08-03
4
Medium Priority
?
189 Views
Last Modified: 2010-05-03
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
Comment
Question by:dokken
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
deighton earned 20 total points
ID: 1467626
Try

 Unload Me

instead of end


0
 

Author Comment

by:dokken
ID: 1467627
Just tried Unload Me, still says it performed an illegal operation error.
0
 

Author Comment

by:dokken
ID: 1467628
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
 

Expert Comment

by:kilobugs
ID: 1467629
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question