Advertisement

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

C_Volume2 #77849
[A+] Check file existence

This function can be used to determine if some file exists or not. It returns "True" when file does exist, and "False" when it doesn't. Please vote for this cute little code! Thank you so much!

C_Volume2 #77867
A Delete All files in a Directory and then Delete the DIrectory A

Code Deletes a File and Directory, Note YOu DOnt Have to Reference Ms Scripting Runtime Please Vote for me if this helps you out or if you think it is a good code!!!!! Thank you Sean For letting me know you don't Have to reference Ms Scripting

C_Volume2 #77902
Directory Folder

Directory Tree View. This is an activeX control which which looks like windows explore Folder view. This is to display on you drives in a tree control and and desktop, plus my documents and much more.

C_Volume2 #77931
edit

a little word processor. it can open, save files, print, also shows how to copy, cut, and paste using api

C_Volume2 #77981
Dir Tree View

Displays a list of all the drives and folder s in a tree view control just like Explorer. Please note: I did not write this code, it has just been compiled into a usercontrol so it is easier to use. Thanks to Marek Letosnik for the base to this code. You can customise this code easily to get it looking how you want it. I have changed some stuff to make it look better as well.

C_Volume2 #78028
Using the Printer Object 3 Part Laser Checks

This module will show how to use the printer object programmatically, in this case to print 3 part laser checks but anyone can use this on a laser printer with plain paper. I think it is about compact as it can be there are some variables that are not used yet. Notes on their purpose are documented. This shows how to use Printer.TextHeight and Printer.TextWidth for something useful. Please rate my code if you find it useful. ;)

C_Volume2 #78035
V. Simple GetKeyAscii code

I have seen all of these really complex GetKeyAscii functions out there. Well check this out.

C_Volume2 #78036
Easy Rounding Function

Round to X Decimal places with one line of code!

C_Volume2 #78064
Mike's File Merger (Version 2)

BUG: It put a extra byte at the end of the merge due to a mis-calculation, fixed it!! This is Version 2 from my last file merging submission which shelled 'copy' file commands to DOS which merged the files. Well as pathetic as that seemed, i was a lazy programmer and today i rewrote it from scratch to merge the files to one in binary in vb. This application will let you merge any type of file(s), one or more, into one big file. This will work with Almost all audio files (.mp3, .wav) and almost all Video files (.Avi, .Mpeg). Just think, merging all your favorite mp3s into one big file so you don't have to keep making playlists on your audio player and just think if you have a split up DiVX movie and want to put all of the parts together, this will do it. It especially works good on Motion Picture Experts Group (MPEG) formats flawlessly. The only errors I have noticed with merging mp3s together was if one of the mp3s is a bitrate under 100 and another is above 100 the one below becomes distorded. As for mpegs it seems to work perfect on all types. This will also merge .VOB files ripped from your DVD! Please vote for this if you like this or find it useful. -Mike Canejo

C_Volume2 #78089
Yet Another Better Browse for Folder

This module provides a Win2K interface to the Browse for Folder under Win95/98. This is not an update to my earlier submissions but a complete rewrite using pure API. With Win2K MS introduced a new DLL (SHELL32.DLL Version 5.0) which includes a better Edit box, Popup menu and a New Folder button. With this module you can achieve the same result (except the Popup menu) using the old DLL (SHELL32.DLL Version 4.71) as used by Win 95/98. Additionally you can add a checkbox, customise captions for Titlebar, OK button, Cancel button, New Folder button. You can also resize the Browse for folder window. Additionally you can choose to open the dialog double size or full screen. All the usual features are present, such as include files, start at special folders etc. You can select between the old style Editbox or the Win2K style editbox (Much better I think.) Why bother? - Not everyone is running Win2K. Very easy to call. Heavily commented and includes complete sample usage. Please vote if you find this useful.

C_Volume2 #78135
FileInfo

This program will show all relevant information about a file. Attributes, Date and Time Created and Modified, Company Name, File Description, File Version, Internal Name, Legal Copyright, Original File Name, Product Name, Product Version, Comments and Properties. It allows you to change the Attributes, Date and Time for any file. Because PSC don't allow added Dll's you can download Apigid32.dll from: http://www.stevekaras.com/GB/custdownload.htm. If you like and use this code please give it a vote.

C_Volume2 #78159
Vb FilePatcher(updated)

Ok this now has all sourcecodes even for the test project and i added more commenting aswell and also contains no compiled exe's!... Example of how to create a file patcher. Please for educational use only! Read the ReadMe before starting the project.. Also if i get the vote's i will create a PatchFile creator which willfeature calulation of the offsets and areas needed to be patched, folder compare, and also addition of new files. Some what rather like an installation program with a wizard type of interface for deployment, making installation sizes alot smaller for Updates etc...Thanks and Please Enjoy! =)

C_Volume2 #78209
Directory Tree ActiveX control code

*I`m sorry I forgot that the folder.bas was added from another project* My Humble apologies. shows a directory tree view using treeView control retriving the icon associated with the folder or drive

C_Volume2 #78211
Binary Compare/Patch maker

Extracts the binary information from 2 files, checks them for differences, then if there are differences it will add the new information to the file you want to patch.

C_Volume2 #78214
Pure VB Hex Editor

A complete Hex Editor created using no API's or third party controls. WARNING- I take no responsibity for any lost information or files caused by using this source. At this time the code does not include a built in Backup function [add one if you would like] so if you accidentally damage files while using this program, well, I hope you have a backup already. Remember, It will never automatically save over your files unless someone changes my code themselves. Now that the disclaimer is out of the way... The way I have created this program, it only allows the user to save the 'current page' that they are working on. A page consists of 256 bytes on the screen at a time. I did this to save on memory usage as only a quarter of a kilobyte is loaded at a time. Because of this, and the fact that it is Event-Driven [uses no timer controls], it uses very little resources. This source includes a simple ASCII table built in [ok, with this it uses a half KB for data] that you can simply click and view even with a file open. To view the current file information, simply right click on the hex data list. This code shows how to: use binary file I/O, listbox manipulation, one and two dimentional arrays, Hex, inputbox, msgbox, ASCII and Chr functions This code is also very fast, even on my Pentium 150MHz laptop.

C_Volume2 #78229
Using dir() to get a list of files and directories

instead of using the api and having to deal with nulls and UDT's and stuff, y not just use dir(), i have included 2 functions that return string arrays which contain all the files or directorys in the folder u specify. enjoy :)

C_Volume2 #78246
Learn about FileSystem OBject

This example will explain about How to use the FileSystem Object to do your file operations. This Object is available in vbScript and in vb also. File and Folder operations can be done with this object very easily. This program itself used this object to obtain data from file. Few working examples were added with this program to understand better. You will come to know something about FileSystem Object or get some code snippets or ideas from this code. This example explains about the file operations. Soon I will update the Folder Operations. If anybody is intrested in doing that I welcome them. It can be simply done by changing the source text file. The same logic can be used to display similar kind of things. Note: The functions CharFound and SeperateString were extensively used by me in almost all of my programs. I suggest you to use them freely in your code. Please read the ReadMe.txt

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

C_Volume2 #78346
MP3 Time

This code is an adaptation of Darren J. Prior's code "GetMP3data" routine. I re-worked the code to include the rest of the header flags not decoded by Darren. It has also been converted into a class module for easy integration with new projects. This code reads all the header data from a MP3 file including bitrate, time length, encoding KB and sampling frequency. Building a play list generator? How about a Shell extention? You need this code :)

C_Volume2 #78348
Recursive Deltree Sub

Deletes a specified directory tree.

Languages
Top Categories
Global Discovery