Home All Groups Group Topic Archive Search About

word hyperlink + command line args

Author
14 Oct 2005 4:37 PM
Bala
Hi

I have the hyperlink on my word doc, it will point to my exe (created by
vb6).
Is it possible to pass command line arugment from word document hyperlink?

Thanks
bala

Author
14 Oct 2005 6:24 PM
MikeD
"Bala" <B***@discussions.microsoft.com> wrote in message
news:55924A89-5850-49DB-8509-580A96B909C6@microsoft.com...
> Hi
>
> I have the hyperlink on my word doc, it will point to my exe (created by
> vb6).
> Is it possible to pass command line arugment from word document hyperlink?

Probably best to ask this in a Word newsgroup as that seems more appropriate
to the issue.

--
Mike
Microsoft MVP Visual Basic
Author
14 Oct 2005 9:05 PM
Ralph
"Bala" <B***@discussions.microsoft.com> wrote in message
news:55924A89-5850-49DB-8509-580A96B909C6@microsoft.com...
> Hi
>
> I have the hyperlink on my word doc, it will point to my exe (created by
> vb6).
> Is it possible to pass command line arugment from word document hyperlink?
>
> Thanks
> bala
>

MikeD is correct, a Word newsgroup would be better.

Place the arguments in the "filename" field:
"To run my program on somefile.txt: Click { HYPERLINK "C:\\MyProgram
somefile.txt" }"

-ralph
Author
14 Oct 2005 9:17 PM
Bala
Thanks for the reply. I already tried with word group. I didnt get any
answer. thats the reason I posted here.

bala



Show quoteHide quote
"Ralph" wrote:

>
> "Bala" <B***@discussions.microsoft.com> wrote in message
> news:55924A89-5850-49DB-8509-580A96B909C6@microsoft.com...
> > Hi
> >
> > I have the hyperlink on my word doc, it will point to my exe (created by
> > vb6).
> > Is it possible to pass command line arugment from word document hyperlink?
> >
> > Thanks
> > bala
> >
>
> MikeD is correct, a Word newsgroup would be better.
>
> Place the arguments in the "filename" field:
> "To run my program on somefile.txt: Click { HYPERLINK "C:\\MyProgram
> somefile.txt" }"
>
> -ralph
>
>
>
Author
14 Oct 2005 10:14 PM
Ralph
Show quote Hide quote
"Bala" <B***@discussions.microsoft.com> wrote in message
news:683B257B-26A4-431C-A457-55D41B3C9612@microsoft.com...
> Thanks for the reply. I already tried with word group. I didnt get any
> answer. thats the reason I posted here.
>
> bala
>
>
>
> "Ralph" wrote:
>
> >
> > "Bala" <B***@discussions.microsoft.com> wrote in message
> > news:55924A89-5850-49DB-8509-580A96B909C6@microsoft.com...
> > > Hi
> > >
> > > I have the hyperlink on my word doc, it will point to my exe (created
by
> > > vb6).
> > > Is it possible to pass command line arugment from word document
hyperlink?
> > >
> > > Thanks
> > > bala
> > >
> >
> > MikeD is correct, a Word newsgroup would be better.
> >
> > Place the arguments in the "filename" field:
> > "To run my program on somefile.txt: Click { HYPERLINK "C:\\MyProgram
> > somefile.txt" }"
> >
> > -ralph
> >

Note: About the Word and other Office newsgroups.
Some do tend to be slow in replying, but the answer you will eventually get
is usually quite comprehensive. (Far fewer tolls in these groups. <g>)
For your type of question the following are good groups:
microsoft.public.word.vba.beginners
microsoft.public.word.vba.general
microsoft.public.word.newusers
microsoft.public.word.docmanagement

Always make sure you mention the Office Version with any question.

Doing a Google newsgroup search on these four will usually answer about 90%
of any questions you may have.

Also pay attention to the URLs in the signatures of the more frequent
responders. They usually are trainers or Word enthusiasts with good websites
that offer a lot of indepth information and articles.

If you work with Word much you will want to add these to your favorites, as
there are few good intermediate-to-expert books on Word. (Only two IMHO and
one is out of print.) The web and Google will be your friend. <g>

hth
-ralph