Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting an OLE Word Document from a General Field
Message
 
À
02/03/1998 10:55:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00081929
Message ID:
00097697
Vues:
43
>
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform