Results for "Category: Files/ File Controls/ Input/ Output"
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!
Manda emails masivos, en varios formatos con attachments.Exelente Programa (No Bugs)
If you would prefer not to fool around with the Windows Registry, you can save a user's options in a random access file instead. Random access files are fast (much faster than database files) and allow you to organize the user uptions as database-like records that may be accessed separately from one another. You can overwrite a single record without affecting or even needing to read the others. This code also shows how to give the user a right-click option to change the size of or hide the toolbar. Finally, it shows an optional splash screen. If your users hate splash screens (most do), but your graphic artist insists that you include one, give the user the option of shutting it off. Note: You need the icons included in this zip file for this code to run right.
This is second upload of this app, after I fixed some bugs... This program is searching for a specified file, you can use all the wild card combinations I personaly know of like * ? and just regular file names, from what I've seen its also does this pretty quickly. Hope you all like it :).
This code will make an executable file from your visual basic project (vbp file) without having to go to Visual Basic and select Make exe. It's a part of a bigger program i am working on, program that i will post here on psc as long as i will finish. The reason why i'm submitting this code it's to demonstrate the capabilities of shellexecute and the /make switch of visual basic.
Say a Pc technician is in a hurry and has just finished servicing serveral pc/s, instead of calling every customer to explain his/her modifications he performed, he uses Message Report. When Run on a system is edits the registry and adds the "LegalNotice" command to the Winlogon file, so when the customer starts his computer next time he sees a nice little windows message box with helpful information about what the technician did. It runs only once then deletes it self along with all the temporary files that were added to the customers PC.
This code is a input feature that shows how to take a keypress on a textbox and either add, subtract or set current date. + key will add 1 day, - will subtract ond day, and = sets current date. This helps with getting dates from users.
Zip-it is an example program that uses JAVA Class to compress multiple files into ZIP file. Zip file created is compatible with ZIP format and can be opened by WINZIP , WINRar etc. Program does not shell out in order to compress the files instead Java Class object reference is created inside VB program. Only compress function is supported right now.. but if there is demand for it I can write de-compress code as well. Enjoy! >>Please Comment and/or Vote.. Thanks