File Input Output in VB

From codeuu,source code

Jump to: navigation, search
First - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - Last
Autorun.inf Wizard

This is an little tool i write, to crate autorun.inf files faster for my own CD-menus.

Address Book1

input data and saved to a dat file

ASP File I/O - ASPFileIO.DLL

Read/Write/Append Text files in your ASP or VB code. Little safer to use than FileSystemObject since it relies on settings from ASPFileIO.INI for security.

Account Tracker v1.5 Update Bugs Fixed

!!!Please Leave Comments!!!(Guest Password is blank just continue) Account Tracker is a program to keep track of all your accounting needs, Using a log-on and password protected screen to keep others out of your account. Does all the math for you and saves, loads all account info. Also have as many accounts as you want. Code is not commented or properly indented I did this one in a hurry.

A very simple personal diary/log

Adds an entry to a text file

Attributes

It sets the Attributes for any file. including hidden read only and archive.

Auto Save Macro Button

Using a constant EXCEL workbook? Try this, A nice Macro in MS Excel, Save files to a constant file directory. Use Inputbox to save as file name. Please vote.

A Simple notepad with options such as character limitation, new, open and save

This demonstrates some use of the common dialog and richttext box control. It is simple and i thoguht it wouldnt require comments. Enjoy!

A Professional Hex Editor

An update of my original hex editor with more functions. Please vote for me!!!

Adress book

English version of my Imenik application

Advanced File Access

Contains many functions to access files with. This module includes functions to read and write INI files. In addition, it also gives the developer the ability to delete files using the standard Windows dialog boxes. These dialogs either move a specified file to the Recycling Bin or delete a file altogether.

ActiveX Installer

I created this as a simple way to distribute controls and DLLs. This program creates a self-extracting file that, when executed, installs and registers an ActiveX component. It can also display a license agreement dialog.

Simpel Msn Logger

Easy Logger with Systray :) He save's everything that buddy's to you say :)

Advance Password Protection Without Database

Helps in protecting multiple web pages without any database connection.

AA File description tool AA

Demonstrate the use of several contols such as RitchTextBox, ImageList , ToolBar, PictureBox,PRINTER, PRINTER PREVIEW, file atributes, file info,file size, file date, Icon Extractor, file exists, file extentio, file type, CPU monior,....some EASY API, fully comented for the hadrest parts

ArchivePro - Rename many files...

