Click here to Skip to main content
15,920,513 members
Home / Discussions / C#
   

C#

 
Questionhow to do screen recorder in C#? Pin
ping_jacob25-Jan-09 23:27
ping_jacob25-Jan-09 23:27 
AnswerRe: how to do screen recorder in C#? Pin
#realJSOP25-Jan-09 23:56
professional#realJSOP25-Jan-09 23:56 
QuestionRe: how to do screen recorder in C#? Pin
Nagy Vilmos26-Jan-09 0:55
professionalNagy Vilmos26-Jan-09 0:55 
AnswerRe: how to do screen recorder in C#? Pin
ping_jacob26-Jan-09 3:14
ping_jacob26-Jan-09 3:14 
AnswerRe: how to do screen recorder in C#? Pin
vaghelabhavesh26-Jan-09 3:39
vaghelabhavesh26-Jan-09 3:39 
Questionproblem with socket Pin
prasadbuddhika25-Jan-09 23:22
prasadbuddhika25-Jan-09 23:22 
AnswerRe: problem with socket Pin
Le centriste26-Jan-09 2:43
Le centriste26-Jan-09 2:43 
QuestionHow do I read this XML-file? Pin
MaWeRic25-Jan-09 23:07
MaWeRic25-Jan-09 23:07 
I have an XML file looking like this (just an example):

<br />
  <?xml version="1.0" encoding="UTF-8" ?> <br />
 <family><br />
 <name xmlns="http://www.opentrans.org/XMLSchema/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" type="standard"><br />
  <firstname>Tom</firstname> <br />
  <lastname>Smith</lastname> <br />
  </name><br />
  <name xmlns="http://www.opentrans.org/XMLSchema/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" type="standard"><br />
  <firstname>Dale</firstname> <br />
  <lastname>Smith</lastname> <br />
  </name><br />
  </family><br />



I can read up the document as a XMLDocument and navigate through SelctNodes if the Namespace attribute is not present. I have understood that I need to specify some kind of namespace using a namespace manager.

This is my code so far :
<br />
'Create objcts<br />
Dim m_xmld As XmlDocument<br />
Dim m_nodelist As XmlNodeList<br />
Dim m_node As XmlNode<br />
'Create the XML Document<br />
m_xmld = New XmlDocument()<br />
'Load the Xml file<br />
m_xmld.Load("D:\family.xml")<br />
'Get the list of name nodes <br />
m_nodelist = m_xmld.SelectNodes("/family/name")<br />
'How many nodes<br />
msgbox(m_nodelist.count)<br />



Anyone can fill in the missing parts for me? C# or VB.NET .. doesn't matter

Regards // M
AnswerRe: How do I read this XML-file? [modified] Pin
WebMaster26-Jan-09 2:44
WebMaster26-Jan-09 2:44 
GeneralRe: How do I read this XML-file? Pin
MaWeRic26-Jan-09 6:48
MaWeRic26-Jan-09 6:48 
Questionhow to insert a c#.net gridview in a column of another c#.net girdview? Pin
s_aslam9825-Jan-09 22:47
s_aslam9825-Jan-09 22:47 
AnswerRe: how to insert a c#.net gridview in a column of another c#.net girdview? [modified] Pin
MadArtSoft26-Jan-09 1:04
MadArtSoft26-Jan-09 1:04 
GeneralRe: how to insert a c#.net gridview in a column of another c#.net girdview? Pin
s_aslam9826-Jan-09 6:43
s_aslam9826-Jan-09 6:43 
Questionto produce full exe Pin
Zin Hsu Naing25-Jan-09 21:15
Zin Hsu Naing25-Jan-09 21:15 
AnswerRe: to produce full exe Pin
SeMartens25-Jan-09 21:30
SeMartens25-Jan-09 21:30 
AnswerRe: to produce full exe Pin
Not Active25-Jan-09 21:56
mentorNot Active25-Jan-09 21:56 
AnswerRe: to produce full exe Pin
Mr.Trever25-Jan-09 21:57
Mr.Trever25-Jan-09 21:57 
AnswerRe: to produce full exe Pin
PandemoniumPasha25-Jan-09 22:01
PandemoniumPasha25-Jan-09 22:01 
AnswerRe: to produce full exe Pin
Meysam Mahfouzi25-Jan-09 23:35
Meysam Mahfouzi25-Jan-09 23:35 
AnswerRe: to produce full exe Pin
Vimalsoft(Pty) Ltd25-Jan-09 23:55
professionalVimalsoft(Pty) Ltd25-Jan-09 23:55 
AnswerRe: to produce full exe Pin
Christian Graus26-Jan-09 0:19
protectorChristian Graus26-Jan-09 0:19 
GeneralRe: to produce full exe Pin
Dan Neely26-Jan-09 2:14
Dan Neely26-Jan-09 2:14 
Questioncan any body tell,how to add a table in a column of c#.net datagrid. Pin
s_aslam9825-Jan-09 19:55
s_aslam9825-Jan-09 19:55 
AnswerRe: can any body tell,how to add a table in a column of c#.net datagrid. Pin
Not Active25-Jan-09 20:34
mentorNot Active25-Jan-09 20:34 
GeneralRe: can any body tell,how to add a table in a column of c#.net datagrid. Pin
s_aslam9825-Jan-09 21:29
s_aslam9825-Jan-09 21:29 

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.