Advertisement

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

ASP_Volume2 #35207
Modify File Attributes

Easy to use module. Allows you to modify any file attributes, for example make a file hidden, read-only and archived.

ASP_Volume2 #35234
put dir,drives,and files in one list box

This code will put all the files,drives,and dirs into one list box. This is pretty simple but please leave comments and vote for this code. This works extremely well.

ASP_Volume2 #35265
Removing a registry entry

After you have read my tutorial on adding a registry entry no doubt now you will want to be able to remove it as well.

ASP_Volume2 #35266
FileCopy thru Looping

Are you a database programmer? Did you ever have to move a bunch of data files from your desktop tp the server or back? Well he is an app that can help you move lots of files with the same .ext while looping thru the subfolders of that directory to find them and copy them to the new location in the same subfolder name they came from. I used FileSystemObject for this action. Nobody's code did any looping thru SUBFOLDERS.

ASP_Volume2 #35270
clsFile / colFiles (File search and File properties API classes) FAST!!!

I use these two classes to encapsulate a whole host of file oriented API calls... allowing me treat files as objects in my code and with the speed that is gained by going through the API. The clsFile class wraps around a single file, and exposes a whole host of properties of a file (and the volume it is on) including: 16 bit equivalent path, parsed filename, size, attributes (readonly, system, archive, etc), dates (created, accessed, and modified) and volume properties: label, serial no., is a cdrom, fixed disk, remote, network path, unc info, etc. (see the screen shot for the full list). Besides being a read only property class, I have modified the .Attributes enum and the .DateLastModified properties to allow changes... so that when you change the properties on the class, the corresponding properties on the file are modified. Eventually, this class could also be modified to extend functions such as Rename, Delete, Copy and Move that would work through the Windows Shell. I have the code to do this, but never bothered patching it in since in my coding, I never ran into the situation where I needed to do these actions with the file object by itself. The colFiles class acts as a collection for the clsFile class. In addition to the methods you would expect from a collection, this class also encapsulates the API functions for file searching (including recursive directory searches). If you EVER intend to use a file search in your applications, going through the API is the ONLY way to achieve this in my opinion. You'll find many examples that try to use directory list boxes to perform file scans, but these examples will be painfully slow. The API, on the other hand, is extremely fast. As fast as the built in Find/Search screen in Windows Explorer. Plus... you are able to search through paths other than your mapped drives. This covers the entire Windows Explorer directory tree (network drives, namespace extensions, etc). Don't judge this class by the screen shots before knowing that in the screen shot example, I was searching across my network which consists of a slow 10Mb hub. You'll have to try it for yourself on your set up to see why I swear by these two classes when performing seek and file property operations. For updates to this or other cool vb code or controls, check my web page:                                                                                                          http://members.tripod.com/thefrogprince/                                                                                                          If you are not currently involved in the coding contest, I WOULD REALLY APPRECIATE YOU VOTING FOR MY CODE. Will only take a minute or two to make an account, and while it won't make me any money... =) it will encourage me to keep posting good quality code and controls like this one. (check out my other posts too). =)

ASP_Volume2 #35275
Make Wave

Listen to your exes! Write your own wav-files. This program turns any file to a wav.*-file. Learn the wav-header. Feedback please!

ASP_Volume2 #35281
File Dialog Class (replace common dialog control with this lightweight class)

Replaces Microsoft's common dialog control file dialog features. Uses same interface to call the FileOpen and FileSave dialogs including multiselection support. Instead of making a more versatile control with print dialogs, color dialogs, and hooking, I decided to make a very lightweight one since the CommonControl Print and Color Dialogs are essentially useless. I could have added hooking functionality, but that would involve including a standard module as well. The only major benefit of hooking is the ability to center the dialog. However, with this code, as long as you specify the form's handle, it will position the dialog to the upper left of the form This is a direct replacement to the Microsoft CommonDialog control and will involve very little Change in coding to implement.

ASP_Volume2 #35290
Add all files in a directory to a listbox / or a certain type.

**Update** I fixed a small problem. I founf while working on my Mp3 player. It wouldn't add any files in the current directory, say "mp3s" it would all all sub dirs... //Original\\My code adds a certain type of file to a listbox or all files. As an example I used .mp3 file extentions. This isn't like those gay ones that add just the files in the current directory, it adds all the files in Sub Directories too.

