Click here to Skip to main content
14,331,463 members

.NET Framework

 
AnswerRe: How can I learn about under the hood of .NET? Pin
Eddy Vluggen21-Jan-13 13:39
mveEddy Vluggen21-Jan-13 13:39 
Questiona question about how .NET apps dealing with filesystem failing Pin
alexyxj15-Jan-13 22:07
memberalexyxj15-Jan-13 22:07 
AnswerRe: a question about how .NET apps dealing with filesystem failing Pin
Richard MacCutchan15-Jan-13 22:40
protectorRichard MacCutchan15-Jan-13 22:40 
GeneralRe: a question about how .NET apps dealing with filesystem failing Pin
alexyxj15-Jan-13 22:49
memberalexyxj15-Jan-13 22:49 
GeneralRe: a question about how .NET apps dealing with filesystem failing Pin
Richard MacCutchan15-Jan-13 23:33
protectorRichard MacCutchan15-Jan-13 23:33 
GeneralRe: a question about how .NET apps dealing with filesystem failing Pin
Pete O'Hanlon15-Jan-13 23:46
protectorPete O'Hanlon15-Jan-13 23:46 
AnswerRe: a question about how .NET apps dealing with filesystem failing Pin
jschell16-Jan-13 9:00
memberjschell16-Jan-13 9:00 
AnswerRe: a question about how .NET apps dealing with filesystem failing Pin
alexyxj16-Jan-13 20:29
memberalexyxj16-Jan-13 20:29 
GeneralRe: a question about how .NET apps dealing with filesystem failing Pin
krunal38017-Jan-13 19:28
memberkrunal38017-Jan-13 19:28 
QuestionGet description from Public Enum Pin
byka15-Jan-13 9:21
memberbyka15-Jan-13 9:21 
AnswerRe: Get description from Public Enum Pin
Jibesh15-Jan-13 9:29
professionalJibesh15-Jan-13 9:29 
AnswerRe: Get description from Public Enum Pin
Bernhard Hiller15-Jan-13 20:34
memberBernhard Hiller15-Jan-13 20:34 
AnswerRe: Get description from Public Enum Pin
Eddy Vluggen16-Jan-13 2:37
mveEddy Vluggen16-Jan-13 2:37 
QuestionMisunderstanding XML Pin
Gary Heath14-Jan-13 23:44
memberGary 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 Pin
Alan Balkany16-Jan-13 4:11
memberAlan Balkany16-Jan-13 4:11 
AnswerRe: Misunderstanding XML Pin
jschell16-Jan-13 9:07
memberjschell16-Jan-13 9:07 
AnswerRe: Misunderstanding XML Pin
SledgeHammer0121-Jan-13 11:06
memberSledgeHammer0121-Jan-13 11:06 
Question[vb.net] Minimize Prompt Pin
barabba200514-Jan-13 5:31
memberbarabba200514-Jan-13 5:31 
AnswerRe: [vb.net] Minimize Prompt Pin
Thomas Daniels14-Jan-13 7:08
mveThomas Daniels14-Jan-13 7:08 
GeneralRe: [vb.net] Minimize Prompt Pin
barabba200515-Jan-13 0:42
memberbarabba200515-Jan-13 0:42 
GeneralRe: [vb.net] Minimize Prompt Pin
Dave Kreskowiak15-Jan-13 4:22
mveDave Kreskowiak15-Jan-13 4:22 
AnswerRe: [vb.net] Minimize Prompt Pin
Alan N15-Jan-13 6:01
memberAlan N15-Jan-13 6:01 
Questionread an excel file Pin
xnaLearner14-Jan-13 4:38
memberxnaLearner14-Jan-13 4:38 
AnswerRe: read an excel file Pin
0bx15-Jan-13 11:55
member0bx15-Jan-13 11:55 
AnswerRe: read an excel file Pin
Dave Kreskowiak15-Jan-13 19:42
mveDave Kreskowiak15-Jan-13 19:42 

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.