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 TouchToneTommy 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 Matta25

  1. Matta25

    count how many times a string is in a text file

    Does any one know how to count how many times a sting is in a text file using VB.net. If you have a sample of opening the file and count the string and then writing the number to a new text file, that would be great. Thank you.
  2. Matta25

    right click

    Thanks, I have the unzipping code writen already. I not sure how to tell VB.net the filename I right clicked on to feed to the program in the "send to" menu. Any samples of this. Thanks
  3. Matta25

    right click

    Hello, I would like to put my exe in the "Send to" right click menu. I then want to be able to right click on a .zip file and goto "Send to" and then click on the exe and have the proogram unzip the file. Any ideas on how to pass the filename I click on to the program? Thanks
  4. Matta25

    filename in a variable

    Thanks for the sample earthandfire. Thank did it. Thanks again
  5. Matta25

    filename in a variable

    I looked at it and i'm still stuck. Any sample code to do this. thanks
  6. Matta25

    filename in a variable

    Hello all, I'm very new to VB in general. I'm using VB.net. I have many *.txt files I need to open and read a line. How can I tell VB.net to find the *.txt files in a c:\test folder and place the whole name (and or Path) in to a varaiable. Thanks
  7. Matta25

    deleting the last line of a text file

    That did it. Thanks Knob
  8. Matta25

    deleting the last line of a text file

    It just using a findfirst command to get a filename and using the fputs to write the filename to the file.
  9. Matta25

    deleting the last line of a text file

    Hello, I'm writing data to a text file using hte Fput Append Text command. When the last string is written the file has a blank line at the end. I there an easy way to delete this blank line? thanks
  10. Matta25

    delete dupliocate lines in a text file

    I found my answer on Knob's web site. Thank for the help.
  11. Matta25

    delete dupliocate lines in a text file

    I have a text file with a list of names in alphabetical order. There are multiple name that are the same. Is there a way to delete the line with dupicate name so I have a list wilth no dupliacte names. Thanks
  12. Matta25

    download file writing to screen

    Has anyone seen this happen before. I have a script that is downloading a file, then about half way through the download procomm starts writing the rest of the file to the screen and I then have an incomplete file. I'm not sure why this is happening and if there is a fix for this. (The...
  13. Matta25

    searching a file from the bottom of a file up

    I just put this script together that will search the file for a string then write that line plus the next 8 lines to a file. (These 9 line have totals on them.) Is there a way to continue searching the file for the same string and if it finds the string again, write the line to another file...
  14. Matta25

    searching a file from the bottom of a file up

    Or can i search for a string and then read in the next line after that string. (The string will be on a different line all the time.) Thanks
  15. Matta25

    searching a file from the bottom of a file up

    Is there a way to Fseek to the end of file and then move up 13 lines and read in that line. Thanks

Part and Inventory Search

Back
Top