Click here to Skip to main content
15,887,676 members
Home / Discussions / C#
   

C#

 
GeneralRe: Hiding/Showing panels Pin
Luc Pattyn9-Sep-10 14:51
sitebuilderLuc Pattyn9-Sep-10 14:51 
GeneralRe: Hiding/Showing panels Pin
Megidolaon9-Sep-10 17:49
Megidolaon9-Sep-10 17:49 
Question10 band equalizer using DIRECTX in C# Pin
Nishad Ullaskumar P8-Sep-10 7:28
Nishad Ullaskumar P8-Sep-10 7:28 
AnswerRe: 10 band equalizer using DIRECTX in C# Pin
Dave Kreskowiak8-Sep-10 10:32
mveDave Kreskowiak8-Sep-10 10:32 
AnswerRe: 10 band equalizer using DIRECTX in C# [ignore] Pin
Ravi Bhavnani9-Sep-10 9:00
professionalRavi Bhavnani9-Sep-10 9:00 
QuestionXML Document Reader [modified] Pin
raghavsesh8-Sep-10 5:58
raghavsesh8-Sep-10 5:58 
AnswerRe: XML Document Reader Pin
Richard MacCutchan8-Sep-10 7:24
mveRichard MacCutchan8-Sep-10 7:24 
GeneralRe: XML Document Reader Pin
raghavsesh8-Sep-10 23:22
raghavsesh8-Sep-10 23:22 
Hi this is my code and it works fine when the XML document have a proper opening and Closing tag


XmlDocument objxmlDoc = new XmlDocument();
objxmlDoc.Load(txtFileName.Text);

Here txtFileName.Text refers to the physical path of the XML file

I am doing this to change the attributes of XML doc programatically .The above code snippet works fine for a proper XML doc.But it throws an exception for improper XML doc which misses closing tag. I need a code snippet/ suggestion to change the attribute of the XML doc even if it is invalid (missing close tags).

Thank u
AnswerRe: XML Document Reader Pin
PIEBALDconsult8-Sep-10 13:51
mvePIEBALDconsult8-Sep-10 13:51 
AnswerRe: XML Document Reader Pin
Luc Pattyn8-Sep-10 14:52
sitebuilderLuc Pattyn8-Sep-10 14:52 
GeneralRe: XML Document Reader Pin
PIEBALDconsult8-Sep-10 16:56
mvePIEBALDconsult8-Sep-10 16:56 
GeneralRe: XML Document Reader Pin
Luc Pattyn8-Sep-10 17:02
sitebuilderLuc Pattyn8-Sep-10 17:02 
GeneralRe: XML Document Reader Pin
raghavsesh8-Sep-10 23:47
raghavsesh8-Sep-10 23:47 
GeneralRe: XML Document Reader Pin
Pete O'Hanlon9-Sep-10 0:12
mvePete O'Hanlon9-Sep-10 0:12 
AnswerRe: XML Document Reader Pin
JohnLBevan9-Sep-10 1:48
professionalJohnLBevan9-Sep-10 1:48 
QuestionC# threading question: Invoke() fails with ObjectDisposedException Pin
Keith Vitali8-Sep-10 3:59
Keith Vitali8-Sep-10 3:59 
AnswerRe: C# threading question: Invoke() fails with ObjectDisposedException Pin
Ennis Ray Lynch, Jr.8-Sep-10 4:07
Ennis Ray Lynch, Jr.8-Sep-10 4:07 
GeneralRe: C# threading question: Invoke() fails with ObjectDisposedException Pin
Keith Vitali8-Sep-10 4:18
Keith Vitali8-Sep-10 4:18 
GeneralRe: C# threading question: Invoke() fails with ObjectDisposedException Pin
Ware@Work9-Sep-10 7:26
Ware@Work9-Sep-10 7:26 
AnswerRe: C# threading question: Invoke() fails with ObjectDisposedException Pin
Fayu8-Sep-10 4:22
Fayu8-Sep-10 4:22 
GeneralRe: C# threading question: Invoke() fails with ObjectDisposedException Pin
Keith Vitali8-Sep-10 4:34
Keith Vitali8-Sep-10 4:34 
GeneralRe: C# threading question: Invoke() fails with ObjectDisposedException Pin
Fayu8-Sep-10 5:19
Fayu8-Sep-10 5:19 
GeneralRe: C# threading question: Invoke() fails with ObjectDisposedException Pin
Keith Vitali8-Sep-10 5:23
Keith Vitali8-Sep-10 5:23 
AnswerRe: C# threading question: Invoke() fails with ObjectDisposedException Pin
Chris Trelawny-Ross8-Sep-10 5:39
Chris Trelawny-Ross8-Sep-10 5:39 
AnswerRe: C# threading question: Invoke() fails with ObjectDisposedException Pin
HuntrCkr9-Sep-10 1:40
HuntrCkr9-Sep-10 1:40 

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.