Results for "Category: Files/ File Controls/ Input/ Output"
Program to help in protocol development with MultiTECH DSVD Voice Modem. Can be used with any COMM device. Good tool for learning COMM control.
The program shows you how to copy files byte by byte. Everytime, it reads 4 kbs from the source file and write them in the destination file until it reads all bytes in the srouce file. There is a bar that shows the copying progress, and there is a label that shows the copying percentage. In the new update, you can use the browse button to find the source file you want to copy. I hope you will find the code useful .
Basically, this program shows you how to copy file byte by byte. Everytime it reads 4 kbs from the source file and write them in the destination file until it reads all bytes in the srouce file. There is a bar that shows the copying progress. ( Would you please vote for this code )
Just A Updated of my last version as someone asked me for external database for filetypes in this version i tried my hands on plugins capability in this unique application which lets you add your own plugins for adding more file types scan capability the plugin engine is developed by me itself and is at very first stage. so any comment and bug report is invited plz vote for this code and also try to help by creating your own plugins and if you find them working plz send them to me to add them officially to this application.
Use this code to create a control that simulates a keypad. It wasn't very hard but I didn't see one on the site and thought I'd contribute something...... *NEW* a complete sample.....built in vs.net 2k3 I don't have access to 2k2...sorry. I'm
protecte your EXE file via put a password to file and when you open the file you must type the correct password then it will be run.Note: first compile password project with name "data.dat" to the folder of EXEProtector then run EXEProtector project and enjoy! Please rate me if you like this.
thisis an update to my last project, I have added drag and drop like someone asked, I also added a hard drive scanner to find certain types of folder, and a small beta screen to deleted and modify your current favorites. I am going to work on the GUI now, but please post any suggestions and I will build them in asap!!
A mutant cross of your quick launch and system tray! quickTray is to help you save taskbar space, and allowing you to close your windows and open them back up... I made this because taskbar space is something very important to me, and I never seem to have enough of it. Like, When I download a movie lets say, I open d:\downloads, then I have to decompress it, then I open that folder, and either un ISO it or just move it then to d:\Movies, or music, etc etc. You get the point. Anyways, this is so that you can access webpages apps, folders, anything you need to at the easy click of a mouse. This app isnt commented, because I dont like commenting code, but it shows you how to change the registry, how to add files and read files from a txt, and how to open applications using simple system32 api. I call it... quickTray Beware, this may cause mild forms of efficiency!
First things first, this is just something simple, you need to rename cmd.exe.000 to cmd.exe that is the same as any cmd or command file you will get off of a computer. Next you need to make sure that you register the redirect.dll or this will not work, I repeat this will not work. This is a proof of concept that you can use a vb app to talk to a dos window and not only that but read what is sent back in the vb app. If you would like to replace the cmd.exe with your own command file that is fine but please make the appropriate changes in the app to show where that cmd.exe or command.exe is located on your computer. You can see the source to that dll in the dll.source folder, although that is written in c++ by (unknown) but whoever they are, they did a great job..
DB Navigator is an open source .NET control that has a VCR-like interface for navigating data and managing records. Record navigation is provided by the First, Previous, Next, and Last buttons. Record management is provided by the Create, Delete, Update, and Cancel buttons. It contains a huge portion of what every database application needs to perform. The source code is available in C# and VB.NET. More info: http://www.2lkit.com/Default.aspx?path=products/dbNavigator
Very useful when you use cazaa or Bearshare or other P2p, where you download infinity of files, but a quarter is duplicated. It compares all type of files looking for duplicates, how? you select a folder, all files in that folder will be checked and compared looking for duplicated files, it checks 3 part of the binarys and the file LEN, if a file seems to be equal to other, the programm promts for action, and shows if the file is the same. It's like that programm of NORTON... i don't remember the name. it uses listbox, drive list, progressbar, textbox and dir list. Uses two Binary access. NOW UPDATED WITH PROGRESS BAR!!!!!!!!!!
are you tired to forget what do you want to change of your code when you are debuggin?? when you stop debug you cant remember wich was the error, if there where a lot of errors? this utility may help you, its like VB.NET task to do utility
This article is solving very common problem when ASP.NET developers wants to get button "clicked" and submit a form when web site visitor hit an Enter key. That is useful when you want to build Login screen, web site search, pool etc.
Lock a folder or file, provided that they are closed before. This technique prevents windows to take the Handle of the file.
Watch Directory (Windows NT4, 2K, XP) Get the folder and subfolder changes detail, without scanning the folder. It uses multithread technology & synchronous function ReadDirectoryChangesW, it is better than FindFirstChangeNotification.
Check to see if a File exists, simple code
Simple synchronize backups and remove duplicates utility Added option to remove empty folders after delete operations v3 adds the option to use file CRCs for exact matching - this helps in situations where time stamps are different when files are still identical. v4 updates the whole project to use the 'W' API functions to preserve unicode. v5 fixes a bug introduced in v4
This module is a wrapper for the unrar.dll freely available from www.rarlab.com Enables unpacking a specified file from a RAR archive, both to disk as a file or only to memory (string variable) as the file text. There are a couple of other posts on RAR archives, and extracting a single file from an archive has not been demonstrated, and I needed this functionality for my ZipSearch project. Thought others might be interested in this functionality - reuse as you see fit. Note that the declares for the library functions are named unrar and unrar3 depending on the version you have. Get a free copy of this DLL from: www.rarlab.com - Extras www.rarlab.com/rar_add.htm - UnRAR.dll ftp://ftp.rarlab.com/rar/UnRARDLL.exe Happy coding :)
FileTime API declares and handy wrapper functions. Bug fix 24 May 09 in FileTimeToDosTime and SysTimeToDosTime funcs.
This is a Kill Folder function with persistence ... It will remove all sub-folders and files and then optionally delete the specified folder ... I found when removing all the files in the temp folder that some locked files would fail and cause it to not continue with the rest of the files ... This function will continue to remove all unlocked files, even after finding locked files. However, if locked files are found, the parent folder will also not get removed.