Solved

Saving an OLE Object to an Access MDB

Posted on 2002-07-19
4
184 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
4 Comments
 
LVL 3

Accepted Solution

by:
Bahnass earned 100 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now