DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How would you output an XML file with an Ole Attachment?

  1. #1
    Join Date
    Jul 2010

    How would you output an XML file with an Ole Attachment?

    I'm an XML virgin and a scripting neophyte. I'm trying to include an OLE Object in an XML file. I've tried several methods and the closest I've come is scripting the output. However, when I get to xmloutput.write(sSQL), I get an invalid procedure error.

    If I comment out the Ole Object everything works perfectly. Can I script the output of the OLE object into XML? If not what would be a better way?

    I looked into using "Microsoft XML, v6" but didn't see anything that lets you add attachments.

    I have a 3 day headache....can you help?

  2. #2
    Join Date
    Jul 2010

    Wrong question

    after a little more research I see that the OLE object cannot be imported into needs to be encoded to a base64 bit encoded binary file....then included.

    So now the question is....can the Base 64 bit coding be performed in VBA in Access 2007?

Similar Threads

  1. create xml file from dataset
    By shoham78 in forum .NET
    Replies: 2
    Last Post: 04-23-2008, 05:30 AM
  2. Replies: 4
    Last Post: 01-09-2008, 06:21 PM
  3. updating xml file from VB6
    By smithg22 in forum VB Classic
    Replies: 9
    Last Post: 04-12-2005, 06:23 PM
  4. Replies: 0
    Last Post: 09-02-2002, 06:11 AM
  5. XML files vs Database
    By Mansoor in forum XML
    Replies: 8
    Last Post: 08-23-2002, 04:35 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center