🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Mick Thu, 05 Jun 1997 00:00
How do I determine where Word resides (ie. path name) within VB5
#756
Author: Mick
Date: Thu, 05 Jun 1997 00:00
12 lines
1500 bytes
I need to use Word within VB5 and because it (the program "WINWORD.EXE")
can exist anywhere
on the customers machine, I need to get the program's path before
continuing.

Can anyone help ?

With Thanks
Mick Burian

mick@comtech-solutions.com.au
Re: How do I determine where Word resides (ie. path name) within VB5
#757
Author: Joel Paula
Date: Thu, 05 Jun 1997 00:00
30 lines
1986 bytes
If you use OLE you don't need the pathname.

You can also use the API ShellExecute to execute a word.doc, i.e., open a
document in word.

HTH
-- 
_____________________
JOEL PAULA
"why he did not crane out to see 
what lay beneath was perhaps because 
the window was not made to open
or because he could or would not open it."
- Samuel Beckett - "stirrings still"

Mick <mick@comtech-solutions.com.au> wrote in article
<01bc714f$80144b60$0a00a8c0@mick>...
> I need to use Word within VB5 and because it (the program "WINWORD.EXE")
> can exist anywhere
> on the customers machine, I need to get the program's path before
> continuing.
> 
> Can anyone help ?
> 
> With Thanks
> Mick Burian
> 
> mick@comtech-solutions.com.au
> 
Re: How do I determine where Word resides (ie. path name) within VB5
#758
Author: Mathias.Schiffer Mathias Schiffe...
Date: Thu, 05 Jun 1997 00:00
28 lines
2254 bytes
"Mick" <mick@comtech-solutions.com.au> wrote (5 Jun 1997
01:26:38 GMT):

>I need to use Word within VB5 and because it (the program "WINWORD.EXE")
>can exist anywhere
>on the customers machine, I need to get the program's path before
>continuing.

Perform a "FindExecutable"-API call on a DOC-file. And then,
stop crossposting like mad:

alt.lang.basic, (huuh?)
comp.lang.basic.misc, (huuh?)
comp.lang.basic.visual, (huuh? What's that?)
comp.lang.basic.visual.database, (huuh?)
comp.lang.basic.visual.misc,
comp.os.ms-windows.nt.admin.networking, (huuh?)
fr.comp.lang.basic, (huuh?)
it.comp.lang.visual-basic, (huuh?)
microsoft.public.vb.3rdparty, (huuh?)
microsoft.publ-> my newsreader stopped the list here....


Mathias Schiffer, Germany
-----------------------------------------------
VB-FAQ: http://home.sol.no/jansh/vb/default.htm
NG-tips: http://www.rat.de/metty/vbnews
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads