Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to automate Microsoft Paint?
Message
 
 
À
05/01/2003 23:07:11
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00738291
Message ID:
00740697
Vues:
18
You cannot automate Microsoft Paint because it isn't automation server.

>I need to copy a bitmap image to the clipboard (using another application), then programatically paste it to a PAINT.PICTURE object on my form and save the bitmap in JPEG format. I already have the object on my form but i don't know how reference it. The OLEContainer's name is OLE1 but Foxpro says that THISFORM.OLE1.OBJECT is not an object. I reference a 'WORD.APPLICATION' object this way, ie thisform.ole1.OBJECT.APPLICATION.documents..., but it doesn't seems to work for a PAINT.PICTURE object. Is there any way that I could get my form to work this way? How can I know the different properties and methods that a COM server exposes to its client.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform