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 SkipVought 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: *

  • Users: Matta25
  • Order by date
  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
  16. Matta25

    schelding program

    Hello, Does anyone know of a good schelding program to use with Procomm? I need one that can see a file in a folder and if it matched the file a procomm script will run. It would be realy nice to be able to use wildcard character in the condiction. For example if the filename is...
  17. Matta25

    come port settings

    Thank you all for the help the set modem connection "direct connect-none" works great.
  18. Matta25

    come port settings

    Can I set the Current Modem/Connection to direct connect-none in ascpect?
  19. Matta25

    come port settings

    Or is there a way to get the comport in the status bar to a variable. What I mean is, If I launch a script can I get that comport the procomm window has in the status bar so I can tell the script not to use that comport. Thank Again.
  20. Matta25

    come port settings

    When a procomm window is on the screen, at he bottom of the window there is a status bar (it have the 4 red lights on it). The third box says Direct Connect-Com3. I have 3 modem on this PC and if the script finds the modem on com1 the status bar changes to Direct Connect-Com1. Is there a way...

Part and Inventory Search

Back
Top