-
May 17th, 2008, 12:17 PM
#1
How do I?
Open Program A.
Shell to Program B. Select parameter.
Receive parameter in Program A and close Program B
continue Program A
Thanks
Cathy
Cathy
Jan 2004 - NEWBIE to VB6
Any and all help appreciated
-
May 17th, 2008, 12:24 PM
#2
Re: How do I?
That doesn't help. Explain what you mean, what you have tried already, and finally, the part that you are stuck with. We don't write apps for people
-
May 17th, 2008, 03:10 PM
#3
Re: How do I?
You can shell to the program using the shell statement. Parameters can be passed as part of the command sent to the shell. The calling program can be terminated afterward just the same as any program.
The program you have shelled to can receive the command line parameters in the Command$ variable. Assuming of course that the program you are calling is one that you are writing in VB as well.
-
May 17th, 2008, 04:02 PM
#4
Re: How do I?
Unless they are both written by him/her. Then you could pass common variables.
-
May 17th, 2008, 08:11 PM
#5
Re: How do I?
Well, it is written by me/her. But you know, I don't want to screw up. I will post my code but for the .... of it, I forgot to make the marks before and after the code.
I.E I thought
[code]
...
[codeend]
But that doesnt' work
So, I'll just wait and have dglienna write it for me.
Thanks
Cathy
Cathy
Jan 2004 - NEWBIE to VB6
Any and all help appreciated
-
May 17th, 2008, 08:47 PM
#6
Re: How do I?
whatever tag you start, you end with a slash
Code:
' this is your code! enjoy
]code[
like this almost
]/code[
-
May 18th, 2008, 08:55 AM
#7
Re: How do I?
Cathy,
Take a look at this sample, it uses GetExitCodeprocess API to check the return value.
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
|