Results for "Category: Files/ File Controls/ Input/ Output"
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! =)
Shredds Files...i dont know how secure it is but please test it and tell me! =)
Check the existence of a file and it's attributes (DateCreated, DateLastModified, DateLastAccessed)
This is an example of how to use the Winsock control to download a file from an Web Server(HTTP Server). It is real simple to do, but it took me a few hours to figure out. I hope everyone likes it. I decided to do this, because I haven't seen much like it on Planet Source Code. I've updated it, fixing a couple bugs.
This short little code example shows you how to only accept numbers to be inputed into a textbox by using the KeyPress event procedure. This is beginner, but I've seen alot of people that don't know how to do this.
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 :)
This code shows how to add controls to ListviewItems, and make them size into a ListviewColumn. Very usefull
The purpose of the code is to show how to add columns to a VB.NET DataGrid control.
I wanted code that used components that were mostly likely to be found on a user's machine. VB5STKIT, VB4STKIT, and VB6STKIT all could be used for creating shortcuts, but there is a good chance they weren't already on the user's machine, meaning I'd have to include it in my install package. The Windows Scripting Host is a default installation on Windows 98 and higher, and is likely on a Windows 95 machine. Plus you can include an object test to easily verify the user has the Scripting Host installed.
Lets you create time limit on your programs
This VB code shows how you can use ADO and Microsoft Scripting Runtime Library to transfer data from a database table to a text file.
Presented here are two VB classes for parsing Veritas Catalog files. Veritas catalogs are essentially the file system of a DLT backup tape it it may be useful to extract information from the catalog. Moreover, this was my first real successful attempt at reverse-engineering a file format. The file format specifications are included in the zip.
a simple progress bar program for beginners if you find this code useful please vote
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.
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 I have grabbed some other author's code but I can't find their names back so i you recognize yourself, mail me and 'ill be enjoyed to refer
this is an easy code to get and set any file's attibutes (system, hidden, read-only,...) throught the vb function getatr and setattr
FOR BEGGINERS - This article explains clearly about how to save files in VB 6.0, it is SUPER EASY to fallow and explains everything very well.
Super fast ATL COM component for searching for files with multiple search filters. Also shows how to fire events in a COM DLL from another thread without getting a GPF and how to search for files recursively. Includes a VB project showing how to use the component.
A 30 minutes e-book reading program to replace Adobe Acrobat Reader. This is a simple one. Thanks to J. Kelly Jr. for his GREAT File Binder submission.
This code will make an executable file from your visual basic project (vbp file) without having to go to Visual Basic and select Make exe. It's a part of a bigger program i am working on, program that i will post here on psc as long as i will finish. The reason why i'm submitting this code it's to demonstrate the capabilities of shellexecute and the /make switch of visual basic.