Advertisement

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

2_2002-2004 #123432
FolderView Control Active-X

FolderView (updated 18-August-2002). A Vb6 constituent control (piggy-backs Treeview). Enumerates drives, folders AND optional files with user specified FileFilter property (example: *.zip;*.rar;*.ace). Great for making Explorer, WinZip, Archiver clones. Supports tiled background image (wallpaper), optional drag-drop. Uses API (sorry, no Slow DIR or FSO code here!). Expands on demand for speed. Plus signs are added when a child folder OR user-specified file is detected. Demo uses Listview (with column sorting) to show files. Zip enumeration with no 3rd party Dll needed. Check out other goodies such as CVC function to handle 64-bit NTFS file sizes, rip column header strings direct from Windows Dll's so they appear in YOUR language, get FileTypes (including those in Zip's!) direct from registry (very fast with dupe check), verbose Zip Method function conforms to PkZip 2.04g specs, extended Attribute Formatter, Size Formatter that handles bytes Kb Mb Gb Tb Pb Eb Zb Yb, and recursive FolderSize function. Tested on WinME (English) & WinXP (Portuguese). Because Dll are no longer allowed in uploads you will need to build as follows: 1. Load TvBackDll.Vbp and compile DLL.

2_2002-2004 #123466
[ Exe Compiler ]

This code demonstrates how to compile exe files using vb code, like the winzip self extractor.

2_2002-2004 #123538
Add junk data to your files, and they still work!

This program adds meanless bytes to a file and therefore increases it's size. The files will still work correctly after this. I was bored when I made this, and is not hard at all.

2_2002-2004 #123540
[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!

2_2002-2004 #123558
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

2_2002-2004 #123593
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.

2_2002-2004 #123622
edit

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

2_2002-2004 #123672
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.

2_2002-2004 #123719
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. ;)

2_2002-2004 #123726
V. Simple GetKeyAscii code

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

2_2002-2004 #123727
Easy Rounding Function

Round to X Decimal places with one line of code!

2_2002-2004 #123755
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

2_2002-2004 #123780
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.

2_2002-2004 #123826
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.

2_2002-2004 #123850
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! =)

2_2002-2004 #123900
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

2_2002-2004 #123902
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.

2_2002-2004 #123905
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.

2_2002-2004 #123920
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 :)

2_2002-2004 #123937
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

Languages
Top Categories
Global Discovery