CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 1999
    Location
    Nepal
    Posts
    540

    Illegal operation

    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?


  2. #2
    Join Date
    Nov 2000
    Location
    Tokyo and Memphis
    Posts
    238

    Re: Illegal operation

    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



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured