Click here to Skip to main content
15,887,746 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: a question about how .NET apps dealing with filesystem failing Pin
jschell16-Jan-13 9:00
jschell16-Jan-13 9:00 
AnswerRe: a question about how .NET apps dealing with filesystem failing Pin
alexyxj16-Jan-13 20:29
alexyxj16-Jan-13 20:29 
GeneralRe: a question about how .NET apps dealing with filesystem failing Pin
krunal38017-Jan-13 19:28
krunal38017-Jan-13 19:28 
QuestionGet description from Public Enum Pin
byka15-Jan-13 9:21
byka15-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
Bernhard Hiller15-Jan-13 20:34 
AnswerRe: Get description from Public Enum Pin
Eddy Vluggen16-Jan-13 2:37
professionalEddy Vluggen16-Jan-13 2:37 
QuestionMisunderstanding XML Pin
Gary Heath14-Jan-13 23:44
Gary 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
<?xml version="1.0" encoding="utf-8" ?>
  <Folders>
    <TemplatesFolder>E:\Newsletter Templates (Email)\</TemplatesFolder>
    <NewsLetterFolder>E:\Newsletters\</NewsLetterFolder>
  </Folders>


Read by this code :

VB
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
Alan Balkany16-Jan-13 4:11 
AnswerRe: Misunderstanding XML Pin
jschell16-Jan-13 9:07
jschell16-Jan-13 9:07 
AnswerRe: Misunderstanding XML Pin
SledgeHammer0121-Jan-13 11:06
SledgeHammer0121-Jan-13 11:06 
Question[vb.net] Minimize Prompt Pin
barabba200514-Jan-13 5:31
barabba200514-Jan-13 5:31 
AnswerRe: [vb.net] Minimize Prompt Pin
Thomas Daniels14-Jan-13 7:08
mentorThomas Daniels14-Jan-13 7:08 
GeneralRe: [vb.net] Minimize Prompt Pin
barabba200515-Jan-13 0:42
barabba200515-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
Alan N15-Jan-13 6:01 
Questionread an excel file Pin
xnaLearner14-Jan-13 4:38
xnaLearner14-Jan-13 4:38 
AnswerRe: read an excel file Pin
0bx15-Jan-13 11:55
0bx15-Jan-13 11:55 
AnswerRe: read an excel file Pin
Dave Kreskowiak15-Jan-13 19:42
mveDave Kreskowiak15-Jan-13 19:42 
Questionncorrect work of Dataset deserialized from XML Pin
senglory13-Jan-13 2:50
senglory13-Jan-13 2:50 
QuestionIs there any way to generate a DB from an EDMX model without all the table names being pluralised? Pin
Brady Kelly12-Jan-13 17:19
Brady Kelly12-Jan-13 17:19 
Question\UIAutomationProvider damaged and can't read Pin
AlterAkarin10-Jan-13 15:07
AlterAkarin10-Jan-13 15:07 
AnswerRe: \UIAutomationProvider damaged and can't read Pin
Sandeep Mewara10-Jan-13 17:31
mveSandeep Mewara10-Jan-13 17:31 
QuestionHow to Bind table data to chart? Pin
Deenuji9-Jan-13 21:46
Deenuji9-Jan-13 21:46 
Questionpop up after certain time limit Pin
fox079-Jan-13 15:15
fox079-Jan-13 15:15 

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.