Simply and efficiently rename all the files of a directory. Select a directory, Choose what type of files to rename (All, Graphic, text), Enter a starting number, Select a number of 'padding' (zero's) and thats it!. Good example of simple error handling, Loop Structures, etc. Nothing too exciting, but it works on Windows 98 - XP. Mail me if you need more functionality.

Awesome Hyperlink Control (updated)

This is not your average hyperlink control. This is a bumped up hyperlink control that smoothly fades to your mouseover color when your mouse is paused over it, and fades smoothly back to your idlecolor when the mouse leaves the control, WITHOUT A FLICKER! There's also a property where you can have a orange carrot to the left of your caption, and on mouseover the carrot turns into a carrot with a circle. There is also another property that puts a gray, rounded rectangle around your label on mouseover. Theres also ANOTHER property that fades the old caption out and fades the new caption in when you change the control's caption. This control is extremely cool. This can replace big ugly command buttons with a small simple hyperlink control. Vote if you like it!

Analogue Clock OCX

Generates a resizable analogue (fingered) clock

AutoScroll

After some discussion about an auto-scrolling listbox (or any object with a list/itemcount) i decided to make a small project to demonstrate the autoscroll.

ACCESS DENIED

WELL I HOPE THIS SUBMISSION GOES OVER BETTER THAN MY LAST. THIS PROGRAM ALLOWS TO PUT A PASSWORD TO JUST ABOUT ANY PROGRAM. YOU CAN JUST LOOK AT THE CODE BUT FOR THE PROGRAM TO ACTUALLY WORK YOU NEED TO COMPILE BOTH PROJECTS INTO .EXE'S BE SURE TO NAME THE PASSWORD.VBP .EXE "PASS.EXE". THIS CODE AND PROGRAM SHOULD BE EASY TO USE AND UNDERSTAND. I STILL AM NOT SURE ABOUT CORRECT SPACING BUT ALL THE CODE IS COMMENTED WITH DETAIL. HOPEFULLY THIS PROGRAM IS MORE UNDERSTANDABLE. PLEASE VOTE, AND GIVE FEEDBACK, EVEN IF YOUR VOT IS POOR. ENJOY!

A WinSock Multiple Client File Server

Looking at the PSC contents for winsock I have combined a few of the uploads and provided a multiple client server winsock document transfer application. Last updated 07/08/02. Will keep updating as I go along.

ASCII Base 85 Encoding Class

Pure visual basic implementation of ASCII Base 85 encoding. Commonly used in Postscript and PDF documents. Note, this encoding produces 5 ASCII characters for every 4 bytes of binary data.

Adler-32 algorithm

Pure visual basic implementation of the Adler-32 algorithm. It is much faster than the CRC32 algorithm yet still provides an extremely low probability of undetected errors. Commonly used in the ZLIB/Deflate Compressed Data Format Specification version 3.3. More info can be found at http://www.info-zip.org/pub/infozip/zlib/rfc-zlib.htm

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.

A New Font

This code shows some ways you can make letters. The letters aren't good, but they are nice. Please vote for my program.

A VB3 Executable Plaintext Password Recovery Tool

This is a small application for retrieving plaintext passwords from VB3 executables.

Find Duplicated Files

Scans a directory and its subdirectory for duplicated files.

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.

Ancilla An Easy Simple Browser

This Program Shows How to Use FileSystemObject and to browse on you hardrive.

Add line numbers to your code

This program adds line numbers to your VB code. I

Indexer 27-12-2003

Just A Updated of my last version as someone asked me for external database for filetypes in this version i tried my hands on plugins capability in this unique application which lets you add your own plugins for adding more file types scan capability the plugin engine is developed by me itself and is at very first stage. so any comment and bug report is invited plz vote for this code and also try to help by creating your own plugins and if you find them working plz send them to me to add them officially to this application.

Msgbox@Runtime

With this you can simply input your msgbox have it multiline or! even have a image and multiple button's creating it at runtime for you to look at! and decide if you like it!

Lines Counter

Do you want to count lines of code in your VB or ASP project? Run this program! It will browse the directory, open each file and count the number of lines in all the files. Change the path of the folder in the code!

AddressBookXXXXXXXXXX

This is just your basic Address book, Using no Database's. Just simple Input/Output strings. Saving a list, Loading it back in. Easy stuff.Good code for beginners.

A Web Address Generator

This program generates most possible web address and puts it in a text file.

AutoFileCopy

I made Auto File Copy to do a auto backup of a folder and subfolders twice a day to me USB drive, and only copy the new and modified files. All setting is stored in the registry. At 16:55 you can backup 5 GIG?s and only copy the files that have changes.

Add and save text to text file, change text case Upper to lower, etc, change form background. etc

Allows user to input text into a text box and save to a text file. Enables user to change the forms background colour using option box. Find feature that searches through a text file and returns the charecter number. A beginers program which i made for an assignment, but im sure some out there will find it useful.

ActionFixImport

This little app helps you if you have trouble importing data in a database because of wrong number of delimiters on a row or wrong linelength on a row. It splits the file into correct rows and faulty rows. It can in most cases determine what type of file it is if you press the help-button.

Analogue Gauge / Peak Meter Usercontrol 29.5k

Options for colors: background/gauge pointer(centre,fill,outline). Two gauge angles 180 degrees or 240. Hide/show percent bar(picturebox), scrollbar. Auto disable of user controlable features when in Peak mode. Note: The Background pictures (mostly transparent except for the dots around the gauge edge, the logo in the centre and the Min Max words) ARE 48x48 Icons, you can edit them to your desire (with any icon editor) using the two SPARE Images I provided as templates, to suit your own personal style/preference.

Arrays and listboxes

It teaches you to be more familiar with arrays, if statements, case statements.

Archiver/Viewer (works like winzip)

This program works verymuch like winzip. You may select a folder, it and all if its subfolders' contents will be placed in a new exe file. When the exe file is executed a list of all the archives files will be shown. you may chose as many files as you like to extract to the folder of your choice. (NO WINZIP OCX FILE!!)

An Encryptor Decryptor

This programm demonstrates a simple but useful encryption. Also has several channels (encryption modes). Random characters are added between the transformed original eltters..

Ascii 2 hex converter

This code will store the contents of the given file as hexa decimal(based on ascii value of the character)

ALFileSplitter

Splits files

Microsoft Access Application Starter

This application is used via command line. It takes 2 parameters, namely the Microsoft Access file to execute and the Microsoft Access security file to use. It checks if there is a valid Microsoft Access 2002 installation in the system, the given files are in the same directory and then starts the application using the given security file.

AllowBlock

Coool File-Preventer. Just choose a file and it will prevent any body to open this file or delete it or move it. u see??? really simple code

Admin

Easy Simple and for beginers -- File control (open, delete ,browse

a StringExtractor - Extracts Strings from binary Files

a StringExtractor - Extracts Strings from binary Files.

a MouseRecorder - Record Mouse Movement and Clicks and Save it to File

Record Mouse Movement and Clicks (Mouse Actions) and Save it to File.

All Files in Folder

Is a funtion that retrieve an array containig all files in a folder, optionally processing all subfolders too. Do not use FileSystemObject objects, purely Visual Basic code.

FSO Code for Floppy Drive (Now 6)

Programs (NOW 6) that use FILESYSTEMOBJECT (FSO) and Word for Windows 2000 to perform various checks on the floppy drive and to save a password protected document. Latest code: CREATE A SUB DIRECTORY ON THE FLOPPY DISK USING FSO

a- Intelligent File Comparer (UPDATED WITH PROGRESS BAR )

Very useful when you use cazaa or Bearshare or other P2p, where you download infinity of files, but a quarter is duplicated. It compares all type of files looking for duplicates, how? you select a folder, all files in that folder will be checked and compared looking for duplicated files, it checks 3 part of the binarys and the file LEN, if a file seems to be equal to other, the programm promts for action, and shows if the file is the same.

Advanced Text Editor For Beginers

This text editor is for beginners. It features, find & replace, basic open and save functions (and detect if the file has been edited) and it is able to sort lines in the loaded file either by ascending or descending order.

Autorun File Generator

It creates an *.inf file for making autoplaying CDs.Very simple code.

Animation, .avi player

Animation .avi player

Archive Compression/Decompression Control (included subfolders)

This is a control i wrote that contains all functions for a good archive and compression program. I did not create am example program yet but i did include a a fw test functions that will show you how it creats an arhive from a folder and subfolers and how to extract all files form that archive as well as a single file. Each function included the option for compression/decompression. I am currently working on a program that will demonstraight how to use each function to their best ability. i figures i would post the control so you people can play around with it.

An INI Class

The code allows you to Read and write to INI files in a simple manner.

Amazingly Simple PDF Stamping Code

Put image stamp into your PDF files. You must download pdftk.exe from this link http://www.pdfhacks.com/pdftk/pdftk-1.12.exe.zip, and pun the file in project folder, for this demo to work.

AAA Find In Files

Type in a word or Phrase and search for it in all files in a Directory (including sub directories).

Arrays, i/o, sequential files, bunch of if statements.

college project, does all kind of basic stuff i figured newbs can pick up from sorry bout no comments my teacher hates when i do it and i don't feel like modding it but it's alright, only one bug, heh figure it out if u want it's in one of the sorts (one pass)

AFN (Advanced file renamer)

The reason of this project has been designed, because i was into renaming a huge collection of images by extention ".dat" to a prefix name and ".gif" there was about 1700 file so i had to code this small utility i hope you will find it usefull to change extention as well as rename multiple files at once. Please refer the the main code you are free to edit or add any extra option you might like, thank you.

Archiver

combination of various functions & methods found on psc to create a 'not so good' archiver

A Useful Linking Program FileA

The code rips all file names from one folder and parses it to html links. If they are images, it resizes it to whatever you wish. Good for your mini servers or if you want to show plain file lists to your friends without using "list file" in IIS.

Age Calculator, Input DOB, Output Age

The attached source takes a input from the user asking for a date of birth, the program takes this input, performs some error checking and outputs the the age of the user. This uses no form design, the user is presented with a inputbox.

Address Diary

Manages Contacts.

A MSN / Windows Live Messenger Webcam Capture Utility

Captures a webcam from MSN / Windows Live Messenger (or any other app) and saves the image to the disk. You choose how big to make the result, and where to crop it. Will only save an image to the disk if it differs from the last image it saved (so you dont get tons of the same image saved). Code is not commented, and may be hard to follow. Sorry about that, I just thought I'd share it incase anyone is interested =]

an unrecoverable file delete

it will overwrite your file with random data , then delete it - so that unrecovery tools would not be able to recover even a small part of it !!

A Program Memory Hex Editor

View whats happening in a programs memory in hex or alpha format. Just like a standard hex editor only it allows you to view the programs memory rather than the program itself. Has the option to edit values in the programs memory. Also includes a search facility to find hex, string or numeric values in the memory. Still a work in progress so code is a bit messy but it seems to function with no problems.

add data to an EXE, and let the EXE read it

this code is in response to:

Address Book

It is an Address book with sequential input and Random output functions too. It save all of your neccessary informations. PLEASE VOTE FOR ME BEFORE LEAVING

AddToRecent

This class automatic create recent menu items, it's very easy and useful. You just need to define file to save, and menu button, you must define it's control array by adding index = 0 in MenuEditor - see example (class will automaticly create all items).

Secure File Delete The Laughing Man

This is a program that will securely erase a file. This program was coded so that it can be copied into a module without needing to make modification. this method of mine works by randomly generating a random character then overwriting every character in the file with it, Then on the next pass over use a new character.

Access Database Password Recovery (ADPR)

Recovers 95/97/2000,XP,2003,2007 Access Password instantly. NO BRUTE FORCE & PURE VB CODE!!!

Archieve files by date

With this program, you can move or copy files in a directory to another directory by modified date or created date.

A Simple Log File Trimmer

This basically shows you how to trim a large log file (over 100k to a few meg) down to 100k. Demonstrates the use of the open file binary method (Get, Put), etc.

Advanced Login using Tabs

This is to help show newbies how to use tabs and make an advanced login that can be attached to there prog has the Create account and passwords Tab, the login and password Tab, and the admin account and password Tab, I know their is alot of features that could have been added to the adin secion like deleting accounts but keeping it simle you don't realy need that feature all you have to do is go to where the user names are stored and delet them, I left an account and password on this so people could see and try it

Binary Resource Creator v1.2 UPDATED

Use this nifty program to combine files into a single binary file. Allows you to Combine and Extract files using a simple, easy to use, interface. Great for protecting your files when you distribute your apps/games. Also keeps your files seperate from you EXE so to update your app/game's graphics or sounds etc all you need to do is redistribute the binary file. If you like it a vote would be nice. If you hate it please tell me why. =]

Binary In Executable

Source code for a program that will insert binary or ascii files into an executable or any file really. Also generates [VB] code to extract the file.

Backup Wiz

This program is a backup program designed for people who need two seperate backups. Initially, i had built this for work, however i figured u guys should see it. It does an hourly backup, as well as a monthly back up...all of which you set. Also, it will save the whole directory and sub directories into the backup folder that you pick.

Beginners VB

This is a small project that I made when I got REALLY bored and decided that my boredom may be very helpful to those with little or no experience in using Visual Basic.

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.

Binary Tools

This utility allows you to compare two binary files, split a binary file apart (into as many bits as you like), and put multiple binary files into one.

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.

Buzz... Bee: Word Writer

A text editor.

ByeByeFile - Reciclebin

Delete a file and send it to the reciclebin

Bind unlimited number of files into 1 like .PAK files(Hl, Q2 ect..)(No compression). FIXED

Binds a unlimited number of files into 1.

Basic Explorer

Teachers basic programmers to use file commands.

Get file info (without API)

Gets the following information from any file:

Basic Disassembler

V0.1 - it has some problems but you can view the information. Works for .com files, it handles some Pentium 4 codes. I recommend you check out 'emu8086.com' and 'developer.intel.com/design/pentium4/manuals/245471.htm' for more details. I will make it better in time.

BMP File structure

this code shows how to change the structure of a bitmap file in your computer, its very easy so any one can change the structure of the file.

Bitrate Calculator

The code uses a wmplayer control to calculate the bitrate of video files

Baggy Files

Demonstrates the use of a property bag to store "things" in a file in any order and to retrieve those things from that file in any order. "Things" include strings, numerics, results of arithmetic or string operations, booleans, fonts and even pictures.

BackBone - INI IP functions

This DLL file was created to be used with the S.A.F.E.(FreeIIS) Application.

Binary IO Class plus More

I created this program to learn something about

a SocketWrench V WinSock

Have a look at this program ignore the file transfer speed but look at the ammount of simulatianious clients you can handle wit ease.

BAT-Man BatchFile Editor/Maker

BAT-Man A well-featured DOS Batch File that lets you add code from over 40 built-in commands as well as your own commands. The cream of the utility is the Message box wizard that allows your batch file to show custom boxes with you message.Quickly create Batch file at the press of a few keys ( or clicks of a few mouses :) if you like.The code is written In unoptimised form so as to help the beginners to understand VB concepts like Popup-menus,Listbox control and most of all - the working of DOS commands.Try it.& vote : )))

