Hi Aaron,
I did as you recommended and made a mutex, it works
fine - it would only allow one instance of the app to
open and also only one window to open.
I checked the Language FReference and an example of an
"IPCSocket Class" was given. I did it.
In IPCSocket 1/connected I added this , to test it:
msgbox "connection made"
When I try to open two documents the message
"connecrion made" comes up, so I know that it is
working.
What would be great now is if on double-clicking on
the second document's icon (of the same app);
a)if it is the already opened document, don't open
another window but bring that window frontmost, or
b) if it is a different document (of the same app)then
also open that document in another window, and bring
that window frontmost.
How do I implement that?
Any help would be appreciated.
Lennox.
__________________________________
Discover Yahoo!
Find restaurants, movies, travel and more fun for the weekend. Check it out!
http://discover.yahoo.com/weekend.html
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|