🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #757

Re: How do I determine where Word resides (ie. path name) within VB5

#757
From: 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
> 
Technical Details
Message-ID: <01bc719d$adda4ba0$0800a8c0@joel>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bc714f$80144b60$0a00a8c0@mick>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa2c1,a704c9568b35268c
X-Google-Attributes: gidfa2c1,public
X-Google-Thread: 10c949,a704c9568b35268c
X-Google-Attributes: gid10c949,public
X-Google-Thread: 10ab99,a704c9568b35268c
X-Google-Attributes: gid10ab99,public
X-Google-Thread: 10b997,a704c9568b35268c
X-Google-Attributes: gid10b997,public
X-Google-Thread: 1143a7,a704c9568b35268c
X-Google-Attributes: gid1143a7,public
X-Google-Thread: 110e3b,a704c9568b35268c
X-Google-Attributes: gid110e3b,public
X-Google-Thread: f645d,a704c9568b35268c
X-Google-Attributes: gidf645d,public
X-Google-Thread: f7646,a704c9568b35268c
X-Google-Attributes: gidf7646,public
From: "Joel Paula" <joelpaula@usa.net>
Subject: Re: How do I determine where Word resides (ie. path name) within VB5
Date: 1997/06/05
Message-ID: <01bc719d$adda4ba0$0800a8c0@joel>
X-Deja-AN: 246281860
References: <01bc714f$80144b60$0a00a8c0@mick>
Organization: TECNILAB PORTUGAL
Newsgroups: alt.lang.basic,comp.lang.basic.misc,comp.lang.basic.visual,comp.lang.basic.visual.database,comp.lang.basic.visual.misc,comp.os.ms-windows.nt.admin.networking,fr.comp.lang.basic,it.comp.lang.visual-basic,microsoft.public.vb.3rdparty,microsoft.publ