Advertisement

Results for "Category: Miscellaneous"

2002ASP #774
Conversion between Dec, Bin and Hex

This module contain function that are used to convert between decimal, binary and hexadecimal.

2002ASP #777
Comprehensive Microsoft Agent Example!

Well, you wanna know how to do almost everything in Agent? Well download this, have a read, and you will! This example project I've written shows you how to run through set scripts, use multiple characters, accept speech input, use speech output, use sound files for Agent speech, use Liguistically Enhanced files, hehe or get them to fight! It also gets around the 'Variable with Block Variable not Set' error, have a look!

2002ASP #793
Battery Life

UPDATED- I added comments to the code. This program uses the sysinfo control to monitor battery use on a laptop. The screenshot say more than I can type here. I would ask that if anyone knows how to show the info for 2 batteries, I would appreciate an email with how... Thanks

2002ASP #796
Creating email and attaching a file in lotus notes

This code is to show how to create an email in lotus notes with an attached file

2002ASP #800
Comment Manual

Prints out a 'table of contents' for your Visual Basic program, which contains method names, syntax, and comments only. Useful as 'cover sheets' for the actual code printout.

2002ASP #801
Detect if Shift Key is down

A function that returns whether or not the shift key is currently down.

2002ASP #808
Code-Based Timers

Start and kill a timer using API calls only! Useful when you need timers that can't be placed on a form.

2002ASP #809
SortFiles

Given a pathname, the class in this program returns a sorted list of directories or filenames in a string array, without the use of the drivelistbox, dirlistbox, or filelistbox controls. This program illustrates several important programming concepts, including quicksort, passing arrays to and from procedures, and handling undimensioned arrays. In addition, it's very easy to use.

2002ASP #812
Simple AI Examples from LaMothe's Book

The book "Tricks of the Game Programming Gurus" by Andre LaMothe, copyright 1994, has an interesting chapter on artifical intelligence. However, all the samples in the chapter are done up in C. I've redone them into VB just for the heck of it. There are 5 simple programs illustrating chasing, evasion, patterned movement, random movement, and a program that combines all of the above.

2002ASP #816
List All Files in Folder plus Subfolders (Simple, One Function)

Given a pathname, this function will return a string containing a list of all files in that folder plus subfolders. Much easier than other examples posted here! A single recursive function, with no API's or special types needed.

2002ASP #820
Stop Scrollbar from Blinking

Stop the infernal blinking of the scrollbar in VB6.

2002ASP #822
Simple Video Capture

A simple video capture program, in only 44 lines of code. Now includes a button to change video size, and a button to change video source. For a more complete implementation, go to Ray Mercer's site at www.shrinkwrapvb.com

2002ASP #825
Send SMTP E-mail using winsock

Send E-mail without borrowing another programs interface...... Even send it in the background with one line of code.

2002ASP #826
Scroll a larger PictureBox inside a smaller one

This class module, complete with demo project, will allow you to easily scroll a large picture box inside a much smaller one. This can be extremely useful when space is something you have little of.

2002ASP #850
Beginners VB Lesson #1

This little example is my response to a brand new Visual Basic programmers request for some help in writing a simple Number Guessing Game. In it, you will find the simplest and easiest to understand code... with LOTS of comments and explanations that the beginning programmer should find very easy to understand. Ryan... this is for you... and welcome to the world of Visual Basic programming... :)

2002ASP #867
Alot of stuff

OMG!...this code does everything...u can disabel/enable Crtl+Alt+Delete, Make your program flash in the TaskBar, Load/Save Combo,List,And Textboxs, over 20 subs/function for AIM, fade text in any textbox/listbox/combobox/label, Drag a borderless form, make your form OnTop, make it NotOnTop, open a URL wiht the default browser and more....

2002ASP #877
DirTreeView

This is Explorer-like drive/folder TreeView. No delay at startup (for the hell of read directory structure), because content of each folder is readed on "expand" event. You can also specify any path and this code automatically find the path in TreeView. Base for this code are taken from other submission on Planet-Source-Code. Thanks to all programmers for publish their codes on this excellent server.

2002ASP #882
Midi Input Recorder

NOW IT'S POSSIBLE ON VB! This code INPUTS MIDI DATA, and echo it to a selected midiOut device. Nothing more. If you are not interested in MIDI PROGRAMMING, my advise to you is that, do not waste your time with this. This was hard. BECAUSE: There is a callback function, which Windows calls many times during the recording. You can't find it on a documentation, as I could not. But now, here it is. I created it by looking to C related documents, and by using the 'AddressOf! operator of VB. I don't understand why it is not running from VB, (It crashes) run the .exe, or please compile it first, if you do not trust my .exe file. Oxokl.

2002ASP #883
Print a flexgrid control

The code prints a flex grid control. It supports multi page printing, by using specified number of header and footer rows by the programmer. The header and footer rows will be printed on each page, and it also has an impressive PREVIEW window which user can see the exact result of print before printing..

2002ASP #884
Show

These graphical example generates 1 to 4 explosions on the screen. Each explosion has 1 to 64 pieces. Each piece has 1 to 9 pixels. Every piece has its own direction (clockwise or not), and has its own rotating frequency. ALL THE PIECES ROTATING! NO API FUNCTION CALLS, JUST the PSET!!! It is a really first project of my own with VB5. Enjoy.

Languages
Top Categories
Global Discovery