|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Launch VB App with Arguments via HyperlinkI 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 """\\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 > > "dNagel" <NOTGrandNa***@NotMail.com> wrote How about:> """\\server\path\app.exe arg1,arg2""" > "\\server\path\app.exe%20arg1,arg2" Where all spaces are replaced with %20 .... ??? LFS 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 > > > |
|||||||||||||||||||||||