|
-
Jan 28th, 2003, 04:26 PM
#1
Thread Starter
Hyperactive Member
Command-Line Question?
Hi all,
Can anyone help me out with this. My program can open files from the command line, or more like myprogram.exe path and if command <> "" then it tries to load the file.
The problem is that, if my program is opened already, how can I send the command to the already open program and where does it go, eg. does my already open program start off again at form_initialize.
Thank you in advance
-
Jan 28th, 2003, 04:29 PM
#2
Let me in ..
do you want to open another program if it is already opened ??
if not you could always check in your program
VB Code:
If App.PrevInstance = True Then End
-
Jan 28th, 2003, 04:32 PM
#3
I've made a couple of posts on this subject, using an ActiveX EXE to share information between instances of the same application.
Here's a link to one of them
-
Jan 29th, 2003, 06:28 AM
#4
Let me in ..
Originally posted by Aaron Young
I've made a couple of posts on this subject, using an ActiveX EXE to share information between instances of the same application.
Here's a link to one of them
Oh, i misunderstood the question.
You could use DDE to send information between two applications.
Search for DDE example on www.pscode.com/vb
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
|