Results for "Category: Files/ File Controls/ Input/ Output"
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.
Might not be very fitting for complexe ini manipulation, but this is the simplest and easy to use code i've found. Great for the newbie i am myself. It's not my code, and i don't know who it comes from, but i thought i'd share it. Included is a VERY easy to understand sample project ! Cheers, and enjoy :)
These different ways of using the shell command will let you : Launch files without knowing the associated program(doc,bmp,zip,etc), copy files and complete directories, run dos commands, launch a browser, launch an email client with almost all fields prefilled(including body!) and loads of stuff you might think of.
This code is VERY usefull! It can load a files contents into a Rich Text Box and also save the contents!
generates a 'dummy' file which can be any type and any number of kilobytes. 110% commented just like my code 'A+ Secure Delete'. purpose is to generate files, so not much of a purpose. i just saw it in a couple of hacking/security programs and thought i'd try it.
i'd imagine this has been done before, but if it has i haven't seen it. all it is is a substitute for the FileCopy statement. copies a file byte-for-byte to a new destination. 110% commented just like 'A+ Secure Delete' And 'A "Dummy" File Generator' (both by me). well hope you like this.
This is just a single Bas file with two functons for binary read and write of files. The functions are using API's for a better performance.
Excellent functions for saving(SetInitEntry) and retrieving(GetInitEntry) data in ini files. Includes routines for a RecentFile menu (GetRecentFiles, AddRecentFile, RemoveRecentFile) which automatically fill and update your menu.
File Manager - I've seen no file manager's like this one. This is a popular format for a lot of programs. All Folders, Files, etc are in a Listbox. When I couldn't find any source code to do this.. I made it myself. Please let me know how you like it.
This code is a very quick way of getting data from a file.
Jpeg Comment. This is a demo how to read/write Comments into a JPEG file. The ReadJpgComment - function is written after rdjpgcom.c of Independent JPEG Group. WriteJPEGComment is written after some Delphi source.
Opens a INI-file and Get the value of ex: "Screensaver=" without using any system calls!!!
Easily lets you add a link from you VB application or open default email program.
This example builds on Srinis example found on www.vb-helper.com. Srinis example loaded data to a treeview from a text file with tabs denoting indentation. My contribution is the save treeview to file function. It only saves one level of childs, it was all I needed for my other project. Srinis example loads more than one level of childs. I am shure some small modifications to my example will enable it to save multiple levels of childs, but thats your jobb ;)
Sorry last entry had no .BAS FILE, SORRY FOLKS... It demonstrates how to use the drag & drop methods. It also shows you how to dynamically add controls in run time and how to move controls around. The prog lets you create controls and have them snap to a grid.
allows viewing and changing of file and folder attributes batch or one at a time. contains warning msg boxes where nessary
This is a small program that I use to pak text file into one big one. It does not add an compression to the file just paks them in to one I hope to add some compression into it soon or when I can find some infor on how to do that. Any way I have also included a Winzip like Self extracter that you can build the pak file in to exe and run them on any computer. as long as vb runtimes are installed anyway Hope you lile the code.
Hi this is a little program that can remove Items left behinde by programs, It rmoves old files form the Temp folder., Removes Items form the Recent Doucemnts menu, Removes old Typed in web address form IE and Netscape. Removes Netscape cache, Clears Items form the Run Menu, Emptys the Recyle Bin And also has some more functions like a Simple but effect File Wipeing. anyway I hope you like this program and please Vote for Me... Also please leve lots of comments.
Well, i saw all the submissions on FILE copy, and i decided to share my buffered copy class. Worth a look if you are looking for a screamming fast file copy (excells on large files and floppy disk access - physical reasons:), oh, and before i forget... it has PERCENTAGEREADY support... u can update a label or a progress bar with it.
INI Read and INI Write made simple. I included examples in each function. If you like my codes, then please vote for me. But only if you like them. Thanks =)