Advertisement

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

4_2005-2006 #170758
FileVault - Using NTFS Alternate Data Streams

UPDATE: Fixed a few minor bugs, and added the ability to import any changes the user may have made to a file back into the vault. UPDATE: I have updated the code to implement AES encryption (John Korejwa), and Secure Document Shredder(Steppenwolfe). Fixed a major bug that I was unaware of until I did the update. All file types should be launchable now from within the program. This code demonstrates how to use alternate data streams (ADS) to store programs, files, etc, within another file. There are three projects included in the zip. One is used to View the VaultFiles, one is a blank VaultFile, and the other is used to cleanup tempfiles created when opening a file. Compile all three to the same directory. Launch either FileVaultViewer or VaultFile and the rest should be explained as you go. I have taken extra care to thoroughly comment the code so it should be understandable by coders of any experience level. (Just make sure you understand Alternate Data Streams first.) Feedback would be much appreciated. Much of the information used to create this was obtained from the site http://www.infosecwriters.com/texts.php?op=display&id=53 Also, I used Ion Alex Ionescu's project (located at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=47299&lngWId=1) for debugging purposes.

4_2005-2006 #170759
Shortcut Target Extractor

I was writing a program that required extracting the target path from a shortcut file. All the example I found used the "WScript.Shell" to achieve this. I decided to write a function which uses the createfile and readfile apis to load the file into memory, find the target path, and extract it. In this demo, just drag-drop shortcuts to the form and a message box will popup showing the target.

4_2005-2006 #170760
Unlock locked files

This code allows you to close the process(es) that keep a file locked, by simply specifying the locked file. This is similar to what Unlocker, ForceDel, WhoLockMe and UnlockIt do. I'm not taking credit for this code, because I downloaded it myself from a Chinese site and only removed the unnecessary code and created the sample project. All credits go to the original author. Have fun with it.

4_2005-2006 #170863
Windows Lock A Real Working One

Ok hopefully this works this time if it doesnt get deleted , it's a real working lock down with a nice Interface i made :),Disables Alt+Tab *WORKS*,and does a bunch more than that i wrote everything except the modules if you use them to please leave the respected authors name in it, also i tested it on Win XP Home/Pro both sp1/sp2 so you should have no problems, just remember to spot the password in the code before running it else restart your computer

4_2005-2006 #170864
SimpleXMLParser

SimpleXMLParser is very simple and easy to use xml parser/generator. Demo project is included. Have fun and vote if you find this code useful.

4_2005-2006 #170901
Wave Class - Easily read and write RIFF PCM WAVE format.

The purpose of this code is to provide an easy drop-in solution to reading and writing RIFF WAVE file formats. The clsWave class requires no external dependencies, and provides only the necessary functions for retrieving WAVE data, extended wave information, and writing WAVE files I had looked at several examples on Planet Source Code to do this, but many had flaws in them (one actually looped to find a fixed-position value in the header), were inefficient, or did not conform well to my own uses. As a result, I've spent the evening writing this class. It can read and write small wave files (~ 50K) within a millisecond or two on any modern computer. My main objective in writing this class was reusability, and I believe I have achieved that quite well. You simply open a file, retrieve the bytes directly in a byte array. To write a wave, you must only set the properties of the class and feed it a byte array (or, optionally specify the header parameters and leave the current instance's headed untouched). I have written this class to be about as efficient and quick as it can be, however if anyone notices something that can be improved (aside from the plotting - this was not the goal, only to demonstrate the class), please leave me a note. Currently only supports a static PCM format (44 byte header). Thanks to Robert's comment, I've learned there is alot more to the header than I assumed. The submission will be updated within a week or thereabouts to add support for all PCM variations - but I do not plan to handle things such as MP3 and other such formats, only PCM.

4_2005-2006 #170909
Zoom In Picturebox

Just a PictureBox with builtin zooming capability. Note the selection of a region, which works very nicely. The code is not commented, but I think it explains itself.

4_2005-2006 #170948
DupFind v2 The FASTEST duplicate file finding program on the net (updated 16 apr)

Fastest duplicate file finding program on the net (as far as i know) look at the screenshot for comparisons. Features include: Limit search results, only search for specific file types, 100% accurate byte to byte duplicate finding, search multiple folders or drives, disallow certain folders you choose, options to search subdirectories or not. Please take the time to vote and comment. Updated apr 14: Code Much neater and commented, more options. Updated apr 15: Move duplicates and non duplicates, View lists, open containing folder, move single file, copy single file. still not completely tested so there might be a few bugs with the new stuff. Zero Byte error (hopefully) fixed

