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.
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
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
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
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
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...
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...
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...
I have a script that dials into a bbs and chooses a 1 on the menu and if there are no file to download the script ends. I need the script to bypass the download section and continue to option 2 and if there are no files to download then bypass the download section and try option 3.
If on...
when i log onto a website that open a citrix connection the ica client open and then another one opens and another one and it continues forever tell i go into task manager and kill them all. any ideas what is causing this. It only happens on me PC (Windows XP). I can go to a different pc and...
Has anyone done this:
When connected to a BBS with procomm and the BBS echos back to the screen "AECN: RECEIVED CLAIMS" I need to have an If statement to watch for this and if this echos to the screen then termmsg a "Successful", Else termsg a "UnSuccessful".
Thanks.
I am do an FTP download from a remote site and the filename of the file being downloaded our 82-86 characters. When the script downloads the file it only saves the last 6 characters. If I open a procomm windows and drag the file manually the whole filename is copied over fine. Any ideas why...
Does anyone know of an FTP program that you can set up a connection but have the connection also dial a windows dial up modem (or program the phones number in to the settings.) It would also be have to do SFTP and SSL and having a scipt edit would be great you i could have Procomm call up this...
Is there a simple was to open a text file and search for a string, then from the start of that string read in 10 character to a varible. Or is there a way to search a string with wildcard character? (examlpe the string may have AK5~A or AK5*A or AK5-A, can I use a STRFIND command to find AK5?A...
I need to ftp file from the remote site down to my pc. I need to only download the files that have .PGP on them and then rename these files on the remotes file to .old.
Any Ideas.
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.