ASP_Volume2 #35299
Auto Delete Self Program

This Code will delete the Program Right After it close..

ASP_Volume2 #35308
Advanced Directory List

This gives you the Windows 95+ directory listing with My Documents, Desktop, etc. Two projects are included in this zip, one that has the project as an executable, one that has it as an ActiveX usercontrol. Simple code, lots of comments. Please leave feedback and vote!

ASP_Volume2 #35335
Scrounge

Extracts all dependency information (.dll's and .ocx's) from an executable, and returns the information in a listbox. Also has the option of saving the information to a comma-delimited file.

ASP_Volume2 #35361
Game Editor/Hex input-output

This is a big update from the other editor I posted here. This inlcudes: A status Bar, which holds the tooltiptext, A Tab Strip, and updated use of the CommonDialog Control. In this code, you will find out how to convert an ASCII (from a file) string to Hex and then Decimal. Then convert the decimal back to hex and write it back to the file. This is code also includeds a lot more intrinsic documentation. 9K Download......Ha! Have fun with this baby. UPDATED: MARCH 11th 2000. Now uses an UpDown Control in sync wiht the txtCASH control.

ASP_Volume2 #35371
A+ Secure Delete Program

this code takes a file in which you specify, overwrites it 21 times, then deletes it all in about 1-2 seconds depending on the size of the file, i have seen other secure delete programs here but i think that this is for the most part more efficient, it overwrites it 20 times with a bunch of random characters, then for the 21st overwrite it puts 10 bytes in, decreasing the files size to a minimum (almost), after it has overwritten the file 21 times, it deletes it using the 'Kill' statement. as far as i know this program deletes the file clear off your hard disk, maybe a program like norton utilities could recal i but i couldn't find any traces of the deleted file. P.S. im looking for any comments/suggestions to improve the eficiency of this program.

ASP_Volume2 #35372
A 'Dummy' File Generator

generates a 'dummy' file which can be any type and any number of kilobytes. 110% commented just like my code 'A+ Secure Delete'. purpose is to generate files, so not much of a purpose. i just saw it in a couple of hacking/security programs and thought i'd try it.

ASP_Volume2 #35373
A substitute 'FileCopy'

i'd imagine this has been done before, but if it has i haven't seen it. all it is is a substitute for the FileCopy statement. copies a file byte-for-byte to a new destination. 110% commented just like 'A+ Secure Delete' And 'A "Dummy" File Generator' (both by me). well hope you like this.

ASP_Volume2 #35380
File Copy Class with Buffer Support (HOT)

Well, i saw all the submissions on FILE copy, and i decided to share my buffered copy class. Worth a look if you are looking for a screamming fast file copy (excells on large files and floppy disk access - physical reasons:), oh, and before i forget... it has PERCENTAGEREADY support... u can update a label or a progress bar with it.

ASP_Volume2 #35382
Hex Editor with LOTS OF COMMENTS

You know the hex read out that a hex editor would give you. It does create one of them using a hell of a lot of string manipulation and intellegnce. It is about as quick as VB would let you get and the princible can be used for just about anything envolving file manipulation, encoding, string manipulation, etc. Future versions will include a save function (easy enough to do but i dont have the time to do it now!) and the code will work in any version of VB (although you may have to copy and paste it from notepad 'cause the code was done in VB5)!

ASP_Volume2 #35388
INI Read and INI Write - Simple and Error Free

INI Read and INI Write made simple. I included examples in each function. If you like my codes, then please vote for me. But only if you like them. Thanks =)

ASP_Volume2 #35414
Passworded

Sorry guys about my other code....i compiled the exe with it and i found out i had the cih..i cleaned my system ..but im not gunna add exe files to the zip's anymore...sorry about my other code... this is somethin u can use for a startup of a program for password stuff...you can create new accounts for username and passwords...it works..no bugs..no exe file in this one

ASP_Volume2 #35417
DirectoryToTreeToFileToTree

Read a directory and fill a treeview and a file. Load the file to another treeview. Updated! New useable interface! Faster!

Languages
Top Categories
Global Discovery