4_2005-2006 #171030
File Searcher

It's a file searcher.Type a path and the name of the file you want to search and it will investigate all folders and sub folders of the path.It's simple and fast.NO API CALLS , NO MODULES just SIMPLE CODE.

4_2005-2006 #171039
POPULATING NODES OF A TREEVIEW ON DEMAND

This code allows to avoid the problem of a large amount of data to display in a TreeView. Infact, using the population on demand property of this control you can choose to fill only parts of it (fill a node only when the user expands it).

4_2005-2006 #171104
RichTextExample

This is a full example of a good range of the uses and feature in the RichTextBox

4_2005-2006 #171122
POS

This is our case study in C#. This is a Point of Sales system. This is quite complete application that performs such operation that it is needed in Point of Sales. This program can be run C# compiler.

4_2005-2006 #171230
Complete Word Counter

This is a complete word counter that counts ANY FORMAT like word, excel, txt, csv, xls etc. It counts for Char with or without spaces, word count and linecount. It pretty easy and it counts without the use of Split() function. It uses the word object from the microsoft word 11.0 object library so need referencing. I haven't included exporting but you can at least copy to the line count. The good thing with this one, is that you can simultaneously count up to 500 files plus. I really don't know the maximum limit but it'll depend on the system memory i think. This is good for the transcriptionist industry. Hope this helps to some!!! If you have any suggestions on how I can improve this, just let me know.

4_2005-2006 #171232
FileSystemLibrary (complete replacement for FSO)

This code is a COMPLETE library of functions which allows to recover more informations about files/folders/disks (logical and physical) and faster than FileSystemObject. It replaces totally FSO as it is faster, more complete and easy to use. There is about 100 functions and 80 properties availables. Thanks for your comments, and sorry for my bad english (I'm french ^^) If you have ANY IDEA to improve performances of this classes, please post a comment ! Thanks.----------------- UPDATE1 : Fixed some bugs, added lots of new functions (file/disk sanitization DOD 5220.22-M, files comparison, creation of ISO files from a drive, possibility to change file/folder dates, possibility to cut files into parts etc.)-----------------UPDATE2: Fixed some bugs, added new functions (file/folder search with different criteria etc.)-----------------UPDATE3: Fixed a bug

4_2005-2006 #171304
Breaking the Textbox 64K File Size Limit (UPDATE: Sept. 15th, 2007)

You don't have to be limited to 64K size files for a for a standard Textbox control in VB6. This small sample project shows you how to load, edit and save plain text files, UNLIMITED by file size using the Standard VB6 Textbox control. It's all done in just a few simple lines of code. Please note that this method works on NT, Windows 2000, XP and Vista. If you're coding for systems that use Win95/98 or ME this method will not work. View the readhuge.txt file for full details. (UPDATE: Changed method from Clipboard method to an API method which is even more efficient and does not mess with any data in the clipboard and the end result is the same. Thanks to Kenneth Buckmaster and Rob C. for their input.)

4_2005-2006 #171305
Web Based Auto-Updater

This code is a working (that i know of) Auto-Updater that uses the INet Control to connect to a webserver to update the files. Im currently using it in my project and its working beutifuly. The code is also EXTREAMLY Commented, i did this before submitting it. This is my first submission to psc so post comment if you have any problems.

4_2005-2006 #171359
File Editor on c,c++ v1,2

this programe is a sample source code for build a sample File Editor on c,c++ , becarfull for you how to compile it ! the files are include , source and Executable programe, and Cpp for dev-cpp compiler , its good for young programing . the programe is a sample , windows wordpad in c, c++ language .

4_2005-2006 #171367
Numerical FFT (Fast Fourier Transform)

FFT (fast fourier transform)

4_2005-2006 #171518
Grab file MD5 quickly

This code will allow you to read a file extremely fast and grab its MD5. On a Pentium D 3.6 ghz it can read Explorer.exe and hash it 50 times in under a second. Please try it out and submit any comments or questions. Update (1/1/08) - Cut down the speed by over 100% by not converting the buffer into a string value. Cut down the size of the code by removing unnecessary functions.

4_2005-2006 #171545
Secure File Delete [The Laughing Man]

This is a program that will securely erase a file. This program was coded so that it can be copied into a module without needing to make modification. this method of mine works by randomly generating a random character then overwriting every character in the file with it, Then on the next pass over use a new character. This program will let the user pick how many passes to make on the file as well. The code is commented but please let me know if you have further questions. Also this is my first upload, please let me know what you think and Enjoy!!!

Languages
Top Categories
Global Discovery