Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting an OLE Word Document from a General Field
Message
 
To
11/05/1998 12:54:21
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00081929
Message ID:
00098986
Views:
52
>Klas,
>I shouldn't ask this but I have to doublecheck. Is there a "document" table with "ole_object" field with an embedded word doc (current record) and do you have a "temp" dir on c: drive ?
>cetin

Hi Cetin, me again...

I just found the problem. I was trying to find out what caused the problem using a number of different parameters running in the Debug window while running the code below, and then it worked!!

THISFORM.Ole.Object.SaveAs("C:\Test.doc")

When I don't have the Debug window running the problem occurs, with it running it is not there any more. Seems as though VFP is calling MS Word 'too fast' or something. When slowed down it works fine.
(using VFP 3.0 for Win & Mac)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform