Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Frx2word update
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00596456
Message ID:
00596769
Views:
21
Fabio

Really looed forward to the latest release of FRX2WORD. I need to send VFP reports with graphics as body of email text. I have tested the new version with the following code:-

oF2W=NEWOBJECT("frx2word","msoexp")
oF2W.SaveFolder="g:\atestar"
oF2W.doc_FileName="Wordout.doc"
oF2W.ReportHome="g:\atestar" && Optional (new to 1.5)
nSuccess=oF2W.ReportForm("podrunx")
wait window str(nsuccess)
release oF2W

I get an error message

OLE Despatch exception code 0 fro Microsoft Word. The mothod or property is not available because the object is empty. Debug shows .selection cut in procedure
pasteresult. If I click on ignore I get my document without the jpg file.

What am I doing wrong?


Colin Northway
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform