Results for "Category: Files/ File Controls/ Input/ Output"
This simple sub routine is used to map out a directory tree starting with any given path. Can be easily modified to perform any task that requires scanning folders. THIS IS RECURSIVE!
This is a file chat program that lets users chat to each other without the aid of ip addresses and winsock controls, all it needs is the location to a shared area on your network where the room files will be created then every one else enters that address in there program and then you are able to chat to each other. This program also contains static rooms that you can go to so you dont have to stay in the same room all the time. Also by the press of a button it changes into a replica of notepad in case any one comes along that might not like you chatting.It worked in my school...lol!! PLEASE TELL ME WHAT YOU THINK.
Binds a unlimited number of files into 1.
Simple Function designed to upload single/multiple files from VB using just Inet control, Label and the Function.
I've seen requests for this in the mail lists to here it is. This uses the windows scripting runtime to get the path to the requested directory. For example, as you know, the windows directory can be C:\Winnt\ , c:\windows\, etc. This code will retrieve the correct path to the directory. 'Currently written to get the Windows, System32, or Temp directory. Add others as you'd like.
This code demonstrates how to capture keyboard inputs all over windows. A class module is provided, and a 2nd example is provided to capture all keyboard keys, including special keys
This will rename a file in one line of code. Very simple so I do not expect to be voted for but Comments are nice.
Monitor all files in a directory & subdirectories for any change in size, attributes, date, access date, modified date, name, and more. Fixed some missed events from last version, and added a few more. Also, added the ability to check sub directories, and add search filters (*.exe, etc..) Also switched to a class based timer, and api file/directory calls instead of slow dir/fso calls. Special thanks to Dana Seaman for the suggestions and input on this update.
Splits large files into smaller ones.
I made this code because I need to copy an access database with the file open (in use). But, visual basic FileCopy method and windows apis for this pourpose fails in this case with the "File Access Error". So, I made this function that copy the file in blocks. You can alter the block size so the copy can be faster or slower. Well, thats it. I hope that this code can be useful to anyone! Ah, the error handle was generated with Ax-Tools CodeSmart 2001, an excelent Add-In for any visual basic programmer! Recommended! :) www.axtools.com
This boolean function simply reads in two files and compares them to see if they are the same. It returns true if they are and false if they aren't. I quickly wrote this up to compare text files against template files.
Determines if a file is old. I use this when I loop through the files in a "temp" directory to determine if I should delete old files on a website. Take note - the function looks at the last modified date rather then the date created.
Uses a text box as the search field the letters you enter are the changes represented in the FileList Box. There are a number of code snipets included for testing. Haven't seen this around I made it cause i needed a way to quickly search the long list of code snipets i was getting and had stored in a single folder.Could also be used with the dirListBox to search as you clicked on a new directory.
reads a file line by line and parses data using a delimiter fron each line into relevent collums in a listview. oops sorry forgot a delete but you guys can do that as im doing something else at the moment.
Retrieves and set's a Link File's(.lnk) attributes(Target, Directory, Description, Icon Path, Icon Index, .ect..). This project was requested by Lawrence.
BartNet Explorer is a bit like Windows explorer. It uses the Microsoft Scripting Runtime reference to find the files and folders. Some options include changing views, creating new folders, viewing file and folder information and refresh view.
Two pre made forms (Tab Strip and a dir select) ready to put into your apps from the VB project window. Form1 = 31 lines of code giving you a 6 window Tab form to start working with. Form2 = 13 lines of code giving complete access to you file system with minimum code. Just unZip to your forms file which by default would be somthing like "C:\Program Files\Microsoft Visual Studio\VB98\Template\Forms" then launch VB and add a form you will find them their. Saves me ages, I do have other forms but will only add them if people vote for these. JP keep on coding.
An Example how to use and create hotkeys If you Download, Please rate it first. You can do me a favour if you do that! Thanks.
Receives keystrokes from user, including mouse buttons and all keys. Writes all input to a text file and can be hidden in stealth mode! ONLY ONE API CALL WITH EASY TO FOLLOW CODE! Votes and comments are strongly encouraged and appreciated.
Make your icons. This is a test, the real one likes just like this one. Have PhUn!