Click here to Skip to main content
15,891,607 members
Home / Discussions / C#
   

C#

 
GeneralChanging List View Highligh:confused: Pin
azusakt22-May-03 20:03
azusakt22-May-03 20:03 
GeneralRe: Changing List View Highligh:confused: Pin
J. Dunlap22-May-03 20:08
J. Dunlap22-May-03 20:08 
GeneralRe: Changing List View Highligh:confused: Pin
Carlos H. Perez22-May-03 21:17
Carlos H. Perez22-May-03 21:17 
GeneralRe: Changing List View Highligh:confused: Pin
Oyvind Bratland23-May-03 0:28
Oyvind Bratland23-May-03 0:28 
GeneralRe: Changing List View Highligh:confused: Pin
Carlos H. Perez23-May-03 17:32
Carlos H. Perez23-May-03 17:32 
GeneralRe: Changing List View Highligh:confused: Pin
azusakt23-May-03 15:20
azusakt23-May-03 15:20 
GeneralRe: Changing List View Highligh:confused: Pin
Carlos H. Perez23-May-03 17:31
Carlos H. Perez23-May-03 17:31 
GeneralXML Loading Problem Pin
Nick Parker22-May-03 17:29
protectorNick Parker22-May-03 17:29 
Does anyone have any clues as to why I would get an "Unhandled Exception of type 'System.Xml.XmlException'" with the following code sniplet? It just says "Additional information: System Error". What is weird is that the error occurs on the red line and does not throw an exception based on my code (It comes from the IDE). Am I missing something blatant here?



XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml("XMLTree.xml");
try
{
       <font color="red">XmlNodeList xmlnodeList = xmlDoc.SelectNodes("categories");</font>				
       foreach(XmlNode x in xmlnodeList)
       {
		MessageBox.Show(x.InnerText);

	}
}
catch(System.Xml.XmlException e)
{	
	MessageBox.Show(e.Message + "\n\n" + e.StackTrace);
}


-Nick Parker
GeneralRe: XML Loading Problem Pin
Philip Fitzsimons23-May-03 2:55
Philip Fitzsimons23-May-03 2:55 
GeneralRe: XML Loading Problem Pin
Nick Parker23-May-03 5:21
protectorNick Parker23-May-03 5:21 
GeneralRe: XML Loading Problem Pin
cdehelean23-May-03 2:56
cdehelean23-May-03 2:56 
GeneralQuestion About Sockets Pin
jtmtv1822-May-03 16:04
jtmtv1822-May-03 16:04 
GeneralRe: Question About Sockets Pin
Burt Harris23-May-03 18:44
Burt Harris23-May-03 18:44 
GeneralRe: Question About Sockets Pin
jtmtv1823-May-03 20:28
jtmtv1823-May-03 20:28 
GeneralNetscape / Winamp / SAPrefs Style options dialog Pin
dazinith22-May-03 11:23
dazinith22-May-03 11:23 
GeneralDateTimePicker and TextBox Formatting - C# Windows Forms Pin
sajecw22-May-03 8:07
sajecw22-May-03 8:07 
GeneralDataGrid - C# Windows Forms - How to not Allow a 'new' record added to end of grid Pin
sajecw22-May-03 7:59
sajecw22-May-03 7:59 
GeneralRe: DataGrid - C# Windows Forms - How to not Allow a 'new' record added to end of grid Pin
Jose Fco Bonnin22-May-03 21:26
Jose Fco Bonnin22-May-03 21:26 
GeneralRe: DataGrid - C# Windows Forms - How to not Allow a 'new' record added to end of grid Pin
sajecw23-May-03 5:32
sajecw23-May-03 5:32 
GeneralContext-sensitive Help Pin
LongRange.Shooter22-May-03 7:58
LongRange.Shooter22-May-03 7:58 
QuestionPerformance counter bug? Pin
solidstore22-May-03 7:51
solidstore22-May-03 7:51 
Generalcustom sections in .config files Pin
Anonymous22-May-03 6:43
Anonymous22-May-03 6:43 
GeneralRe: custom sections in .config files Pin
Anonymous22-May-03 6:45
Anonymous22-May-03 6:45 
GeneralRe: custom sections in .config files Pin
Anonymous22-May-03 6:48
Anonymous22-May-03 6:48 
GeneralRe: custom sections in .config files Pin
The Limey22-May-03 16:54
The Limey22-May-03 16:54 

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.