|
-
April 4th, 2001, 03:50 AM
#1
Previnstance preperty is true afte unloading the App.
My application is an Activex Exe developed using VB6
When i am trying to unload and reload the application immedeately. The App.previnstance property is set to true sometimes. As a result My app becomes very slow. I get this problem in
Win2000 prefessional and sometimes in win2000 server
If i wait for 2- 3 min after unloading then the there is no problem it works fine.
Thank you in advance for the possible solutions.
-
April 4th, 2001, 07:21 AM
#2
Re: Previnstance preperty is true afte unloading the App.
If your program involves Databases, or some long running process, the close process for these databases, etc. may be still running even though your application has terminated. The close process for the database(s) is associated with your application. Hence your application will still be "running" even though the .exe file is completed.
John G
-
April 4th, 2001, 11:06 PM
#3
Re: Previnstance preperty is true afte unloading the App.
Thank you the help.
It is a database application where some forms uses ADO connection and rest uses DAO connection. The app is quite big in where we refer around 20 DLL's and at any point of time we are holding 3 -5 persistent connection with the database.
Is there is any way using API calls to detect the unwanted usage of connections and usage of other dlls?
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
|