Advertisement

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

ASP_Volume2 #36413
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.

ASP_Volume2 #36448
Get a Temp File Name

Need to create a temporary file for whatever? Include this bas module in your project and with one line of code the file will be created and the name returned to your program. Sample project included.

ASP_Volume2 #36490
Get Serialnumber from a harddisk

Get the Serialnumber from your harddisk, cd rom or your disks.

ASP_Volume2 #36491
INI Manipulation (fixed and updated)

This project shows/explains all routines needed to manipulate sections/keys/values within an ini file. It has an intuitive interface, allowing to drag keys between sections, create/delete sections/keys/values, etc, but the routines can also be used individually with other projects. A must have to whom works with INI Files.

ASP_Volume2 #36513
Copy a Folder

Copy a Folder in another Folder. If the Folder not exists then this program will create the Folder.

ASP_Volume2 #36577
Extension Changer

More examples for Beginners by MrBobo. This little demo demostrates the use of Drive boxes, Dir boxes and Filelistboxes. To give the example some purpose it allows you to safely bulk change the extensions of files in a selected directory. To do this safely you need to quickly parse filepaths and include error handling to avoid overwriting. The demo includes an example of a 'Desktop' and 'Up one level' button in its' browse function, get special folders, enumerating all filetypes from the registry and a simple auto-complete function for comboboxes. Includes an interesting function - Safesave - which appends a number to a filename if the file is found to already exist.

ASP_Volume2 #36581
File System 2.4

File System 2.4 is an ActiveX DLL that i made to make editing files easier. If you don't want to use a database for whatever reason, (like to little data in your project) text files are probably your next best bet. With this DLL (source IS included) you first call a function to set the file you are working with. Then you use fuctions like XAppend to append to the end of the file, XAddToLine to add some text to the end of the line by entering an any length string that the line begins with and it finds the line and adds the text to the end of it. You can delete lines with the function Xdelete, where you specify an any length string and it finds the line that begins with it and deletes only that line from the file. Use the DLL in your project by going to Add Refrences and selecting the DLL. All the features are then avalible for you to use in your project.

ASP_Volume2 #36583
CommonDialog and Browse for Folders Plus

Browse for Folders Dialog with 'Create New Folder' button and 'Include Subfolders' checkbox. CommonDialog with image previews. Both these controls are updated versions of functionality included in some of my previous submissions. Now Win 2K compliant. Please vote if you like it.

ASP_Volume2 #36585
TapeChanger

This program uses the ASPI layer to manage the basic functions of a tape changer or autoloader. It can inventory the magazine, load and unload a specified tape and clean the tape drive head. It also has an automatic mode. WARNINNG. LARGE file (1.08Mb). Zip also contains SCSI documentation from ANSI and HP, as well as my own document. This program shows how to send RAW SCSI commands to a changer or other device, and get it to do something.

ASP_Volume2 #36589
Trial/Registration

Lets you create time limit on your programs

ASP_Volume2 #36615
A Counter-Strike Log Parser

A Visual Basic example of how to use FileSystemsObject and Regular Expressions to parse Counter-Strike game logs. Requires Microsoft Windows Script 5.5 which is freely available at http://msdn.microsoft.com/scripting

ASP_Volume2 #36629
Awesome Logger

This logger has the same functions as most other keyloggers that u get off planetsourcecode but it has a few more useful functions like : · Take A Screenshot Every so many minutes · Log anything the victim does in Hotmail and MSN into its own window (ie. Passwords, or MSN Instant Messages) · This Logger runs in the background and is un-noticeable to the victim. · You can set the logger to pop up a message box every so many minutes · It is disguised as mirc (ie. mIRC password box pops up on startup. If you type runmirc, mirc will run. If you type runlogger, the logger will run) There is probably more stuff, i just don't remember right now.

ASP_Volume2 #36661
Load in Previous Instance

Another example for Beginners from MrBobo. This example program shows how to communicate between instances of your application. Lets say your application is assosiated to a filetype. The user clicks on such a file and an instance of your application is launched. But what if you want to load the file in the existing instance - not the new one ? There are many examples of how to achieve similar results on PSC. This method is designed for reliability and ease of use with a minimum of code to implement.

ASP_Volume2 #36679
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.

ASP_Volume2 #36713
[ Exe Compiler ]

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

ASP_Volume2 #36785
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.

ASP_Volume2 #36787
[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!

ASP_Volume2 #36805
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

ASP_Volume2 #36840
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.

ASP_Volume2 #36869
edit

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

Languages
Top Categories
Global Discovery