Advertisement

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

2002C #10779
all Ini Functions activeX.dll

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

2002C #10783
Dummy Files Creator

This is fairly simple code and its well documented. When this program is run it just continually generates a random name and makes a file in the c:\windows dir. There is a part where you can add more lines to make the file output is even larger. So check it out. BTW don't test on yourself, I did. IT created over 1600 files in 3seconds

2002C #10787
Filename only from a path

Ever wanted to extract a filename only from a path including the filename, well this simple function will do it for you! (I know its not ground breaking but its simple easy and useful)

2002C #10796
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 ;)

2002C #10808
Stealth-Chat a File Chat program

This is a file chat program that lets users chat to each other without the aid of ip addresses and winsock controls, all it needs is the location to a shared area on your network where the room files will be created then every one else enters that address in there program and then you are able to chat to each other. This program also contains static rooms that you can go to so you dont have to stay in the same room all the time. Also by the press of a button it changes into a replica of notepad in case any one comes along that might not like you chatting.It worked in my school...lol!! PLEASE TELL ME WHAT YOU THINK.

2002C #10836
Deleting Directory with all the Subdirectories

Delete a folder, with all it's subdirectories.

2002C #10840
Protect files and folders

It protects files and folders from users.

2002C #10854
V. Simple GetKeyAscii code

I have seen all of these really complex GetKeyAscii functions out there. Well check this out.

2002C #10891
Cirus Pad

Is a simple notepad like text editors with a few extra features...

2002C #10901
UUDecode Class

This code is based upon the ONLY other VB uuencode/uudecode source code available (it's here). I put this together as part of a larger project that I'm in the middle of (a USENET binary downloader) and I wanted a uudecode routine that would decode on-the-fly. This does. It also encodes and decodes files, like a normal encoder/decoder. I spent a lot of time optimizing it, and I think it'll now decode fast enough to handle most DSL/Cable accounts on the fly (480-590 kb/s). Error checking is sparse, hopefully there's no glaring bugs. Hope it's helpful, and let me know if there's any more optimizations that you can find! [Update] I fixed the problems described below, and also replaced the static filenumbers with dynamically generated ones. Doh! [Update] Another bug found and fixed. There were null characters at the end of each line of files encoded with UUEncodeFile. They're gone now...

2002C #11018
Scanning / Capturing Pictures w/ Scanner or WebCam

Ever wanted to scan a picture and save it to the Hard Drive? Well Now You Can. With a Few Lines of Code you're ready to capture a picture from a webcam or scan something from a flatbed. This may only be compatible with certain brands of scanners and webcams but should work with most. The only thing not coded by me in this sample is the control which is included. I think it was built by kodak. Anyhows enjoy. Be sure to Extract the .OCX to your Windows\System directory or most likely this will not work.

2002C #11031
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.

2002C #11032
Bytecompare files (fastest way)

This code compares 2 files (EXE, BMP or whatever) using the fastest possible way in VB, only asm is faster. its about 1MB/sec. If you have problems opening the project in VB5 just remove : Retained=0 ThreadPerObject=0 MaxNumberOfThreads=1 from the projekt1.vbp using notepad (or just create a new project and add the form and the module) greets, Tom

2002C #11056
Reading Command Parameters

Have you ever wanted to click a file and open it? If your program is associated with a specified file type, or you select file(s) and drag them onto the exe icon of your app then this code is for you. It reads the parameters when the form is loaded using by getting the "Command". This code can get each file dragged or clicked on. If you just use the command statement you will get something like this "c:\george.bmp c:\ben.bmp f:\mydoc.doc". This code seperates each file and uses another sub to open it.

2002C #11064
Advanced Directory Size Checker

I needed to know the size of a directory and its subdirectories (including files). Then I wanted to be able to also exclude some of the file(s) in that directory from the total directory size. So, I wrote this dll in C. You can however use it in VB as well for ease of use. Very Handy !

2002C #11089
Copy a Folder

Copy a Folder in another Folder. If the Folder not exists then this program will create the Folder.

2002C #11091
Get Serialnumber from a harddisk

Get the Serialnumber from your harddisk, cd rom or your disks.

2002C #11092
INI Manipulation (fixed and updated)

This project shows/explains all routines needed to manipulate sections/keys/values within an ini file. It has an intuitive interface, allowing to drag keys between sections, create/delete sections/keys/values, etc, but the routines can also be used individually with other projects. A must have to whom works with INI Files.

2002C #11113
Read a textfile via api calls (v1.1)

This code is designed for reading text files. i have written this code because i did not want to use the slow "open for input..." and "freefile" bla bla code... I know i coul do this via the richedit control, but i wanted to know how to do it via api, and maybe you to... This code is using the "CreateFile" Api, which must be called differently in windows 2000. Therefore, i added a "IsWin2000" function to check for windows 2000. Update: Now added a class which wraps the module, lot's of events and functionality. it's 50ms slower in read (with my test file) Class module includes also function ReadCharacters which reads the specified ammount of characters from the open file.

2002C #11117
Make Wave

Listen to your exes! Write your own wav-files. This program turns any file to a wav.*-file. Learn the wav-header. Feedback please!

Languages
Top Categories
Global Discovery