Results for "Category: Files/ File Controls/ Input/ Output"
Open a file and overwrite its contents with random binary data, up to 1 billion times. The length of the binary number is taken from the number of chars in the file to make sure it really is overwritten. Seems to be quite secure ;)
Pure visual basic implementation of the Adler-32 algorithm. It is much faster than the CRC32 algorithm yet still provides an extremely low probability of undetected errors. Commonly used in the ZLIB/Deflate Compressed Data Format Specification version 3.3. More info can be found at http://www.info-zip.org/pub/infozip/zlib/rfc-zlib.htm
TFS 3.11 will take any number of files - you can even right click a file and select 'Delete With TFS' - and overwrite them with random binary data up to several hundred times. The data overwrites every character in the file, so it is secure, but a bit slow. I've also included the DOD routine by Michael Bos as an alternate method of deletion. Also features a progress bar to show the deletion status and can scan drives for temp files.
This code will make an archive from any directory and will show the progress in a progressbar. Very useful!!!
This will split a into parts of the given size. I know that there are a lot of these on psc (and other sites), but the code here is clean, neat and very well commented and keep in mind that this is for learning purposes. Good for anyone learning about file/string handling. The gui isn't up to much, but the code is centered around a module, so you can just add the module into another project and call the functions. You only need three things to use the module, a form, a label and a progressbar. The interface is entirly up to you. All checks are done internally, so the interface code is about as minimal as you can want. Any suggestions for improvements are welcome and feel free to vote :)
This 1 line of code will Open any file with their correct default program. EX: opens .Doc file with winword and .Zip file with WinZip..Or any file with their default program..
This program will show you how to create a file with a specified size with accuracy. There's not that many uses for this program but it's accurate and comes complete with a progress bar and a size calculator. This is heavily commented, so please post some feedback or even better, vote for it ;]
In a Drop Menu in one of your programs, you can list the last eight files the user opened. This will allow the user to quickly access a recent file again. I literally copied a sample from the VB5.0 package and eliminated the uneeded code.
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.
Pure visual basic implementation of the CRC32 (Fletcher) checksum algorithm. Used for detection of data corruption. In short, this class provides an algorithm for computing a unique (sort of) numeric value that represents the composition of a file. For a faster/better method see Adler32 checksum. Note, Fletcher check insensitive to some single byte changes 0 255.
Hi all. This scans all archives within a directory and look for files names (in the archive) containing specific string. In the snapshot, I've been looking for zip archives containing files which names contain ".vbp" (i.e. VB project files). Hum, not very clear huh? Oh well, I understand myself :) Oh, I almost forgot, you can check/uncheck listed files and move them to any other directory. Also supports ARJ format. LZH/LHA support is dodgy. The Zip/Arj/Lzh header decoding module comes from somewhere around there (I can't remember the author though). UPDATE: you can now select the drive you want to scan (sorry for forgetting that and thanks for pointing it out, I didn't even notice my mistake!) and you can sort archives by number of files it contains. To answer the question "why not ARC/RAR etc,...", it's because I use a header decoder made by Martin Carlsson (who I thanks!) which coped with these formats only. Cheers :)
TFS overwrites every character in a file with random data (this data is specified by the user) up to several hundred times before randomly renaming the file and then killing it. This means that it can't be recovered from your hard drive - it really is a secure delete! As every character is overwritten, it's secure, but a little slow. TFS can also scan for temp files and adds a right click context menu to your files. If you like this code, please vote or leave a message!! Thanks.
Here a description about FSO(File System Object) and howto use it
This with use vb's link.exe to decompiler your exe to a text file.You will be amazed on what you see.the res file included needs link.exe added in it.this gets extracted during load to the apps current directory.Just to keep things stable from corrupting your main vb6 program.This is intented to help assist in develop a real decompiler. the tools are right here under everybodys nose!!
DoDi's vb3 decompiler has been decompiled and converterd to vb6 source code.needs to be completed but I figured with the assistance of you we could actually get a real vb6 decompiler would appriciate your feedback rons_xemail@yahoo.com
It can make an archive from any files (without compression) and can extract them. It can open an archive and show the contents. Also it can split an archive and it can show the contents of a splitted archive. It has got an internal viewer. Faster then CYBER-CRYPT!
This code will open any file with its creator. It is very small and simple... worth a look at. It works on all versions of Windows. Please let me know what you think of it and vote if you like.
Here is a useful function I created to solve a problem I was having in processing files for one of my applications. This function works better than trying to use the VB 'OPEN' command because it will always return the correct state of the file (even on a file that is being FTP'd at the time of the test.) See remarks in the FileReady function on it's use, as well as a sample at the end of this note.
This will get various statistics of your code. it can scan projects, forms, modules, classes and controls. The informations retreived.. well, just look at the picture. The code is a definate improvement on the last version which only scanned projects, forms and modules. This version can scan classes and controls, plus gets the amount of declared variables, properties and api decalrations. The code itself has also been slightly re-structured for ease in inserting any other files you wish to scan for. Let me know if you have any suggestions, as these improvements were suggested in the feedback from the last version. Any votes are also appreciated :) Thank you.
A simple example on how to copy and paste files with the windows clipboard. Just like the windows explorer does