Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intersperce HTML and worddoc
Message
From
14/03/2005 14:37:03
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00995586
Message ID:
00995652
Views:
13
> oWord.ActiveDocument.SaveAs("c:\tte.htm", wdFormatHTML)
> m_text = FILETOSTR("c:\tte.htm")
>

That' what did it. Thanks alot.


One more question.
the files i need to open are flagged as readonly. Can I avoide words dialog asking if I want to use it read only etc...

I already pass .t. as the 3rd argument to the OPEN method.
and i have a oWord.DisplayAlerts=0 statement but it still comes up with the dialog

Thanks again
Peter Cortiel
Previous
Reply
Map
View

Click here to load this message in the networking platform