Click here to Skip to main content
15,867,939 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Neutralize click event on Tab Pin
dan!sh 16-Jan-10 23:58
professional dan!sh 16-Jan-10 23:58 
GeneralRe: Neutralize click event on Tab Pin
Paul Hasler19-Jan-10 3:15
Paul Hasler19-Jan-10 3:15 
QuestionXML Interaction Pin
The ANZAC16-Jan-10 19:03
The ANZAC16-Jan-10 19:03 
AnswerRe: XML Interaction Pin
Estys17-Jan-10 1:30
Estys17-Jan-10 1:30 
GeneralRe: XML Interaction Pin
The ANZAC17-Jan-10 13:50
The ANZAC17-Jan-10 13:50 
GeneralRe: XML Interaction Pin
Estys17-Jan-10 22:40
Estys17-Jan-10 22:40 
GeneralRe: XML Interaction Pin
The ANZAC18-Jan-10 1:14
The ANZAC18-Jan-10 1:14 
GeneralRe: XML Interaction Pin
Estys18-Jan-10 2:37
Estys18-Jan-10 2:37 
XML Specification

In short, XML is a structured document, conforming to a schema.
Unfortunatly tumblr does not provide this schema (an XSD).

XmlDocument class
When you load an XML document into an XmlDocument instance it creates an XmlNode for every tag encountered and adds it as a childnode to its parent.
To traverse all nodes you start at the XmlDocument instance (it actually is an XmlNode itself!).
The HasChildren property indicates whether the node has children, you can iterate over the ChildNodes collection to get the nodes (which can also have children themselve).
A node also has an Attributes collection which contains things like name, ID, type etc. that you see in the tags of the XML file
To find specific node(s) there are methods like SelectNodes and SelectSingleNode. These methods use XPath syntax.

It's possible to generate a classmodel for use in your program. You need to locate XSD.exe, it's somewhere in "C:\Program Files\Microsoft SDKs\Windows\...\bin"
This utily can generate an XSD schema from an XML file and a .vb classfile from the XSD. So capture the output from http://(USER).tumblr.com/api/read, save as xxxx.xml and feed the file to XSD.exe. Then feed xxxx.xsd to XSD.exe in add the resulting xxxx.vb to your project.
Make sure that the captured XML contains all tags and attributes described on the tumblr/api page
QuestionVB/Batch Scripting Pin
AndieDu16-Jan-10 17:01
AndieDu16-Jan-10 17:01 
AnswerRe: VB/Batch Scripting Pin
Garth J Lancaster16-Jan-10 17:57
professionalGarth J Lancaster16-Jan-10 17:57 
Questioncombo box in datagrid in vb6 Pin
sohil masani15-Jan-10 23:53
sohil masani15-Jan-10 23:53 
AnswerRe: combo box in datagrid in vb6 Pin
Eddy Vluggen16-Jan-10 9:01
professionalEddy Vluggen16-Jan-10 9:01 
GeneralRe: combo box in datagrid in vb6 Pin
sohil masani22-Jan-10 20:03
sohil masani22-Jan-10 20:03 
Questiondate from calender control into Crystal report. Pin
jeshra27915-Jan-10 8:40
jeshra27915-Jan-10 8:40 
AnswerRe: date from calender control into Crystal report. Pin
thatraja15-Jan-10 21:03
professionalthatraja15-Jan-10 21:03 
QuestionActiveDs.IADsComputer and ADSPath Pin
AURANEXT15-Jan-10 5:26
AURANEXT15-Jan-10 5:26 
AnswerRe: ActiveDs.IADsComputer and ADSPath Pin
AURANEXT15-Jan-10 5:55
AURANEXT15-Jan-10 5:55 
QuestionObject reference not set to an instance of an object. Pin
Saqib Jabbar15-Jan-10 1:31
Saqib Jabbar15-Jan-10 1:31 
AnswerRe: Object reference not set to an instance of an object. Pin
DaveAuld15-Jan-10 1:52
professionalDaveAuld15-Jan-10 1:52 
GeneralRe: Object reference not set to an instance of an object. Pin
Saqib Jabbar15-Jan-10 18:09
Saqib Jabbar15-Jan-10 18:09 
AnswerRe: Object reference not set to an instance of an object. Pin
Estys15-Jan-10 23:02
Estys15-Jan-10 23:02 
GeneralRe: Object reference not set to an instance of an object. Pin
DaveAuld16-Jan-10 0:32
professionalDaveAuld16-Jan-10 0:32 
GeneralRe: Object reference not set to an instance of an object. Pin
Saqib Jabbar17-Jan-10 18:07
Saqib Jabbar17-Jan-10 18:07 
AnswerRe: Object reference not set to an instance of an object. Pin
JoeSharp15-Jan-10 1:54
JoeSharp15-Jan-10 1:54 
QuestionData Grid Pin
Ganesh Joshi15-Jan-10 0:46
Ganesh Joshi15-Jan-10 0:46 

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.