Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting an OLE Word Document from a General Field
Message
From
08/05/1998 13:03:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00081929
Message ID:
00098132
Views:
56
>>>I used the following code in a form:
>>>
>>>WITH THISFORM
>>> .addobject("olbW","Oleboundcontrol")
>>> .olbW.top = 0
>>> .olbW.left = 400
>>> .olbW.height = 400
>>> .olbW.width = 600
>>> .olbW.controlsource = "Document.ole_object" && Embedded word doc
>>> .olbW.object.saveas("c:\temp\acopy.doc",)
>>>ENDWITH
>>>
>>>The error message was in Swedish, but translated it would be "Unknown
>>>name" with the "saveas" command.
>>>
>>>
>>>Klas Nygren
>>I think you just gave the solution. Message is in Swedish so is Word I
>think. You might need to add this :
=sys(3006,1033) && Instructions
>in English
Cetin
>
>
>Hi again,
>
>I use US version of Windows95 and US version of Word. Being a Swede I
>have however probably installed some Swedish software which replaced the
>OLE files for Swedish once.
>
>I do not want to take your time with this little detail of mine.
>
>Thanks for your help...
>
>Klas Nygren
But it's also important for me to know if this fixes problem (did it?). I use US versions also but deliver apps to those that don't.
Thanks
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform