Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image path storage
Message
De
19/04/2000 09:05:46
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00361203
Message ID:
00361227
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform