Advertisement

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

2002C #11997
A Cool Directory Map

This simple sub routine is used to map out a directory tree starting with any given path. Can be easily modified to perform any task that requires scanning folders. THIS IS RECURSIVE!

2002C #12024
Save/Load Text to a listbox with common dialog

No example on psc for this so I put it together for others; LOAD and SAVE text to and from a listbox using common dialog control..

2002C #12031
CreateDirectoryStruct

Creates all non-existing folders in a path. Local or network UNC path.

2002C #12094
Modify File Attributes

Easy to use module. Allows you to modify any file attributes, for example make a file hidden, read-only and archived.

2002C #12119
Embed Binary Files In Programs

Embed binary files within your programs to be written out to the file system once the program runs. This demonstration creates a Word document.

2002C #12123
Determine if File Is Old

Determines if a file is old. I use this when I loop through the files in a "temp" directory to determine if I should delete old files on a website. Take note - the function looks at the last modified date rather then the date created.

2002C #12136
Listbox, Common Dialog/Multi Select, Drag Drop/Multi Select, Parsing Example

You can drag (multiple or just one) files from a program like windows explorer or a common dialog onto a listbox & add them all to it, & parse before adding to just get the dir, filename or the whole thing.

2002C #12139
Call Logger

This is a program to record callers to a helpdesk. It uses a very good example of records, if you are looking for how to create records then this code is for you. Special thanks to Mark Robert Strange for his excellent flicker-free gradient scrolling credits screen that I've incorporated into my program, hope this is helpful. Enjoy ...

2002C #12157
Convert INI Files to XML

Take your Desktop apps into this decade by using XML files for INI Files. This Module will translate or convert your exsisting INI files into XML. If you are interested in the source code to access elements in your XML Files in place of INI Values, let me know

2002C #12161
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!

2002C #12169
NetZero Banner Killer

Use NetZero, the free ISP? Hate that advertisement banner? Well This gets rid of it.. Plain and simple.

2002C #12314
EZ INI Module to read / write INI Files

Offers 6 ini functions that are extremely useful. Handy, because it has a "setup" function that specifies the filename and the number of characters you'ld like to retrieve (max) so that you don't have to re-specify them every time you write to your INI file (great if you only have one or two INI files per project). Someone else did a "complete INI module" that actually hard-code edited the ini file to find out the number of sections, and so on, but this one uses in-built features of GetPrivateProfileString. Have fun! Read_Ini -- Returns a string with the appropriate INI key in it Write_Ini -- Writes to a specific ini key Read_Sections -- Returns a Chr(0) delimited string containing all the [Sections] of the INI file Read_Keys -- Same as above, but returns all the keys=values under the appropriate section Delete_Key and Delete_Section do just what they say =) Note: vbCrLf's are turned into a funky string because I noticed when writing vbcrlf's to ini files it has the tendency to screw up and actually place them on separate lines so you can't retrieve the whole thing again. The funky string is recognized by this module when you read the values in again, and converts em back to vbCrLf

2002C #12323
File Type Generator--(File Associations)

The purpose of this program is to create file associations with programs and file types on your computer. You can select from several options, but of course, the most important ones being what program to open the file with and what program to print the file with. Take a look through the code and feel free to modify it and use it in your install program or setup program to creat file types.

2002C #12354
INI Edit v1.1

INIEdit v1.1 is a windows INI Editor. it loads an INI file into a visual interface, allowing you to add and delete sections, keys and values. If you like this project, please vote! I am already working on 2.0!

2002C #12358
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) & Win2000 (Portuguese). Because Dll are no longer allowed in uploads you will need to build as follows: 1. Load TvBackDll.Vbp and compile DLL.

2002C #12380
A Beginner method to check whether a file exists

A Beginner method to check whether the file exists or not. Simple and should able to run on different Window OS.

2002C #12385
Multiple File Delete

Deletes Multiple Files at one time. It uses Drag and Drop to put the files into a listbox. If you have any questions about this program just email me at ourgroup@sprint.ca . I'd appreciate any feedback and please take the time to vote if you find this of any use. Thank You Very Much

2002C #12423
SplitMaster

Splits large files into smaller ones.

2002C #12429
Easy way to properly save and load a treeview-structure

Shows the - in my opinion - easiest way how to properly save and load a complete treeview structure from a plain text-file. NOTE : The code uses 2 functions - GetBefore and GetAfter - which I got from this Site, but I cannot remember the name of the author. If the person who wrote these functions incidentally gets this code, please leave your name in the comments, mentioning that these are YOUR, NOT MINE.

2002C #12433
App.Path Thing

Correct Reference to Files in App.Path. For Newbies and for all who get Errors and don't know why. If you think this deserves a Vote, then do so, if not, then don't. I just wanted to explain a common error source !

Languages
Top Categories
Global Discovery