U can use command function of vb to extract the
command line arguments passed to ur exe
ex:-
strcommandline = command()
--- jleung@m... wrote:
> Dear all,
>
> Is that possible to pass parameter directly from
> other application to VB
> app?
>
> i.e.
> DOS -> VB.exe (e.g. inside batch file --- c:\vb.exe
> "variable"
> VB1.exe -> VB2.exe (e.g. inside VB1.exe ---
> shell("c:\VB2.exe variable",1)
> etc.
>
> Any help would be appreciated!
> J
>
>
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com