Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting an OLE Word Document from a General Field
Message
 
To
02/03/1998 10:55:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00081929
Message ID:
00097697
Views:
42
>
>use wtest  && Fields oType c, oSelf g
>locate for oType = "Word doc"
>oform = createobject("form")
>with oForm
> .addobject("olbW","Oleboundcontrol")
> .height = 420
> .width = 620
> .olbW.top = 0
> .olbW.left = 400
> .olbW.height = 400
> .olbW.width = 600
> .olbW.controlsource = "wtest.oSelf"    && Embedded word doc
> .olbW.object.saveas("c:\temp\acopy.doc",)
> .release
>endwith
>
Hi Cetin,

I can't make the SaveAs work. I only get an OLE error "Unknown name". Do you know why this is?

Klas Nygren
(using VFP 3.0 for Win & Mac)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform