Advertisement

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

C_Volume2 #76194
____A simple filereader & writer____

This is a simple file reader\writer, it demonstrates how to use a filesystemobject and a textstream to write text to any file and to read text from any file.

C_Volume2 #76197
A ****** File Splitter

Need a file splitter? Here is the good one.(NO BUG FOUND/REPORTED IN MORE THAN 2.5 YEARS) You can split any type of file with this. PLEASE VOTE FOR ME because this code shows how to write to files in binary mode and to make a batch file at run time. This program opens all the files in binary mode for reading, writing or appending. I have tried to remove almost every bug in it but if comes please feel free to notify me. In case you make any enhancements to it please let me know. Enjoy splitting....

C_Volume2 #76234
MP3 File Renamer

Cleans up and renames your mp3s to a specific format, example: "[Artist] Songtitle.mp3". Option to pull artist and title info from the ID3 tag if one exists, and to update your ID3 tags with the new properly formatted Artist and Title.

C_Volume2 #76251
Basic FSO, Inet Example

This is to show basic FSO & Inet use, it is a registration program that will create a temp.dat file, upload it and change the name to registered.dat and then delete the temp.dat on the users pc. It is commented on almost every single line, it describes everything the coding is doing. Basically made for beginners but to give intermediate and even experienced users some ideas. Please Vote If You Find The Code Useful Or A Good Tutorial, Your Votes Are Much Appreciated.

C_Volume2 #76269
Modify File Attributes

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

C_Volume2 #76296
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.

C_Volume2 #76327
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.

C_Volume2 #76328
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.

C_Volume2 #76332
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). =)

C_Volume2 #76337
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!

C_Volume2 #76343
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.

C_Volume2 #76352
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.

C_Volume2 #76361
Auto Delete Self Program

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

C_Volume2 #76370
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!

C_Volume2 #76397
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.

C_Volume2 #76423
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.

C_Volume2 #76433
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.

C_Volume2 #76434
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.

C_Volume2 #76435
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.

C_Volume2 #76442
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.

Languages
Top Categories
Global Discovery