Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save Excel/Word OLE embed document
Message
From
17/08/1998 11:02:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/08/1998 07:16:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00127336
Message ID:
00127428
Views:
21
>Hi everyone,
>I create Word OLE embed document in my form. When I double click on it, I can edit this document. This Word document I can print, resize and etc., but I can't save or saveas this document. How can I do this ? Word is as OLE ombed control.
>Thanks.
With OLEAytomation you could use word commands ie :
use wtest  && Fields oType c, oSelf g
*locate for oType = "Word doc"
oform = createobject("form")
with oForm
	.addobject("olbW","Oleboundcontrol")
	.height = 420
	.width = 620
	with .olbW
		.top = 0
		.left = 400
		.height = 400
		.width = 600
		.controlsource = "wtest.wf"    && Embedded word doc
		.object.saveas("c:\temp\mySaveas.doc",)
	endwith	
	.release
endwith	
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
Next
Reply
Map
View

Click here to load this message in the networking platform