• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 527
  • Last Modified:

WondowsFormsParkingWindow - Application Error When Application Ends

My VB.NET(1.1) application is Simple Library Management.
I used Janus( www.janusys.com) Windows Controls on it.
When i call End statement from Mainmenu in MDI ,the application is giving following error.

WindowsFormsParkingWindow - Library.exe Application Error
The exception unkown software exception(0xc0020001) occured in the application at location ......
Click on OK to terminate the program.

i write following code at mnuExit_Click

For Each f as Form In Me.MdiChildren
     f.Close
Next
GC.Collect()
GC.WaitForPendingFinalizers()
End

How i can solve this problem?
0
Praveen Kumar
Asked:
Praveen Kumar
1 Solution
 
AlexFMCommented:
Try this:

For Each f as Form In Me.MdiChildren
     f.Close
Next

Me.Close

Or only:

Me.Close

What result do you have?
0
 
Praveen KumarArchitectAuthor Commented:
Same problem.

Some more info for you:
I am developing in Windows 2000 server, in development environment it is just fine. But when i deploy(XCOPY) it to Windows XP system for testing purpos , problem starting.


0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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