|
-
Aug 21st, 2003, 08:04 AM
#1
Thread Starter
Addicted Member
form that noit closing by press on X button
i have regular form in vb.net but i cant close it when i press on the X button it the control box - what is the reason for that????
-
Aug 21st, 2003, 08:08 AM
#2
Can you post all the code from your form (including the Windows Generated bit)? Also, post the code that loads and shows the form.
This world is not my home. I'm just passing through.
-
Aug 21st, 2003, 08:21 AM
#3
Thread Starter
Addicted Member
here is the code - and thnks for the fast response
thanks for the reply
i removed some files and compresses it as long as i can
the problem is with the frmCompanies.vb form
-
Aug 21st, 2003, 08:43 AM
#4
You'll need to at least include the resx files if I'm going to have a proper look at it.
My first guess, however, is that where you have this code in the Closing event an error occurs and the Closing event doesn't complete.
VB Code:
Me.MdiParent.MdiChildren(0).Enabled = True
You have frmCompanies set up as your start-up form, so it can't have an MdiParent - it should probably be an MDI parent.
This world is not my home. I'm just passing through.
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
|