|
-
Jan 22nd, 2008, 01:26 PM
#1
Re: [2005] Single Instance Application
nbrege, that only works when you checkoff the "Single Instance Application" checkbox in the project, which is exactly what I can not do because of the mentioned bug. StartupNextInstance is a product of TCP remoting and the single instance application framework.
-
Jan 22nd, 2008, 03:44 PM
#2
Fanatic Member
Re: [2005] Single Instance Application
How about this? In your Sub Main, get the current list of processes running on that machine, if your application is in there then bring that app to the forefront and call the close on the current instance.
Untested, but my random thought for the day.....and you help me so much I figure I should at least throw my 2 cents at ya!!!
Good Luck!
D
Platforms of choice: Visual Studio 2005/2008 Professional : Visual Studio 2010 Enterprise : PHP - Notepad++/WAMP
Please Rate If I helped you. 
Please remember to mark threads as closed if your issue has been resolved.
Reserved Words in Access | Connection Strings
-
Jan 22nd, 2008, 06:10 PM
#3
Re: [2005] Single Instance Application
 Originally Posted by dminder
How about this? In your Sub Main, get the current list of processes running on that machine, if your application is in there then bring that app to the forefront and call the close on the current instance.
Untested, but my random thought for the day.....and you help me so much I figure I should at least throw my 2 cents at ya!!!
Good Luck!
D
Sure, but if you check my post again, the problem I am stuck on is #4, what you are talking about is #1-3 which I already have resolved.
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
|