|
-
Nov 11th, 2003, 11:08 AM
#1
Thread Starter
Lively Member
Long Unload
I referenced SHDocVw.InternetExplorer. Now when I close my appy, it takes about 20 seconds to unload. I don't have any big close code or anything, and I don't want to try End because its not safe. Any suggestions?
Last edited by Danny J; Nov 11th, 2003 at 11:40 AM.
DannyJoumaa
Advanced VB6 Programmer
Intermediate-Advanced VB .NET Programmer
Intermediate C# Programmer
Intermediate Win32 Developer
Beginner Mac OS X Developer
Contact: [email protected]
Favorite Sayings:
"Every time you open your mouth, you prove your an idiot."
"God is a programmer. Satan is a bug. Life is debugging."
-
Nov 11th, 2003, 12:06 PM
#2
have you tried setting anything that relates to SHDocVw.InternetExplorer , to Nothing ? before unloading.
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Nov 11th, 2003, 12:16 PM
#3
Thread Starter
Lively Member
You mean like Form_Closing or Form_Closed? I tried, and even before the form would unload I would set it to nothing, but its still hangs when it closes.
DannyJoumaa
Advanced VB6 Programmer
Intermediate-Advanced VB .NET Programmer
Intermediate C# Programmer
Intermediate Win32 Developer
Beginner Mac OS X Developer
Contact: [email protected]
Favorite Sayings:
"Every time you open your mouth, you prove your an idiot."
"God is a programmer. Satan is a bug. Life is debugging."
-
Nov 11th, 2003, 12:50 PM
#4
Thread Starter
Lively Member
I dunno what to do. maybe I should try End
DannyJoumaa
Advanced VB6 Programmer
Intermediate-Advanced VB .NET Programmer
Intermediate C# Programmer
Intermediate Win32 Developer
Beginner Mac OS X Developer
Contact: [email protected]
Favorite Sayings:
"Every time you open your mouth, you prove your an idiot."
"God is a programmer. Satan is a bug. Life is debugging."
-
Nov 11th, 2003, 01:04 PM
#5
dont use " End " , it's pretty bad to do.
if you dont wish to use Close() , try Application.Exit()
by the way , are you using " Me.Close() "? because you could also try MyBase.Close() .
Me can sometimes refer to a particular control , rather than your form.
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Nov 11th, 2003, 02:53 PM
#6
Thread Starter
Lively Member
DannyJoumaa
Advanced VB6 Programmer
Intermediate-Advanced VB .NET Programmer
Intermediate C# Programmer
Intermediate Win32 Developer
Beginner Mac OS X Developer
Contact: [email protected]
Favorite Sayings:
"Every time you open your mouth, you prove your an idiot."
"God is a programmer. Satan is a bug. Life is debugging."
-
Nov 11th, 2003, 03:00 PM
#7
Thread Starter
Lively Member
The problem seems that when I use the New keyword on SHDocVw, it takes long. Without the New keyword, I will get "Object not set to an instance of an Object" Error. what to do....
DannyJoumaa
Advanced VB6 Programmer
Intermediate-Advanced VB .NET Programmer
Intermediate C# Programmer
Intermediate Win32 Developer
Beginner Mac OS X Developer
Contact: [email protected]
Favorite Sayings:
"Every time you open your mouth, you prove your an idiot."
"God is a programmer. Satan is a bug. Life is debugging."
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
|