does any one have an example of how i can use the mid ,left, right len command to write these dim characters and all text to left and right of the row from a text file and write them to a specific file chosen from my open file dilog?
basicaly i know i need to loop throw the text in my write statment so it finds the varibles an writes the varible plus all text from mid over 10,10 to my destination file.
here is my read statment and part of my mid
ofd3.ShowDialog()
If Not Me.txtFile.Text = "close" Then
'Read the existing file
Dim FileText As String = ""
FileText = System.IO.File.ReadAllText(Me.txtFile.Text)
'saw charaters
Dim C As String
Dim FB As String
Dim L As String
Dim RB As String
Dim S As String
Dim SB As String
Dim TS As String
Dim XS As String
'burn charaters
Dim PL As String
Dim SHt As String
Dim SR As String
'THEN USE ALL VARIBLES TO WRITE FROM READ FILE FROM MID
DEBUG.WRITELINES(MICROSOFT.VISUALBASICS.MID(,C,FB,L,RB,S,SB,TS,XS,PL,SHT,SR,'1 TO 10 OR WHAT EVER SELECTS THE LINE WITH THESE CHARACTERS ON THEM WITH THE RESIDING INFOMATION TO THE LEFT AND WRITE OF IT??
basicaly i know i need to loop throw the text in my write statment so it finds the varibles an writes the varible plus all text from mid over 10,10 to my destination file.
here is my read statment and part of my mid
ofd3.ShowDialog()
If Not Me.txtFile.Text = "close" Then
'Read the existing file
Dim FileText As String = ""
FileText = System.IO.File.ReadAllText(Me.txtFile.Text)
'saw charaters
Dim C As String
Dim FB As String
Dim L As String
Dim RB As String
Dim S As String
Dim SB As String
Dim TS As String
Dim XS As String
'burn charaters
Dim PL As String
Dim SHt As String
Dim SR As String
'THEN USE ALL VARIBLES TO WRITE FROM READ FILE FROM MID
DEBUG.WRITELINES(MICROSOFT.VISUALBASICS.MID(,C,FB,L,RB,S,SB,TS,XS,PL,SHT,SR,'1 TO 10 OR WHAT EVER SELECTS THE LINE WITH THESE CHARACTERS ON THEM WITH THE RESIDING INFOMATION TO THE LEFT AND WRITE OF IT??