November 28th, 2008, 01:26 PM
May I ask where this is going? If this is some form of school work (and it does rather look like a school project), then all I can really do is to point you in the way of ENUMs, and Using the...
November 28th, 2008, 07:55 AM
I should pay more attention to replies, shouldn't I? :P
I'd recommend defining an Integer called 'ErrorCount' inside the procedure (have a read through the link in my last post if you're unsure)....
November 28th, 2008, 07:50 AM
Don't worry about the questions - Everyone is a beginner at some point.
For the first part, I'm expect you're getting an error which isn't an XMLError, so it isn't processed in the catch section....
November 28th, 2008, 06:11 AM
You can set the text in a text box using TextBox2.Text =
As for displaying an ok message, the best Idea is to have a variable which counts the errors found. Then at the end of the test, you see if...
November 28th, 2008, 04:25 AM
Welcome to the Forums! :wave:
This sounds suspiciously like a school project, but I'd recommend looking at the System.XML Namespace (and the XMLDocument class in it). In fact, the XML validation...