Newbie - using parameter passed to vb exe 
Author Message
 Newbie - using parameter passed to vb exe

I'm trying to write a VB program that will be called from another
program (let's say X). According to its manual, X will pass a parameter
to my program. However the manual doesn't mention a name for this
parameter.

How do I introduce this parameter in my code - is there some standard
name, or should I define it myself? Where should I make the necessary
declerations?

Thanks,
Renate.



Sat, 31 Aug 2002 03:00:00 GMT  
 Newbie - using parameter passed to vb exe
Hi,

Is the parameter passed as a command switch ?

Check the System Variable 'command' this is the command line.

i.e. if you called a program called test with a command parameter 'Hello'

Quote:
>test Hello

VB's command =Hello

Regards,
Mark



Quote:
> I'm trying to write a VB program that will be called from another
> program (let's say X). According to its manual, X will pass a parameter
> to my program. However the manual doesn't mention a name for this
> parameter.

> How do I introduce this parameter in my code - is there some standard
> name, or should I define it myself? Where should I make the necessary
> declerations?

> Thanks,
> Renate.



Sat, 31 Aug 2002 03:00:00 GMT  
 Newbie - using parameter passed to vb exe
Thanks for answering, Mark.
As you suggested I could simply use Command as a parameter.
I've got my 'programette' up and running now.

Renate.



Sun, 01 Sep 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Passing Parameters to stored parameter queries using VB 5's Data Controls

2. How to pass parameter from exe to other exe

3. Passing Parameters to a VB .exe

4. Passing a parameter to a VB exe

5. Passing Parameters into a Vb EXE on startup

6. Passing Parameters to a VB App (exe, not dll)

7. Passing parameters to VB when a exe loads

8. Help Passing Parameters to VB .exe application

9. Passing parameters to SQLServer using a Pass-Through query

10. passing parameter using VB

11. using VB app for passing parameters to CR 8

12. Help with parameter passing using vb 5.0

 

 
Powered by phpBB® Forum Software