Advertisement

Results for "Category: Files/ File Controls/ Input/ Output"

3_2004-2005 #143956
GetFolderPath

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.

3_2004-2005 #144001
KeybClass

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

3_2004-2005 #144021
Rename file

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.

3_2004-2005 #144047
Dir Monitor Update

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.

3_2004-2005 #144053
SplitMaster

Splits large files into smaller ones.

3_2004-2005 #144061
Alternative FileCopy - Use to copy opened access databases or to copy a file and make a prog. bar

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

3_2004-2005 #144063
Boolean function that compares two files to see if they are identical

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.

3_2004-2005 #144068
Determine if File Is Old

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.

3_2004-2005 #144091
Auto Search File List Box

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.

3_2004-2005 #144095
Listview Address Book

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.

3_2004-2005 #144128
Link File Properties (Set, Retrieve)

Retrieves and set's a Link File's(.lnk) attributes(Target, Directory, Description, Icon Path, Icon Index, .ect..). This project was requested by Lawrence.

3_2004-2005 #144147
_BartNet Explorer_

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.

3_2004-2005 #144192
Forms Tabstrip and Dir select

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.

3_2004-2005 #144203
Using Hotkeys

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.

3_2004-2005 #144205
Easy Key Logger With Nice Interface

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.

3_2004-2005 #144209
IconWorks

Make your icons. This is a test, the real one likes just like this one. Have PhUn!

3_2004-2005 #144223
Mass Mailer

Manda emails masivos, en varios formatos con attachments.Exelente Programa (No Bugs)

3_2004-2005 #144251
User Options into Random Access File

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.

3_2004-2005 #144258
Quick & Easy File Search

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 :).

3_2004-2005 #144267
Make quick executable from visual basic projects

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.

Languages
Top Categories
Global Discovery