Results for "Category: Files/ File Controls/ Input/ Output"
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.
Makes a XP button for new applications for you who wants to be updated.
Build a rich text editor.
Great code for merging two executables into one, and when you run the new file, both of the programs will run with it, NO API, NO DLL!!! - Base on my project, "FileBinder" Please vote for me...
Did you encounter a "File Locked by Application" or "Unable to Delete file as it is locled by another application" situations? Well this nifty little program will help you unlock and close the file and application so you can Delete,re-edit or do whatever you want again... This app. is a VB console App!!!!
Very fast file wipe and delete application. Selectable overwrite patterns of DOD 5220.22-M standard and the Peter Gutmann overwrite method. This program uses the CreateFile, WriteFile and FlushFileBuffers API. Therefore it is much faster than programs that use the PRINT statement and (in theory) much more secure. Updated GUI with recursive file operations. Please read the ReadMe file!!
This is just a simple remainer from my college dais. It's usefull. It runs in system tray, notify any plannings, navigate on the net, plays sound, multilanguage interface. It has a good grafic. Anyway, enjoy it!
You know how when you download a ZIP file from PSC, the file name becomes a tangled mess such as "[_Cipher_C1865383172005.zip"? This program will let you browse for the folder with your downloaded ZIP files and will rename the ones you select based on the Project Title included in the first line of the PSC_README.... file. It will also display the contents of that readme file without extracting it to disk. ---------------------------------------------------- UPDATE 7/17/2005: removed debug code that prevented compilation ---------------------------------------------------- UPDATE 7/17/2550 4:35 PM: required dll's added in the second zip file. Unzip and register. Also, included the manifest file as a resource (for WinXP Visual Styles compatibility, source is in the Res folder). Thanks to Aly Hirani for pointing out that this project requires a non-standard DLL. ---------------------------------------------------- UPDATE 7/18/2005 10:43 AM : Removed some spaghetti code as suggested by Roger Gilchrist and modified renaming code to remove the Read Only attribute from each file to be renamed. Still thinking about how to implement the part of checking to see that the destination file does not exist and how to deal with that. I also removed all but the latest code backup in order to reduce the size of the download. ---------------------------------------------------- Anybody know how to properly add new lines on the description field? ---------------------------------------------------- UPDATE 7/19/2005 12:38 PM: Implemented both Aly's Suggestions. 1) Unzip32.dll is included in the resource file and will be extracted if it does not already exist (if for some reason you want to alter my resource file and PSC deleted the original unzip32.dll in the Res folder, the DLL file is located on the zip file in that folder) and 2) if a ZIP file contain no @PSC_README*.txt, the project name textbox will state that no readme file was found and if the user tries to rename that file, the program will not allow it (skips over it and at the end states why for all skipped files).
it's an application in which i use text files databse, yes......... when u work on it u feel that u work on a database project, but it's compleately text files database project, you learn soo many of things when you use this project beleave me..........