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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

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

    How do can this IO work?

    i tryed this but it does no work System.IO.File.AppendAllText(ofd.FileName, FileText)
  16. Shaun29

    How do can this IO work?

    can you give me an example System.IO.File.AppendAllText(Filename)???
  17. Shaun29

    How do can this IO work?

    basically I am trying to use the selected file in open dialog to write to instead of a pre-ordained "logfile" i want to select the file to write to? Me.txtFile.Text = "" ofd.ShowDialog() Me.txtFile.Text = ofd.FileName If Not Me.txtFile.Text = "" Then...
  18. Shaun29

    Simple code need to access file in text box

    but does that only select the A, O, L for say or the whole row A,O, L is in?
  19. Shaun29

    how to sort text in a text file

    ok so how would I use openfiledialog to open the first file?

Part and Inventory Search

Back
Top