Click here to Skip to main content
15,899,314 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: File Sharing Violation Problem - Remoting Pin
PranjalSharma12-Sep-05 23:33
PranjalSharma12-Sep-05 23:33 
QuestionKerberos in WSE3.0 &vb.net Pin
haraldsm12-Sep-05 2:13
haraldsm12-Sep-05 2:13 
QuestionEXIF and decoding Makernote data Pin
dazfl12-Sep-05 2:06
dazfl12-Sep-05 2:06 
QuestionClass Conversion Issue Pin
Jason Stamp12-Sep-05 0:03
Jason Stamp12-Sep-05 0:03 
QuestionAppending XML Pin
nitin_ion11-Sep-05 23:08
nitin_ion11-Sep-05 23:08 
AnswerRe: Appending XML Pin
Gavin Jeffrey11-Sep-05 23:46
Gavin Jeffrey11-Sep-05 23:46 
GeneralRe: Appending XML Pin
nitin_ion12-Sep-05 1:35
nitin_ion12-Sep-05 1:35 
GeneralRe: Appending XML Pin
Gavin Jeffrey12-Sep-05 20:32
Gavin Jeffrey12-Sep-05 20:32 
Strange that cause when i took your code and tested it, it gave me the correct result. Try the code below it -

<br />
        Dim doc As New Xml.XmlDocument<br />
        'load file <br />
        doc.Load("C:\Err.xml")<br />
        Dim root As XmlNode = doc.DocumentElement<br />
<br />
        If root Is Nothing Then<br />
            'if this is a new document create root <br />
            root = doc.CreateElement("Books")<br />
        Else<br />
            'add the new node <br />
            Dim newNode As Xml.XmlElement = doc.CreateElement("Book")<br />
            'add attributes <br />
            newNode.SetAttribute("type", 3)<br />
            'add children nodes if any <br />
            Dim child As Xml.XmlElement = doc.CreateElement("Author")<br />
            child.InnerText = "rr"<br />
            newNode.AppendChild(child)<br />
            child = doc.CreateElement("Section")<br />
            child.InnerText = "rr"<br />
            newNode.AppendChild(child)<br />
            'add new node to users node <br />
            root.AppendChild(newNode)<br />
        End If<br />
        'save doc <br />
        doc.Save("C:\Err.xml")<br />
<br />

QuestionI get a error from Crystal report 10.0. Pin
Jimmy Huynh11-Sep-05 22:54
Jimmy Huynh11-Sep-05 22:54 
QuestionDatagrid Pin
mcgann11-Sep-05 21:49
mcgann11-Sep-05 21:49 
AnswerRe: Datagrid Pin
LeenaSo11-Sep-05 22:48
LeenaSo11-Sep-05 22:48 
Questioninput box Pin
ali kanju11-Sep-05 18:34
ali kanju11-Sep-05 18:34 
AnswerRe: input box Pin
Christian Graus11-Sep-05 18:50
protectorChristian Graus11-Sep-05 18:50 
AnswerRe: input box Pin
Briga11-Sep-05 22:29
Briga11-Sep-05 22:29 
AnswerRe: input box Pin
MohammadAmiry12-Sep-05 20:02
MohammadAmiry12-Sep-05 20:02 
Questionarray of control Pin
ali kanju11-Sep-05 18:29
ali kanju11-Sep-05 18:29 
AnswerRe: array of control Pin
Christian Graus11-Sep-05 18:51
protectorChristian Graus11-Sep-05 18:51 
AnswerRe: array of control Pin
rwestgraham11-Sep-05 18:52
rwestgraham11-Sep-05 18:52 
Questiontelephone number format question Pin
rolfjahn11-Sep-05 17:36
rolfjahn11-Sep-05 17:36 
AnswerRe: telephone number format question Pin
Christian Graus11-Sep-05 17:47
protectorChristian Graus11-Sep-05 17:47 
Questionstore String chars or substrings in Array Pin
Anonymous11-Sep-05 16:04
Anonymous11-Sep-05 16:04 
AnswerRe: store String chars or substrings in Array Pin
Anonymous11-Sep-05 16:06
Anonymous11-Sep-05 16:06 
AnswerRe: store String chars or substrings in Array Pin
Christian Graus11-Sep-05 16:46
protectorChristian Graus11-Sep-05 16:46 
AnswerRe: store String chars or substrings in Array Pin
Scott Page12-Sep-05 10:29
professionalScott Page12-Sep-05 10:29 
GeneralRe: store String chars or substrings in Array Pin
Anonymous12-Sep-05 12:16
Anonymous12-Sep-05 12:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.