Advertisement

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

2_2002-2004 #122475
Patch Extractor - Binary Compare Two Files

Binary compare two files and save the differences to file. you need to 2 files with equal length, one original and one patched. please register syntools.dll in your windows system with regsvr32.exe. syntools.dll provides standard common dialog functions like file dialogs for open and save, color picker window, file exists function and more... you can download syntools.dll source right here at your mother of source codes. just follow the url below: http://www.planet-source-code.com/xq/ASP/txtCodeId.21368/lngWId.1/qx/vb/scripts/ShowCode.htm feel free to email me if you have any questions or suggestions. mailto: [email protected]

2_2002-2004 #122512
Beginners Toolbox

Threw this together to answer a group of questions in the Discussion forum. It is intended to help those just starting VB. It demostrates string manipulation, file handling, simple navigation, reading and writing to files. It includes four example apps that include menus, window handling, file properties and a basic text editor. Code for each function appear in a textbox ready to copy into your project. I hope this is of some help to people beginning VB. Good luck.

2_2002-2004 #122530
Resource Guide

This code is a guide to using\making resource files to use in your VB programs. Resource files are very cool, they allow you to design a great program include all the images in it and it means that no one can edit the images and re-distribute the code as their own.

2_2002-2004 #122546
Fast Code 2 Create Excel Files

I have many troubles when try to export big amount of records from database into excel. These troubles because I use Excel.Application, Excel.Workbook and Excel.Worksheet. Unfortunately all of them working too slow, spend many resources, and not compatable between OSs/Versions. There is other way to create all excel compatable file.

2_2002-2004 #122557
CD Autorun Maker

It really does two things. Shows how to make a path appear in a Textbox with a Common Dialog. And it also demonstrates how to make an INI file. You'll have to edit the .ini before you burn it on the cd, and you'll have to copy the app and icon you specify onto the cd and change the INI's paths respectively. Just something i did to help newbies out there.

2_2002-2004 #122560
Media Player W/ Microsoft Multimedia Control

To Play the following file types: .mpg, .mpeg, .mp3, .wav, .mid, .midi, .avi using the Microsoft Multimedia Control and the Common Dialog Box.

2_2002-2004 #122566
all Ini Functions activeX.dll

Performs all ini file functions from within a single dll file.

2_2002-2004 #122570
JPEG Comments

Jpeg Comment. This is a demo how to read/write Comments into a JPEG file. The ReadJpgComment - function is written after rdjpgcom.c of Independent JPEG Group. WriteJPEGComment is written after some Delphi source.

2_2002-2004 #122577
Custom picture file

This is not complete! it only saves in weird way. I am mostly submiting this to get feedback. I want to know if anyone has a better way to make the file it saves smaller and if anyone has a way to open it ;)

2_2002-2004 #122583
A PIECE OF CODE FOR READING WAVE FILES

(Updates is on http://www.planet-source-code.com/xq/ASP/txtCodeId.26377/lngWId.1/qx/vb/scripts/ShowCode.htm) Fellow programmers. Ever wonder how one company's software reads a wave file and show it as a wave sample? This code demonstrated how you can read a wave file and DISPLAY it as a wave sample without using a single API! It opens a wave file (FOR RANDOM) to reads the so-call BINARY (ASCII) and draws the lines in a picture box according to the data in the file. Please note that the wave samples produces by this code are not as detail as those you found in some WAVE EDITOR. I'm still figuring out the wave format and try to play the sound. If you know a function that can play sections of a wave file, generate sounds at different volume and frequency or directly make the speakers (connected to the sound card) vibrate at different frequency and volume, please send me an E-mail...Thanks.

2_2002-2004 #122584
A Pak File Creator

OK folks, I've made a little progress. Here is the latest. This one has problems with any files but text files. If you put the first file in the pak as an executable, it extracts fine. But 2nd 3rd and so on, no way. This code is driving me crazy!!! A big thanks to Robert Carter for his help on getting me this far. Please keep your ideas a coming folks. I know a lot of people out there can use this if it can ever get finished and fixed. There are still bugs in the code. I don't have many error handlers in it yet. I want to get the basics of the code fixed first, then I'll go back and make this thing proper. This Code was fixed. Look for the AppenderPak by me. It is the same code as this but with fixes.

2_2002-2004 #122596
Deleting Directory with all the Subdirectories

Delete a folder, with all it's subdirectories.

2_2002-2004 #122655
VB-friendly SpecialFolderPath Function

This is a VB-friendly interpretation of a reliable method for accessing the myriad of Windows special folder paths in their resolved states. If you need to know the full path to the Desktop Folder, Startup Folder, and many many others, this function will quickly get you there.

2_2002-2004 #122662
x86 Emulator (DosHLE) v 0.2!

This is a VB emualtor project for the Intel 8086 It opens .com files and emualte a few opcodes. My Idea was, to write a "retro" emualtor for old days who many peoble spend a lot time for. My Goal: Adlib emualtion, VGA/EGA and VESA emualtion. I`m going max. to the 80-286. NEW 0.2. Now R/M byte is supported!!! + a few new opcodes

2_2002-2004 #122677
KeyCapture Second Edition

Next Generation Key Catch 2004 SECOND Edition has 3 new features. You can now press F keys to do certain functions. There is also an F key to hide/show from ctrl, alt, del and from system proccesses. Third Edition will have a server/client for getting keys pressed on a remote computer. Happy keylogging!

2_2002-2004 #122750
Make a mini EXE!

Check out this code. It will create a standalone EXE that will run on any x86 machine, OS independent. Also, extremely small file. An exe with "Hello, World!" is only 23 BYTES! It is truely amazing!

2_2002-2004 #122753
DirGuard20

Dirguard guards a directory for changes like addig files, deletions, renaming, adding / deleting subdirectorys. Some other small gadget have also been inserted in the code. This is an update of previous version(s) and also the final version so i made it 2.0, i would like to spend more time on it but a new project awaits. Please rate this code and report problems / questions or comments to me. The code is tested on WIN-NT (4-sp6) and Win98(SE) and worked fine (WIN-NT users read the code-comment for additional information).

2_2002-2004 #122767
Mike's Wave Merger

This will take a list of waves (RIFF format most popular by microsoft) and properly merge them with a new header on the output file. I have submitted file mergers in the past and people complained on how it didn't work with wave file types since they have headers that tell it how to be played so this is the reason i wrote this project. If someone out there can merge a couple with different sampling rates or bitspersample and send some feedback on what the end result is then that would be appriciated, i havn't had time to test this out fully, it just works as far as i can tell with the wave riff format. Email me at [email protected] for any questions that you have since i didn't comment much on this since its a simple method i thought. Good luck tell me what you think and please don't forget to vote if you like it.

2_2002-2004 #122810
Telemtry Control

This program controls a remote unit across a range. The OFF button sends a "FF" and expects an "FF" within 1/3 of a second otherwise it times out. The reason I uploaded this is because I could not find a serial program that worked using MSCOMM and ONCOM event. I did have trouble at first until I read that Microsoft has Rthreshold default as '0'-- it needs to be '1' for the received data event to be captured I realise this is a very simple program, but it WORKS. To check this out place a wire/short between pins 2 and 3 on your DB9 serial port. This will route TX to RX on the same port. I limited it to COM1 and Com2 but others can be added. I hope this helps someone trying to use the serial port.

2_2002-2004 #122815
transferring data

This VB code shows how you can use ADO and Microsoft Scripting Runtime Library to transfer data from a database table to a text file.

Languages
Top Categories
Global Discovery