Click here to Skip to main content
15,890,408 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: math.round function has a bug? Pin
Guffa25-Jul-08 12:45
Guffa25-Jul-08 12:45 
GeneralRe: math.round function has a bug? Pin
Kel_25-Jul-08 23:16
Kel_25-Jul-08 23:16 
AnswerRe: math.round function has a bug? Pin
ghle26-Jul-08 4:52
ghle26-Jul-08 4:52 
AnswerRe: math.round function has a bug? Pin
Thomas Stockwell28-Jul-08 2:15
professionalThomas Stockwell28-Jul-08 2:15 
Questionpage authorization Pin
Ebube24-Jul-08 22:21
Ebube24-Jul-08 22:21 
AnswerRe: page authorization Pin
Steven J Jowett24-Jul-08 22:30
Steven J Jowett24-Jul-08 22:30 
GeneralRe: page authorization Pin
Ebube28-Jul-08 23:49
Ebube28-Jul-08 23:49 
QuestionXML Attributes from XML File Pin
Andrew Streetman24-Jul-08 16:11
Andrew Streetman24-Jul-08 16:11 
I am designing an application that will be able to read and write XML files. The XML Files use XML formatting with a Document Type Definition.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE scheme SYSTEM "scheme.dtd">
<scheme date="20060312">
	<title>Example Scheme</title>
	<description>This is an example scheme</description>
	<drawers>
		<drawer id="d1" label="Drawer 1"/>
		<drawer id="d2" label="Drawer 2"/>
		<drawer id="d3" label="Drawer 3"/>
		<drawer id="d4" label="Drawer 4"/>
		<drawer id="d5" label="Drawer 5"/>
		<drawer id="d6" label="Drawer 6"/>
		<drawer id="d7" label="Drawer 7"/>
		<drawer id="d8" label="Drawer 8"/>
	</drawers>
</scheme>


I haven't ever worked with XML in VB.. (Either VB6 or .NET)
I am using VB.NET 2005.

I need to be able to read the attributes into text boxes dynamically.
The number of Drawers is Dynamic so it could be anything from 1 to 1000.

Each row would need to contain the ID and Label. Sort of like a grid view.

Does anyone have any pointers on where I should start? I can load the XML file and show it in a treeview or a single textbox, but I cannot seem to figure out how to pull the attributes only. I know the XML file is strange since it uses no Text between brackets, just attributes inside the brackets.

Thanks,
Andrew Streetman
AnswerRe: XML Attributes from XML File Pin
Mycroft Holmes24-Jul-08 19:40
professionalMycroft Holmes24-Jul-08 19:40 
QuestionHow to search specific record faster Pin
MAP Tiger24-Jul-08 14:08
MAP Tiger24-Jul-08 14:08 
AnswerRe: How to search specific record faster Pin
Guffa24-Jul-08 15:07
Guffa24-Jul-08 15:07 
GeneralRe: How to search specific record faster Pin
MAP Tiger25-Jul-08 1:23
MAP Tiger25-Jul-08 1:23 
GeneralRe: How to search specific record faster Pin
Guffa25-Jul-08 1:48
Guffa25-Jul-08 1:48 
GeneralRe: How to search specific record faster Pin
MAP Tiger25-Jul-08 3:26
MAP Tiger25-Jul-08 3:26 
GeneralRe: How to search specific record faster Pin
MAP Tiger25-Jul-08 10:45
MAP Tiger25-Jul-08 10:45 
AnswerRe: How to search specific record faster Pin
Mycroft Holmes24-Jul-08 19:43
professionalMycroft Holmes24-Jul-08 19:43 
GeneralRe: How to search specific record faster Pin
MAP Tiger25-Jul-08 1:15
MAP Tiger25-Jul-08 1:15 
GeneralRe: How to search specific record faster Pin
Mycroft Holmes25-Jul-08 13:39
professionalMycroft Holmes25-Jul-08 13:39 
GeneralRe: How to search specific record faster Pin
MAP Tiger25-Jul-08 13:50
MAP Tiger25-Jul-08 13:50 
GeneralRe: How to search specific record faster Pin
Mycroft Holmes25-Jul-08 15:41
professionalMycroft Holmes25-Jul-08 15:41 
GeneralRe: How to search specific record faster Pin
MAP Tiger25-Jul-08 16:19
MAP Tiger25-Jul-08 16:19 
GeneralRe: How to search specific record faster Pin
Mycroft Holmes25-Jul-08 16:33
professionalMycroft Holmes25-Jul-08 16:33 
GeneralRe: How to search specific record faster Pin
MAP Tiger25-Jul-08 16:45
MAP Tiger25-Jul-08 16:45 
QuestionThreading question Pin
Cory Kimble24-Jul-08 9:23
Cory Kimble24-Jul-08 9:23 
AnswerRe: Threading question Pin
Luc Pattyn24-Jul-08 16:51
sitebuilderLuc Pattyn24-Jul-08 16:51 

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.