Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frx2word - won't release Word doc
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00756528
Message ID:
00756941
Views:
12
Colin,

Take a look at Re: Frx2Word Thread #731454.

>Hi
>
>I am using frx2word to create a doc called webmanifest.
>
>The first time I run it it works fine. If I run it again I get the error message ole error code 0x80004002 no such interface supported.
>
>This appears to be caused by the fact that the document is still in use - a supported by the fact that I get a sharing error if I try to delete it.
>
>I have to come out of VFP6 to be able to delete it.
>
>My frx2word code is
>
>oF2W = NEWOBJECT("frx2word", "msoexp") && Create instance of FRX2WORD
>oF2W.SaveFolder = "j:\global\pods\" && directory to create .DOC in
>oF2W.DOC_FileName = "Wordout.doc" && name of .DOC file to create
>oF2W.ReportHome = "j:\global\vfp" && name of .DOC file to create
>nSuccess = oF2W.ReportForm("webmanifest.frx") && Process MyReport.FRX
>release oF2W
>
>Colin Northway
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform