Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute Word from a File Name?
Message
From
05/04/2002 11:53:13
 
 
To
05/04/2002 10:15:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00641421
Message ID:
00641496
Views:
13
You guys are the best. I am now spoilt for choice and to be honest, the number of responses makes me feel like an absolute plonker for now knowing what to do in the first place <bg>.

Thanks again.

Best

-=Gary

>>Hi!
>>
>>I have word document(s) (RTF) file/path names stored in VFP memo fields.
>>
>>Is there any way I can launch Word (and load the file) from within VFP by "executing" the file name, utilising its file association?
>>
>>I appreciate that this could be done using automation but I wondered whether there was a way of simply "executing" the file, in the same way that clicking on the file would launch Word and load the file.
>>
>>Thanks!
>>
>>-=Gary
>
>
>run /n start &Field_That_Contains_Filename
>
>
>Or: copy the function in FAQ #8134, and then issue:
>
>
>RunDoc(fullpath(Field_That_Contains_Filename))
>
-=Gary
Previous
Reply
Map
View

Click here to load this message in the networking platform