Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening a report in Word
Message
 
 
To
22/11/2005 07:52:26
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01071126
Message ID:
01071131
Views:
26
The current Word session will not be affected unless you're using the same Export File Name every time.


>I've been trying to export a report to word and it's seems to be working fine the first time I do it. If I export again it closes the original Word window and opens a new one. I've included my code below. Can someone see how I could change it to allow it to open another Word window without closing the first one.
>I'm afraid of people editing documents. Then by running my app they lose their changes without the chance of saving.
>
>Any help would be great,
>
>LPARAMETERS tcExportFileName
>
>Declare Integer ShellExecute In SHELL32.Dll Integer , String , String , String , String ,  INTEGER
>
>ShellExecute(0,'Open',tcExportFileName,'','',1)
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform