sergeysagan
Member
- Joined
- Sep 10, 2003
- Messages
- 7
How do I insert the next line character into my txt-based file in Visual BAsic .NET
Here is how my code goes:
Now this " " needs to be changed to a carriage return(Next Line, Enter Key, etc.) what would I put, I searched all of VB help and could find out how to do it.
(By the way in C its "/n")
Thanks,
Serj
http://www.enhancementresearch.com
Here is how my code goes:
Code:
Now, finaly lets add the actual link
FileOpen(1, LinkFileDir LinkFileName, OpenMode.Input)
Put the contents of the file into our variable
LinkFileValue = InputString(1, LOF(1))
Check to see where in the string we need to be.
LinkFilePos1 = InStr(1, LinkFileValue, "<tr style=mso-yfti-irow:40;mso-yfti-lastrow:yes>")
Manupulate the sting adding our new link
LinkFileValue = LinkFileValue.Insert(LinkFilePos1, " ")
(By the way in C its "/n")
Thanks,
Serj
http://www.enhancementresearch.com