I am working with VB 6.0 and I am pretty new at this, so any help will be appreciated.
I have created a VB application (call it app #1) that takes in command-line parameters. App #1 does it's calculations and I want this to be called by another VB application (call it app #2). Both do not require any forms (all is done in sub main()).
I have two questions:
1. How would I call VB app #1 with command-line parameters from within VB app #2? (can I do this without using shell?)
2. How does one return a value in an application? (i.e. I want VB app #1 to return an integer).
If you need more details, let me know and I'll post another message.
Any help is greatly appreciated. Thanks
I have created a VB application (call it app #1) that takes in command-line parameters. App #1 does it's calculations and I want this to be called by another VB application (call it app #2). Both do not require any forms (all is done in sub main()).
I have two questions:
1. How would I call VB app #1 with command-line parameters from within VB app #2? (can I do this without using shell?)
2. How does one return a value in an application? (i.e. I want VB app #1 to return an integer).
If you need more details, let me know and I'll post another message.
Any help is greatly appreciated. Thanks