473,320 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Insert Binary data into .NET xml.xmldocument

JC
I'm converting a vb6 project to vb.net. I was able to insert a binary object
into my XMLDOM using "
Set oElement = xmlDoc.createElement("eDocument")
oRoot.appendChild oElement
oElement.dataType = "bin.base64"
oElement.nodeTypedValue = (sPathToDoc)

.....Now in .NET using the XML.XMLDocument DOM Model I'm not sure what to do.
The code above does not 'convert'.

Any advice is welcome. Tx J
Jul 21 '05 #1
0 1355

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: JC | last post by:
I'm converting a vb6 project to vb.net. I was able to insert a binary object into my XMLDOM using " Set oElement = xmlDoc.createElement("eDocument") oRoot.appendChild oElement oElement.dataType =...
3
by: Markus | last post by:
Hi! I wanted to select a subset of nodes (list = selectNodes("parent/child") from a XmlDocument, then remove all (parentNode.removeAll();) child-nodes and insert the previous selected nodes...
3
by: piotrek | last post by:
Hi I would like to ask you a question. Ian creating app. that download from server directory structure ( whole tree ) and those data are placed in proper places into my treeview control. I...
7
by: S Wheeler | last post by:
Hi all - I need some help trying to insert / append a block of xml text into an xml document. This is for a reporting app and as new data is available, I must add it to the end of the document. It...
11
by: ericms | last post by:
Can anybody show me how to insert a CDATA section using XPathNavigator ? I have tried the follwing with no luck: XmlDocument docNav = new XmlDocument(); docNav.LoadXml(xmlString);...
3
by: dotnetnoob | last post by:
let's say i have a xml file <root> <stuff id='1'> <stuff1> </stuff1> </stuff> </root> how do i insert new <stuff2>element and atrribute after stuff1
2
by: JM | last post by:
Hello, Most of the examples I've seen with XMLReaders, serialization, etc,. involve a text file on a file system. Does anybody have a start to finish VB.NET example of reading an XML Document...
6
by: Gregor =?UTF-8?B?S292YcSN?= | last post by:
Hi! I'm using JDBC to connect to DB2. I have a binary data (array of bytes) and want to save them. Is it possible to write an INSERT statement to do this: INSERT INTO TABLE (ID, BYTES)...
7
by: anu b | last post by:
Hi I need to use Clr trigger for insert command My code is as below I am using SQL server 2005 and VS 2008.... but after running this code i didnt get the result as i expexted it shows the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.