Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image path storage
Message
From
19/04/2000 09:05:46
 
 
To
19/04/2000 08:12:03
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00361203
Message ID:
00361227
Views:
13
Hi Mike,

(The simplest version)

*Get and store path and filename
cPathname=GETFILE("DOC")
SELECT table
REPLACE table.pathname WITH cPathname
*Open and show it in Word
oWord=CREATEOBJECT("Word.Application")
oWord.Documents.Open(table.pathname)
oWord.Visible=.T.



>Hi to all
>i need to store the path and filename of a word document in a field
>and when click on that field to display (open)the file.
>
>does anyone know how to do this?
>
>regards
>mike
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform