Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Shaun29

  1. Shaun29

    REGULAR EXPRESSION?

    I basically need to to set up a regular expression with this code so when i open my txtfile.text it finds all the differrent acronyms and when it does extract the whole line that the acronym is in here is a sample of my text file and a sample of my code any help would be highly appreciated "C FB...
  2. Shaun29

    can anyony help with instr and reg

    I basically need to to set up a regular expression with this code so when i open my txtfile.text it finds all the differrent acronyms and when it does extract the whole line that the acronym is in here is a sample of my text file and a sample of my code any help would be highly appreciated "C FB...
  3. Shaun29

    can any one tell me how I can use this code to select all varibles?

    i need to know how to get this to read all lines? objInputFile = objFSO.OpenTextFile(strInputFile, intForReading, False) strFoundText = "" ' Read the first line if the file is not empty While Not objInputFile.AtEndOfStream strLine =...
  4. Shaun29

    Mid, command ?

    got it figured out
  5. Shaun29

    can any one tell me how I can use this code to select all varibles?

    sorry not fimilar with code tag . if yo can read this i am trying to figure out a way to loop through my text file to find all strTextToFind = "C" need to find all "C" any sugestions?
  6. Shaun29

    can any one tell me how I can use this code to select all varibles?

    [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'SAW EXTRACT BUTTON ofd3.ShowDialog() If Not Me.txtFile.Text = "close" Then Dim instance As COMException ' Set this to the file...
  7. Shaun29

    can any one tell me how I can use this code to select all varibles?

    I fuger i need a loop statment any examples would be of help
  8. Shaun29

    can any one tell me how I can use this code to select all varibles?

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'SAW EXTRACT BUTTON ofd3.ShowDialog() If Not Me.txtFile.Text = "close" Then Dim instance As COMException ' Set this to the file to...
  9. Shaun29

    how Selecting more lines is it const config or ?

    is there a way i can use this to select all of these from my tect file? strTextToFind = "C" "FB" "S"
  10. Shaun29

    how Selecting more lines is it const config or ?

    This works!!! to where my strToFind will find my "SHT" but only one instance.. I have a text document with many instances of "SHT".in the line of text and I want them all this code gives me just one when I click to transfer into my selected file.. also how can I add more acronyms like "SHT"...
  11. Shaun29

    need write stament

    the system IO will not lte me write my array? 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...
  12. Shaun29

    Mid, command ?

    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...
  13. Shaun29

    How do can this IO work?

    i just ws using on open file dialog i just added another on and got it to work.
  14. Shaun29

    How do can this IO work?

    every time i use System.IO.File.AppendAllText(ofd.FileName, FileText) it writes text to the file i first selected

Part and Inventory Search

Back
Top