Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save Excel/Word OLE embed document
Message
De
17/08/1998 11:02:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/08/1998 07:16:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00127336
Message ID:
00127428
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform