Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to automate Microsoft Paint?
Message
 
 
To
05/01/2003 23:07:11
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00738291
Message ID:
00740697
Views:
17
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform