Click here to Skip to main content
16,004,991 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Remoting Pin
RG_SA23-Oct-07 8:46
RG_SA23-Oct-07 8:46 
GeneralRe: Remoting [modified] Pin
Dave Kreskowiak23-Oct-07 9:21
mveDave Kreskowiak23-Oct-07 9:21 
Questionsharing info with other programs Pin
cj433123-Oct-07 3:03
cj433123-Oct-07 3:03 
AnswerRe: sharing info with other programs Pin
Dave Kreskowiak23-Oct-07 4:40
mveDave Kreskowiak23-Oct-07 4:40 
GeneralRe: sharing info with other programs Pin
cj433123-Oct-07 10:24
cj433123-Oct-07 10:24 
GeneralRe: sharing info with other programs Pin
Dave Kreskowiak23-Oct-07 10:30
mveDave Kreskowiak23-Oct-07 10:30 
GeneralRe: sharing info with other programs Pin
cj433123-Oct-07 10:43
cj433123-Oct-07 10:43 
Questionproblem in Node.InsertAfter method() Pin
koolprasad200323-Oct-07 2:27
professionalkoolprasad200323-Oct-07 2:27 
hi frnds,
i am using Visual basic DOM
my XML is like

<study>
<subject id="1">
<sub-topic> fast </sub-topic>
</subject>
<subject id="2">
<sub-topic> fast1 </sub-topic>
</subject>
</study>

i have to remove all the <sub-topic> node and insert them before the
<subject id="1"> tag

i have do the code...But can't supported pl...show me the way

here is my code
[CODE]
oNodeStudyList = objdom.getElementByTagName("study")
oNodeList = objdom.getElementByTagName("subject")
dim i as integer
dim iCount as integer
for iCount = 0 to oNodeStudyList.Length -1
for i = 0 to oNodeList.length -1
Set oNode = oNodeList(i)
if oNode.haschildnodes then
Set oDemoNode = Node.InsertBefore(node.childnode(0),oNodeStudyList.childnode(0))
end if
next
next

[/CODE]
first <sub-topic> will be added successfully
but then it can't find the second the <sub-topic>

where i am wrong....?

please help...
regards,
koolprasad2003Smile | :)


Be a good listener...Because Opprtunity knoughts softly...N-Joy
AnswerRe: problem in Node.InsertAfter method() Pin
pmarfleet23-Oct-07 3:32
pmarfleet23-Oct-07 3:32 
GeneralRe: problem in Node.InsertAfter method() Pin
koolprasad200323-Oct-07 17:33
professionalkoolprasad200323-Oct-07 17:33 
GeneralRe: problem in Node.InsertAfter method() Pin
pmarfleet23-Oct-07 21:26
pmarfleet23-Oct-07 21:26 
QuestionVB.Net on Mac OS X Pin
ryan11723-Oct-07 1:55
ryan11723-Oct-07 1:55 
AnswerRe: VB.Net on Mac OS X Pin
Guffa23-Oct-07 2:54
Guffa23-Oct-07 2:54 
GeneralRe: VB.Net on Mac OS X Pin
ryan11726-Oct-07 0:23
ryan11726-Oct-07 0:23 
Questionhow to disable date in calender? Pin
sathyan_829423-Oct-07 1:29
sathyan_829423-Oct-07 1:29 
AnswerRe: how to disable date in calender? Pin
Christian Graus23-Oct-07 1:46
protectorChristian Graus23-Oct-07 1:46 
QuestionClass process fails running from network drive ?? Pin
edmonson23-Oct-07 1:02
edmonson23-Oct-07 1:02 
AnswerRe: Class process fails running from network drive ?? Pin
Dave Kreskowiak23-Oct-07 4:19
mveDave Kreskowiak23-Oct-07 4:19 
GeneralRe: Class process fails running from network drive ?? Pin
edmonson24-Oct-07 3:59
edmonson24-Oct-07 3:59 
GeneralRe: Class process fails running from network drive ?? Pin
Dave Kreskowiak24-Oct-07 13:42
mveDave Kreskowiak24-Oct-07 13:42 
QuestionFlex Grid Pin
Sinchan Nikam23-Oct-07 0:55
Sinchan Nikam23-Oct-07 0:55 
AnswerRe: Flex Grid Pin
Dave Kreskowiak23-Oct-07 3:54
mveDave Kreskowiak23-Oct-07 3:54 
Questioncrystal report problem Pin
magedhv23-Oct-07 0:43
magedhv23-Oct-07 0:43 
AnswerRe: crystal report problem Pin
AliAmjad23-Oct-07 1:25
AliAmjad23-Oct-07 1:25 
GeneralRe: crystal report problem Pin
magedhv23-Oct-07 2:04
magedhv23-Oct-07 2:04 

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.