
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.