Actually my requirement is some thing like this...
I'm writing a parser which has standard xml format which will be written in a file like this
"<TESTDATA><FACTORY NAME=""SAKTHI"" TESTER=""" & Getcontent(97, ":", 1) & """ /></TESTDATA>"
and this parser has to watch a folder constantly and then once file is dropped then the parser should read the contents and then execute this xml which means Getcontent(97, ":", 1) has to be translated as "Passed" . "Passed" is nothing but the string in the 97th line's first value of the tester log after splitting using : ...
97th line is as below
H UUT Result: Passed
so whenever any file is dropped into that folder the parser reads the file and then reads the xml from the xmlinput.txt file and then translates the xml....
This xml will vary incase if we are asked to read some more contents in 4th line and 8th line....
So now if i read the content of the xmlinput.txt and then write it to a RichTextbox, vb just just writes as it is
"<TESTDATA><FACTORY NAME=""SAKTHI"" TESTER=""" & Getcontent(97, ":", 1) & """ /></TESTDATA>"
but instead i want
<TESTDATA><FACTORY NAME=""SAKTHI"" TESTER="Passed" /></TESTDATA>[
How to do this????? Scripting has some limits since some of the vbcommands wont work and Memory Management is very important for parser....