Basic Notepad with Open and Save file

This is a very basic notepad. It can open and save file. It also lets you insert the current date and time into the text.

Bot List Maker

well i made it so that it was eaier to orgainze yahoo accounts for bots. it can be used for other applications.. (yes i know its simple.. but there are other people who might find it helpfull)

backup tool for ms access demo

With the help of this code u can take a backup of ur ms access data Manually or automatically.

BrowseFolder-In5Lines

BrowseFolder

Bluetooth lt;- gt; Parallel port interface

to get a rudimentary control by bluetooth over my laptop's parallel port

WhiteSpace Editor

Appends invisible text to files using non-printing characters. This amounts to fairly good encryption only visible in a hex editor. Some subclassing is used so pushing the end button

Bootlog v2

I myself use this, and i thought somebody else would find this code useful, so i decided to post it here.

Backup files from CD or Falsh disk to HDD

This program will make a copy of all files stored on any media being inserted in the PC like CD or flash. The copied files will be placed in a pre-specified folder name on the HDD. See Readme for full details.

Backup files from HDD to Flash disk

This program will perform a full search on the local hard drives for a specific type like *.doc, and will copy those files to the Flash disk. See Readme for full details.

Blue Transfer/Recieve - File Transfer Coding

There are two main programs in the zip file:

