|
-
Nov 7th, 2001, 08:25 AM
#1
Thread Starter
New Member
Prevent new application instances from loading
hi all,
Just a short question....
I have an application that has collections (sessions) of objects and I want every time that the user tries to load another instance of the application (clicks on the *.exe file) not to be able to do so, but on the contrary to bring on top the open instance and perform some action with that (create new session and add it to the collection).
I know how to check if there is another instance open and bring it on top, but I don't know how to perform some actions with this instance (run some of its code).
Any IDEAS?>>>
ThnX in advance!
Chris
Last edited by bourlis; Nov 7th, 2001 at 08:57 AM.
-
Nov 7th, 2001, 08:29 AM
#2
Fanatic Member
This checks for same program...
VB Code:
If App.PrevInstance Then
'Display message
End 'Terminate the application
End If
-
Nov 7th, 2001, 08:38 AM
#3
Thread Starter
New Member
Ok,
but is there possible to send a message (before terminate the new instance) to the other (open) instance in order to perform some actions like execute some functions, create some new objects and so on?
Thanx
-
Nov 7th, 2001, 08:41 AM
#4
New Member
Changing the font size of the menu
Hi All,
How can we change the font size of the menu?
TIA,
kalpana
-
Nov 7th, 2001, 08:43 AM
#5
kalpana: I would suggest that you create your own thread for your question.
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
|