|
-
Sep 25th, 2003, 11:01 AM
#1
Thread Starter
PowerPoster
Need help, getting wacky error.
Here is the error I am getting:
An unhandled exception of type 'System.OutOfMemoryException' occurred in system.windows.forms.dll
Additional information: Error creating window handle.
Ok, so I would think the system is out of memory or something. No, not it. I can open the other forms in the project. So now I think it has to do with the code some how in the form. I commented everything except the code needed to create the form in th Designer region.
Here is how I am creating the form:
Code:
Dim frmApprovalsSummary As New ApprovalsSummary
frmApprovalsSummary.MdiParent = Me.MdiParent
frmApprovalsSummary.Show()
Has anyone come accross this issue yet? What did you do to fix it.
-
Sep 25th, 2003, 11:30 AM
#2
This happened to me once but I forgot what I did to fix it. I either removed it from the project and added it again or something. So there is nothing in the form's constructor?
The samething happened to me while making a control because I had a method in an event that fired before I wanted it to thus causing an error during creation.
-
Sep 25th, 2003, 12:08 PM
#3
Thread Starter
PowerPoster
I figured it out. For some damn reason, you can't make your checkboxes.checked property = true in the form load. That was where it was choking at. I took those out of the load and it worked.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|