Results for "Category: Files/ File Controls/ Input/ Output"
Shows how to add items to a listview and then save those items to either an INI file or to Registry. Once saved you can then load the data back into the listview.
This simple code demonstrates how to load a list of files into a standard list box, and then display the contents of a file when it is selected from the list.
With this code, you can compile into EXE files any VB project.
This project demonstrates how to extract large and small icons associated with files into an imagelist and displaying them in a listview with the filenames. The SHGetFileInfo function of the shell32.dll library is used, which makes the job much easier than before. The ImageList_Draw function in comctl32.dll is used to draw the icon in a picture box,from where it is placed into the image list. Other submissions on PSC do an OK job on large icons, but the small icons are a mess. Not here! Credits to Peter Meier for his DelRecent posting.
This program was designed to balance my checkbook because I am too lazy to right down where I wrote my checks and stuff. You could also use it to keep track of a savings account or something. Even if you don't have a checkbook you could learn from some of the api in it or learn how to use the common dialog control. (saving loading files, especially list boxes which everyone seems to want to know how to do) It also comes with a cool alarm clock that plays a wav when timer goes off.
This module simplifies file handling. Please download the latest version! This version is obsolete! Click on Other Submissions by this Author to find the latest version!
Simple code to zip/unzip with Winzip
This Code uses the Microsoft XML Parser to Read an XML Source and Put it into a treeview. Ut Can Accept A path to An XML File EX:"C:\MYxml.XML" A string EX:"''" or a URL to an XML File Ex:"Http://www.MySite.Com/Myxml.XML"
Example of File System Object implementation...
These are two functions I wrote to save and load a treeview's nodes (saves the .text, .tag, and .key properties) to and from a text file. This is a very simple code and should be very easy to incorporate to any project.
have u ever download source that was created in vb6 and u still have vb5 cuz u dont wanna shell out $$$? now u dont need to, this program makes vb6 files compatible with both vb6 and vb5!!!!!! this is also a great OLE and Hex Editing example and a great utility whether or not u use the code!
Copy a file in binary mode. You can easily implement a prograssbar with the value of the variable "iPercent". Change the buffer size for various use: SMAPLE: 10240 for normal mode; 2048 for network; ...
this codes compresses any files of your choice to a designated target folder using Winzipr..
Gets the File Name, Size, Date and Time of all files in a directory and child directories and sends it to either the printer or a text file.
The code will remove the banner of MSN Messenger v 4.6(4.6.0082) + Let you run more instances :))) " You like it so vote for me "
This program is meant to be a reference to creating your own caller ID program, not an off the shelf application that works for everyone. There are several aspects of this program that will have to be taken into account before running it successfully.
This is a simple class that allows you to read from standard in (StdIn) and write to standard out (StdOut) and/or standard error (StdErr) via API calls. This allows you to do things like inputting a data file from the command line (i.e. - “C:\vb\YourProgram.exe outputfile.txt”) or output an error to the calling application (i.e. – “YourProgram.exe 2> errors.txt”). The class has been tested pretty well, but your mileage may vary =) UPDATE: Fixed a sloppy coding bug (forgot to rename the copy-n-pasted StdErr function, d'oh!). If you find a bug or want to suggest an improvement, please lemme know! Thanks and enjoy!
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 from the VB IDE will crash it. Updated 12-17-2002. Now uses RTF.
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.
This code generates a treeview of a specified folder and it's sub folders (recursive)