Results for "Category: Files/ File Controls/ Input/ Output"
Hi. This is an MDI app work in progress. Many have asked after a way to open files into a single (previous) instance of a program. This demo can open multiple files at startup into one instance, you can drag-and-drop onto the running program to open files, and it can receive files to open when already running from explorer or the command line. It also includes working file handling code (open, edit and save files) and some generic menu items. It cannot yet receive commands like [print], this is yet to be added. I have eliminated the need for the MsgLink module which subclass's the window. By raising the LinkExecute event (I looked at doing this programatically but it also needed a hook) using DDE and a label on an invisible form. My idea was to use this form as a progress meter but I made it invisible, using an existing form would load the new instance when the DDE properties are accessed. I have used a RTB control on the child form which is likely to give you trouble. If so you can add your own RTB ref from Components and place it on the child form and name it rtfText. You do not need to size it as it will auto-size at runtime. Please don't complain too much about the lack of comments in the code (there aren't many I admit). I am working on it. Let me know if you have any issues with this working correctly. I've uploaded already to get comments and suggestions, so please DO.
If you been searching for a program that join files like movies, music or other kind of files, then here's my program. Let's you join many files as you want into one simple file, organize and view with the associated aplication. Please vote or leave your comments. Enjoy
This progrqam will scan through a drive or a folder and all subdirectories and only copy file that were created on the current day. This program was developed to backup all new data.
This code replaces XP find, and also provides functionality for creating compressed and/or encrypted composite files. It supports all conceivable search options, with the exception of searching inside of zip files. You may use my code(parts of this code are not mine) in any way you like, commercial or otherwise I don't care. I don't need votes/comments, but I would appreciate any and all bug reports or ideas on improving effeciency.
This program is able to scan the files contained in a ZIP archive,but it cannot unzip them. http://linuxman.2ya.com/. if you think this is useful do rate it, thanks:)
Flamed - the world's first open source VB6 cd writing app - is back :) It gives you almost full low level CD/DVD-ROM access for VB6 in Windows 9x/Me/NT/2K/XP. (9x/Me: ASPI driver needed, rest: admin priviledges or ASPI driver). in contrast to the last 2 versions this one isn't a huge app, but 11 copy'n'paste friendly demonstration projects. they can: burn audio/data discs, grab audio tracks, read CD-Text, read CD/Drive information, calculate CDDB disc ID, read single sectors, get media status (media present/missing, locked/unlocked), lock/unlock drive, get bus position and much more. Please read "readme.txt". Developed the project now for about 2 years and spent about 150$, this'll be the last version.
This code demonstrates the basics behind blocked IO. This is commonly used when copying files.
Qsort is a general purpose sorting program for columnized data and allows one to sort on as many as three fields. It implements the quicksort algorithm. It sorts a 100,000 line file on my P4 at 2Ghz in 11 minutes. Larger than that is a question mark.
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.
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 )
This will teach you how to access in binary mode the newest MSN Messenger on web v 6.2.0133 and edit offssets and allow MultiMsn,SingleMsn,AddBanner.RemoveBanner,Sign in using offline mode,Sign in using online mode + allow to check if msnmsgr.exe there if not copy itself and execute it from its default dir by choosing the drive letter, please always know that using such kinds of codes probably we name it cracking, and its all are illegal just it's an example to a begginer in file access, i can't be held any responsibility and you should not in anyway edit the code and re submit it anywhere else, please a small request i need someone to tel me in case the drive letter is not default let say not "c:\" and its "MyDisk" how can i auto identify to read the drive whatever it is :)any answer will be happily appriciated and thanks a lot :) ...
BAT-Man A well-featured DOS Batch File that lets you add code from over 40 built-in commands as well as your own commands. The cream of the utility is the Message box wizard that allows your batch file to show custom boxes with you message.Quickly create Batch file at the press of a few keys ( or clicks of a few mouses :) if you like.The code is written In unoptimised form so as to help the beginners to understand VB concepts like Popup-menus,Listbox control and most of all - the working of DOS commands.Try it.& vote : )))
This programm is capable of showing the contents of different archives and some archives can be extracted. Archives which contents can be shown are. ZIP,GZ,TGZ,TAR,ARC,ARJ,RAR,CAB,LZH,LHA Archives which contents can be extracted are. ZIP,GZ,TGZ,TAR All coding is done in vb without use of third party components so everybody who needs to unzip something in there project can use this one so the need for third party components will be absolete. Don't expect it to be fast but it is as fast as we could get it. it is far from Finished but since i haven't much time lately, i uploaded it to PSC so maybe someone else could use the code from it. Not all parts are coded by me but some parts are coded by john korejwa and others.
FileLib2 is a class module for handling a big file that contain other files. Useful for storing small files if you have big cluster size. TextLib2 is a text database program using FileLib2. Yeah, i know that this doesn't sound good, but it's fast, and easy to use (...and my english is bad).
This will mod PE headers of compiled EXEs to change their icons.
Smart Storage with 2 compressions(zip/huffman) Smart Storage is something like a file packager, you can add any file(s) of any format to the storage file(AddUpdateItem function) and remove them(DeleteItem function), of course. It uses index(file) technique for a better performance, thus it has VaccumStorage() function. And this project is originally aimed to be the storage part of Carles P.V's Thumbnailer 1.0 (image thumbnailer-viewer with GDI+)(http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=59677&lngWId=1), thus it includes the PictureFromByteStream() function to directly return a picture object from a byte array! Beside that, there are: GetItemText() function for direct return of plain text content; GetItemPicture() function for direct return of picture object according to the index; SaveItemToFile() function to save the content to disk file according to the index. Some of the codes are not written by me, such as cHuffman, cCRC. They are from psc, now they are back for you guys:) The zlib dll is generated at runtime of sample test since psc will remove all PE file. It is easy for you to remove the zlib dependancy, that's why I only enclosed it in the sample project. And I make all these functions into a class for handy usage. I also use Copymemory for a better performance. Please feel free to leave any comments, bugs or suggestions are welcome! Usage: 1.Simply open the sample storage, then click listed files, content displayed, doubleclick to save. 2.Select DB File->Create->Open->Select Item File, add it... Sorry for lack of code comments, but I think that the method is really simple. #update 1: now with compression and better sample, fixed some bugs and improve error handling #update 2: added huffman compression, CRC, GetItemText()/GetItemPicture() functions, fixed bugs in VaccumStorage. #update 3: added support for byte array(such as DIBs)/text etc. And ItemData for extract info. #update 4: added FilterItems() function for quick searcing. please visit a new version: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=59797&lngWId=1 with updates: #update 5: added ReadItemContentChunk(), chunk by chunk to read a file, rather than read the whole file at once. added Version support. Improved OpenStorage result. Now with full DIBs support, from an image to store in storage, then from storage back to be an image! #update 6: fixed bug in ReadItemContentChunk() due to changed with serialized section chunk.
A little Class that allow you to "seek into" and "copy" files bigger than 2GB.
Function that loads delimeted, fixed or Excel-files into an array.
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!
Project size : 58kB No matter which button you press on your infrared remote control - this program "recognizes" each button you press on the remote control. Each button is assigned to an individual "hexadecimal" string. -So if you are an experienced programmer, you can log these characteristic and individual strings, you can analyse the strings - et cetera. The program works with a 9-pin "COM port" interface with 1 diode, 1 resistor, 1 capacitor and a "TSOP" Infrared receiver (the interface can be do-it-yourself). The electronic components are cheap and cost about 2 dollars. Project tested on Win98SE.