Solved

Saving an OLE Object to an Access MDB

Posted on 2002-07-19
4
195 Views
Last Modified: 2012-08-14
I'm almost positive this can be done, but I can't seem to figure out how.

How to you "save" an OleObject into an Access OleObject field?

To be more specific, I'd like to save a DOM Object in an mdb as follows:

Dm msxlm as New DOMDocument

dyn.Edit
dyn![DomObject]=msxlm
dyn.update

But this doesn't work. I also tried Set dyn![DomObject]=msxlm

with no results.

Do I have to BLOB it and if so, how?

Thanks.



0
Comment
Question by:carpbyte
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Accepted Solution

by:
Bahnass earned 100 total points
ID: 7167656
Can U save Ur Object as a file(even temporarily),
then read it in a binary array,
Then save it in access field

Hope this helps
0
 

Author Comment

by:carpbyte
ID: 7169836
That's what I ended up doing.

I'll leave the question open for a little while though & if no other comments show up, the points are yours.

0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8031867
Hi carpbyte,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept Bahnass's comment(s) as an answer.

carpbyte, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 8095534
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question