Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating .bmp file from 'OLE Object' field

Status
Not open for further replies.

MartinF

Technical User
Sep 19, 2000
143
FR
Hi there,

Please could anyone tell me how i can save an 'OLE object' bitmap image from a table into a .bmp file.

Thanks in advance
 
Hi MartinF,

You should be able to just double-click on the Ole Object in the Table.

MS Paint or other Associated Package should open.

Save As desired Image name.

Bill
 
Hi Bill,

thanks for your response, unfortunately, what i neglected to specify is that i want to be able to do it from VBA.

Any more ideas?


 
Hi Martin,

I have posted an example of how you can open the application associated with your OLE object. All the user has to do is select from the menu File>> Save As.

The file to look at is Insert Ole Object Using a Common Dialog Control.zip at
The button to press is Save OLE Object to a File.

I've got a feeling this is as close as you are going to get to your question.

I did try using the SendKeys method to get the Save As dialog box to come up. But unfortuneately it doesn't work every time.

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top