Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Sergey Rewa
  Where is Sergey Rewa?
 Khabarovsk
 Russia
 Sergey Rewa
 To: solomon sackey
  Where is solomon sackey?
 texas
 Texas - United States
 solomon sackey
 Tags
Subject: RE: call word document in an application
Thread ID: 228289 Message ID: 228374 # Views: 2 # Ratings: 0
Version: Visual FoxPro 6 Category: Microsoft Office Automation
Date: Monday, May 18, 2009 5:02:57 PM         
   


> A word document to be made available in a vfp
> application (client server) to users as an option.
> This word document is shared,
> and on one of the workstations.
> How do a user call the document to use
> in a generated application deployed on a network.

If you have MS Word installed on this workstation :

DECLARE INTEGER ShellExecute ;
	    IN SHELL32.DLL ;
	    INTEGER nWinHandle,;
	    STRING cOperation,;   
	    STRING cFileName,;
	    STRING cParameters,;
	    STRING cDirectory,;
	    INTEGER nShowWindow	

MyFile="z:\server3\folder4\subfolder5\tester.doc"
ShellExecute(0,"open",MyFile,"","",1)


ENTIRE THREAD

call word document in an application Posted by solomon sackey @ 5/18/2009 4:09:02 AM
RE: call word document in an application Posted by Anders Altberg @ 5/18/2009 10:29:21 AM
RE: call word document in an application Posted by Sergey Rewa @ 5/18/2009 5:02:57 PM