Home All Groups Group Topic Archive Search About

Launch VB App with Arguments via Hyperlink

Author
6 Mar 2006 9:02 PM
Dave Y in Knoxville
I have a VB application that has command-line arguments that I would like
to launch via a hyperlink that is emailed to the user.

If I use the syntax of "\\server\path\app.exe arg1,arg2" the link breaks
at the space and executes the app without the arguments.

If I use the syntax of "\\server\path\app.exe?arg1,arg2" the link stays
intact, but when I use the Command function to retrieve the arguments,
none appear.

Any ideas?

Thanks,
Dave

Author
7 Mar 2006 12:09 AM
dNagel
"""\\server\path\app.exe arg1,arg2"""

D?



Dave Y in Knoxville wrote:
Show quoteHide quote
> I have a VB application that has command-line arguments that I would like
> to launch via a hyperlink that is emailed to the user.
>
> If I use the syntax of "\\server\path\app.exe arg1,arg2" the link breaks
> at the space and executes the app without the arguments.
>
> If I use the syntax of "\\server\path\app.exe?arg1,arg2" the link stays
> intact, but when I use the Command function to retrieve the arguments,
> none appear.
>
> Any ideas?
>
> Thanks,
> Dave
>
>
Author
7 Mar 2006 1:13 AM
Larry Serflaten
"dNagel" <NOTGrandNa***@NotMail.com> wrote
> """\\server\path\app.exe arg1,arg2"""
>

How about:

"\\server\path\app.exe%20arg1,arg2"

Where all spaces are replaced with %20 ....

???
LFS
Author
7 Mar 2006 2:01 PM
Dave Y in Knoxville
When I try the extra quotes, the link still breaks on the space.

When I try %20 instead of the space, the link gets interpreted as
"file://gfcms008/MISCAPPS/osarf/osarf.exe%2520A,92"



Show quoteHide quote
"Larry Serflaten" wrote:

>
> "dNagel" <NOTGrandNa***@NotMail.com> wrote
> > """\\server\path\app.exe arg1,arg2"""
> >
>
> How about:
>
> "\\server\path\app.exe%20arg1,arg2"
>
> Where all spaces are replaced with %20 ....
>
> ???
> LFS
>
>
>