|
-
Dec 7th, 2002, 05:04 PM
#1
Thread Starter
Hyperactive Member
best way to open and close form
What's the best and most efficient way to open and close a form?
Right now i use the form.visible property to open and close a form and then the form.dispose and application.exit methods to close the apps.
What would you recommend using for closing (and releasing a form from memory) and opening a form.
-
Dec 7th, 2002, 05:22 PM
#2
umm how about form.show and form.hide? dunno if it makes a big difference
application.exit will close all the forms, I THINK. I usually use form.close if I dont wanna end my program
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Dec 7th, 2002, 05:37 PM
#3
Thread Starter
Hyperactive Member
The problem with form.close is that when i try to open the form again, it gives me an error.
-
Dec 7th, 2002, 06:11 PM
#4
Originally posted by MXAlPhA
The problem with form.close is that when i try to open the form again, it gives me an error.
well I said you should use it when you wanna get rid of it. You can use frm.Hide if you dont want it to be unloaded
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Dec 7th, 2002, 07:19 PM
#5
Thread Starter
Hyperactive Member
what about releasing the form/application from memory? Does vb.net automatically do that for the most part?
-
Dec 7th, 2002, 07:49 PM
#6
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
|