Click here to Skip to main content
       

.NET Framework

 
AnswerRe: a question about how .NET apps dealing with filesystem failing Pinmemberjschell16-Jan-13 9:00 
AnswerRe: a question about how .NET apps dealing with filesystem failing Pinmemberalexyxj16-Jan-13 20:29 
GeneralRe: a question about how .NET apps dealing with filesystem failing Pinmemberkrunal38017-Jan-13 19:28 
QuestionGet description from Public Enum Pinmemberbyka15-Jan-13 9:21 
AnswerRe: Get description from Public Enum Pinmemberjibesh15-Jan-13 9:29 
AnswerRe: Get description from Public Enum PinmemberBernhard Hiller15-Jan-13 20:34 
AnswerRe: Get description from Public Enum PinmvpEddy Vluggen16-Jan-13 2:37 
QuestionMisunderstanding XML PinmemberGary Heath14-Jan-13 23:44 
Hopefully somebody can tell me what I’m doing wrong … I’ve never used an XML file before, so I’m obviously misunderstanding something ...
 
This XML file :
 
<?xml version="1.0" encoding="utf-8" ?>
  <Folders>
    <TemplatesFolder>E:\Newsletter Templates (Email)\</TemplatesFolder>
    <NewsLetterFolder>E:\Newsletters\</NewsLetterFolder>
  </Folders>
 
Read by this code :
 
    Do While (myXml.Read())
        If myXml.IsStartElement() Then
            If myXml.Name = "TemplatesFolder" Then
                myXml.Read()
                myTempFolder = myXml.Value
            End If
            If myXml.Name = "NewsLetterFolder" Then
                myXml.Read()
                myNlFolder = myXml.Value
            End If
        End If
    Loop
 
Gives this error:
 
There are multiple root elements. Line 3, position 2.
AnswerRe: Misunderstanding XML PinmemberAlan Balkany16-Jan-13 4:11 
AnswerRe: Misunderstanding XML Pinmemberjschell16-Jan-13 9:07 
AnswerRe: Misunderstanding XML PinmemberSledgeHammer0121-Jan-13 11:06 
Question[vb.net] Minimize Prompt Pinmemberbarabba200514-Jan-13 5:31 
AnswerRe: [vb.net] Minimize Prompt Pinmember ProgramFOX14-Jan-13 7:08 
GeneralRe: [vb.net] Minimize Prompt Pinmemberbarabba200515-Jan-13 0:42 
GeneralRe: [vb.net] Minimize Prompt PinmvpDave Kreskowiak15-Jan-13 4:22 
AnswerRe: [vb.net] Minimize Prompt PinmemberAlan N15-Jan-13 6:01 
Questionread an excel file PinmemberxnaLearner14-Jan-13 4:38 
AnswerRe: read an excel file Pinmember0bx15-Jan-13 11:55 
AnswerRe: read an excel file PinmvpDave Kreskowiak15-Jan-13 19:42 
Questionncorrect work of Dataset deserialized from XML Pinmembersenglory13-Jan-13 2:50 
QuestionIs there any way to generate a DB from an EDMX model without all the table names being pluralised? PinmemberBrady Kelly12-Jan-13 17:19 
Question\UIAutomationProvider damaged and can't read PinmemberAlterAkarin10-Jan-13 15:07 
AnswerRe: \UIAutomationProvider damaged and can't read PinmvpSandeep Mewara10-Jan-13 17:31 
QuestionHow to Bind table data to chart? PingroupDeenuji9-Jan-13 21:46 
Questionpop up after certain time limit Pinmemberfox079-Jan-13 15:15 

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

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


Advertise | Privacy | Mobile
Web02 | 2.8.140827.1 | Last Updated 29 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid