Results 1 to 6 of 6

Thread: Resolved disposing problem

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2004
    Posts
    5

    Resolved disposing problem

    Hello.

    I'm having difficulty ending a program. When I try to end from the main form everything is fine, but if I can't get the program to properly end from a second open form. With all the ways of ending a program that I know I always get the following error:

    An unhandled exception of type 'System.ObjectDisposedException' occurred in system.windows.forms.dll

    Additional information: Cannot access a disposed object named "ListBox".

    I don't have any objects named "ListBox." I have one listbox on the secondary form named "lbxRecentFiles," but I'm not trying to access it on exit. Any ideas?
    Last edited by micned; Jul 7th, 2004 at 09:56 AM.

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