msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

save object??

 
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE
Author Message
Dave



Joined: 04 Oct 2007
Posts: 4

PostPosted: Sat Sep 02, 2006 7:24 pm    Post subject: save object?? Reply with quote

Short story:
I have an access database with a table that has an OLE Object field that
contains bitmap images. In VB6 i have that table field bound to an OLE
Container Control. This displays and activates paint to edit it just fine.
Now i want to save the objects to files. when using the SaveToFile method
it creates the file, but paint won't open it and says its not a valid bitmap
file. Trying to drop the file into word gives the same paint message then
says it was created in 'package', 'this application is not available to open
this object...'. I have also tried SaveToOle1File, which is slower and
creates a different file, but it still gives the same errors with paint and
word. the vs6 ole tools don't seem to tell me anything useful, but i have
never done much with ole besides getting the bitmaps into this database.
any other ideas on how to get the contents out to a file??

Archived from group: microsoft>public>vb>ole
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
How to save inserted object on disc? Hi, I am looking for a simple way in VB to get and save on local disc the content of all inserted objects in a ms word document. I'm using ms word 2002 sp-2. I would be grateful for any help Thank you

Word save as MHT problem Howdy, I am trying to save files from Word as MHTML. I don't have a problem saving files unless they have JavaScript in them. When they contain JavaScript, any images are not saved. Is there a way to get Word to save those files from software? -- Frank

how to show the "txt code" that the WebBrowser wont to save how to show the "txt code" that the WebBrowser wont to save when he wont to save html+pictures with the "dialogbox" - before saving. this is the code to open the save "dialogbox" 0, 0 this i

Object within an Object Hello, I hope this is the right group to post to. I'm trying to have a VB6 application create an (Office10) object through late binding which opens an MDE database. The Access code will then create an (

OLE OBJECT Control Where i Find a OLE OBJECT CONTROL in VS.NET?
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group