Advertisement

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

2002ASP #880
COPY, CUT, PASTE Source code on how to do it EASY

This Code shows you how to copy, cut, and paste with only a few lines this is very easy to do. This is the CODE and not just some garbage like those other copy, paste, and cut. AND IT WORKS!!!

2002ASP #926
Directory Cleaner (recursively)

This function attempts to delete all files and subdirectories of the given directory name, and leaves the given directory intact, but completely empty. If the Kill command generates an error (i.e. file is in use by another process - permission denied error), then that file and subdirectory will be skipped, and the program will continue (On Error Resume Next). EXAMPLE CALL: ClearDirectory "C:\Temp\"

2002ASP #927
View Pack File Contents

This is an update to the Pack File class I wrote some time ago. A request was emailed to me asking how to view the contents of the pack file generated by the class. I updated it to do this. Enjoy.

2002ASP #934
Print Class

This code demonstrates how to send formatted text and images to the printer at specific locations on the page.

2002ASP #937
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)!

2002ASP #951
Change form backround with common dialog

Kind of like skinning your program

2002ASP #972
File Search (UPDATE)

I recieved an e.mail from Randy Porosky asking if can update the Application so it would search for multiple Files and list the Search Name only, well, it now searches for multiple Files and adds the search name to a seperate listbox. You would expect the search to take double the time when adding another File to the SearchList, but with a litte recursive programming it only adds approx 0.6 seconds to the search time. So again, this Application will search for multiple Files on multiple Drives, Folders etc, VERY FAST, eg. On my system it took 3.5sec to search 1079 Folders for 1 File, because of the recursive programming it took 4.1sec to search 1079 Folders for 2 Files.

2002ASP #995
IniViewer(TreeNode Style)

Here is an INI File viewer using the Tree Node. Nice little screen shot of the proggie is available. Easy to learn how to use a tree node in your projects. Please leave me some comments on this. - I've updated this as a complete application. It's new name is IniEditor[TreeNode Style]. Uploaded 10/19/00.

2002ASP #1000
A Pak File Creator

OK folks, I've made a little progress. Here is the latest. This one has problems with any files but text files. If you put the first file in the pak as an executable, it extracts fine. But 2nd 3rd and so on, no way. This code is driving me crazy!!! A big thanks to Robert Carter for his help on getting me this far. Please keep your ideas a coming folks. I know a lot of people out there can use this if it can ever get finished and fixed. There are still bugs in the code. I don't have many error handlers in it yet. I want to get the basics of the code fixed first, then I'll go back and make this thing proper. This Code was fixed. Look for the AppenderPak by me. It is the same code as this but with fixes.

2002ASP #1023
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.

2002ASP #1028
Your Very Own Custom File Extention!!!

Alot of people want there programs to be more popular, this is the way, if you have the only program that will save to a particular format, then everyone will HAVE to use your program to open there files. And it will HAVE to become FAMOUS!!! Plus it's really cool to have your own Extention. My programs shows you alot of stuff: 1)How to make your own Extention 2)A simple way of formfades 3)How to save useing Common Dialogs Filters 4)How to copy a picture to your Clipboard 5)Comes with detailed Instructions It's simple for any begginer or intermediate!!!

2002ASP #1064
FindSystemFolders

Returns the path to a system folder, based on input. This code is based on a submission by 'Don'. Originally the code only found the System Folder on the machine. I have added all of the system folders (MyDocuments, System, Cookies, etc), and made it into a class/dll for ease of use. The code is relatively self explanatory, however, I have added comments, just in case.

2002ASP #1066
A PIECE OF CODE FOR READING WAVE FILES

(Updates is on http://www.planet-source-code.com/xq/ASP/txtCodeId.26377/lngWId.1/qx/vb/scripts/ShowCode.htm) Fellow programmers. Ever wonder how one company's software reads a wave file and show it as a wave sample? This code demonstrated how you can read a wave file and DISPLAY it as a wave sample without using a single API! It opens a wave file (FOR RANDOM) to reads the so-call BINARY (ASCII) and draws the lines in a picture box according to the data in the file. Please note that the wave samples produces by this code are not as detail as those you found in some WAVE EDITOR. I'm still figuring out the wave format and try to play the sound. If you know a function that can play sections of a wave file, generate sounds at different volume and frequency or directly make the speakers (connected to the sound card) vibrate at different frequency and volume, please send me an E-mail...Thanks.

2002ASP #1074
File List Grabber

With this program you can easily make a searchable list of files with size included. This is great for people with large numbers of files (like say mp3's) who don't want to duplicate their already downloaded files. Simply drag and Drop files onto the listbox. You can save and retrieve the filelist to a text file for future use. Also provided is a MRU or Most Recently Used list, so that you don't have to search for the file everytime you want to load it. Full source code is included (of course), so you can see how it all works!

2002ASP #1097
UPDATED Fill ComboBox From ini File (Module)

UPDATED! This is a Module that will help you fill a ComboBox from an ini file. It creates the file and allows you to add and delete from it. I just updated this to do a bubble sort and a few other minor Oops fixes. This code is well commented and should be easy to follow

2002ASP #1102
access 97 password recovery

Forgot your access 97 password? Never fear this function will hack the access 97 local file password

2002ASP #1140
Resource Guide

This code is a guide to using\making resource files to use in your VB programs. Resource files are very cool, they allow you to design a great program include all the images in it and it means that no one can edit the images and re-distribute the code as their own.

2002ASP #1202
Store 24 Booleans in just 3 bytes!

This will store 24 boolean statements in just a 3 byte file! (3 bytes = 24 bits). I harness the power of bits here and use it to store true and false values. Please vote if u like it and leave a comment.

2002ASP #1203
Make a mini EXE!

Check out this code. It will create a standalone EXE that will run on any x86 machine, OS independent. Also, extremely small file. An exe with "Hello, World!" is only 23 BYTES! It is truely amazing!

2002ASP #1204
Shimoon EXESave v1.1

ALL NEW VERSION!!! Stores 3 textboxes in the actual exe file! Can be more data if code altered slightly! No need to know the offsets now either! If you guys would be nice as to PLEASE VOTE FOR THIS!!! It wasn't very easy to find a solution to the problem of excess files - and I found it! So please be nice - vote and leave comments!

Languages
Top Categories
Global Discovery