Click here to Skip to main content
15,949,741 members

Comments by Chaegie (Top 5 by date)

Chaegie 21-Mar-19 11:29am View    
below is my sample xml input. i load the said xml using xdocument

<xpre id="123"><para>the quick <bold>brown</bold> fox jump over the lazy dog. The house full of excitement. The blue car is very nice</para>




i have an object

object x;
x.ID= 123;
x.startIndex =20
x.endIndex = 24
x.Opentag = <action>
x.Closetag =

expected Output.

<xpre id="123"><para>the quick <bold>brown</bold> fox <action>jump</action> over the lazy dog. The house full of excitement. The blue car is very nice</para>
Chaegie 7-Apr-15 12:17pm View    
i need to insert an element after the closing record . please refer to my expected output
Chaegie 15-Jun-10 2:31am View    
in .net there is an option called try and catch.. so any problem within code that was written inside the try statement.. .net will fire it in catch statement telling what seems to be the problem.
so in your case.. upon writing in the usb and during writing there is a problem it will fire in catch statement.. like onerror go to.. something like that..
Chaegie 15-Jun-10 2:20am View    
here it is.. hope you can find some logic on it.

Dim arValues() As String = txtFile.Split(vbcrlf)
For i = 0 To arValues.Count -1
''do some coding here
Next
Chaegie 13-Jun-10 4:09am View    
Thanks for the reply but i need to use xml document for the reason that the rest of the code uses xml document. This is an existing application and i need to change due to some request.