Binary Test

Shows to beginers how to use binary type to save some data

Byte wave Analyser 1.1

UPDATED 2/24/06: This code simply graphs the bytes of a file on a "column" graph. The columns are 1 pixel thick, and each pixel (starting from 1) represents a value between 0 and 255. The bytes are divided up into sections of 512 bytes at a time. You can only look at one section at a time. If a section is incomplete, the remaining area will be black. I built this program because I find it easier to analyse byte-value patterns this way rather than to use a hex-editor.

Breaking the Textbox 64K File Size Limit (UPDATE: Sept. 15th, 2007)

You don't have to be limited to 64K size files for a for a standard Textbox control in VB6. This small sample project shows you how to load, edit and save plain text files, UNLIMITED by file size using the Standard VB6 Textbox control. It's all done in just a few simple lines of code. Please note that this method works on NT, Windows 2000, XP and Vista. If you're coding for systems that use Win95/98 or ME this method will not work. View the readhuge.txt file for full details. (UPDATE: Changed method from Clipboard method to an API method which is even more efficient and does not mess with any data in the clipboard and the end result is the same. Thanks to Kenneth Buckmaster and Rob C. for their input.)

Backup Manager

This is a backup management software which is simple to use and understand. The

Basic VB Controls

Getting back to the basics of using VB6 controls. Included in the project are, checkboxes, options, combobox, textbox, Scroll bars, File list, Dir list, and drive list. Very simple programming intended for beginners. Has an example of browsing for files without using common dialog control. Plus an example of using the ShellExecute api and 2 option dithered background.

Multi-File and Directory Rename Example

This example shows in detail how to rename multiple files using Filelist Box to lower case, also renames the directory too.

Resize file

This program cheats ratio ftp sites into giving you credit at double the upload speed and twice the credit.

Using/Saving/Loading List boxes

This shows you how to load and save list boxes. It also shows you how to add and remove entrys. Its fully commented. Very good help for a beginner. If you like this code then please vote for me!

File Renamer

An example of how to rename files using code

Get file attributes

This shows how to get the files attributes or set the attribute for the file

Moving a File With The Common Dialog Control

How To Move a File With Common Dialog Control!

First - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - Last
Personal tools