Results for "Category: Files/ File Controls/ Input/ Output"
learn how to use the Common Dialog Control the right way!!! please vote or at least comment!!
Learn how to use SHFileOperation and ShellExecute to send files and folders to recycle bin, create new folders, and open files with any file extension. Also, this code demonstrates how to navigate through your hard drive.
Simple example of how to select (and retrieve) multiple filenames when using a common-dialog and adding them to a listbox.
(v1.01) -- Some function to manipulate file strings. GetFileName > Returns only the filename -- GetExtension > Returns file extension (optional lowercase) -- GetFileNoExtension (New) > Returns filename without extension -- GetPath > Returns full path. (optional without drive) -- GetDrive > Returns drive (optional include "\") .. Also fixed a horrible bug in the GetFilePath. Screenshot is from v1.0
Search Drive for files with a few lines o'code, Recursivly- Please VOTE!!!!
This is a fast way to write a resource to a file. UPDATE: You can find an example to this code here.
Find and replace text strings in multiple files within a directory. This allows for wilcards. Please Vote if you like it! :)
I wrote this prgram to augment MRTG (Multi Router Traffic Grapher). Each night i generate new configuration files for all my routers, when that finishes this program combines all the files into one primary configuration file. Please Vote if you like it! :)
Make your application run from command lines or the run dialog with arguements. ie: myapp.exe -m No need to vote for this code because it is really basic.
Ever wanted an easy way to store settings for your program? The registry is great and all but it's hard to check to make sure things are saved correctly and if you're not sure what you're doing you can clutter it up with junk quickly. The ini class can be compiled into a stand-alone DLL or included directly into your project. It has methods to create, delete and rename, sections, keys and values within a file making storing settings a breeze! If you have any questions or comments please post them here or email me at [email protected]
UPDATED! This is a Module that will help you fill a ComboBox from an ini file. It creates the file and allows you to add and delete from it. I just updated this to do a bubble sort and a few other minor Oops fixes. This code is well commented and should be easy to follow
Shredds Files...i dont know how secure it is but please test it and tell me! =)
I wrote the code for my friend to demonstrate how to pack several files in one file with zLib and extract them. There still might be some bugs even though I tried to test it properly. The code extracts all or nothing so there's still some deveploment to be done, but I think it works pretty well... There's a lot of comments so it should be pretty easy to use. ZLibTool is required, Available in http://www.dogma.net/markn/articles/zlibtool/zlibtool.htm If packing lots of files/large files there must be enough space on destination drive and windows temp folder drive (NEW! you can now change the temp folder to use). Also new: wildcard support.
This ftp program uploads ftp files and feel how many bytes they take! please vote!
Yet another piece of drudge code. I made these two programs when I was building addons for Quake 1. PAK allows you to view and extract files from the .PAK file (double-click to extract) and .MDL gives you some information on model files
Is a simple notepad like text editors with a few extra features...
Auto Save/Load/Add/Remove from/to a List
This code is a very quick way of getting data from a file.
This is only for beginners and the advanced guys will know it ..The following lines of code will teach you how to input from .txt files and how to write to .txt files .... Votes and Comments are highly appreciated ! Happy Programming
This application update your application with a FTP site, (like Norton). The application compare the local and FTP date of the files and update only if FTP was more recent. No component, no OCX, just API You must See !!