Advertisement

Results for "Category: Miscellaneous"

ASP_Volume3 #45412
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.

ASP_Volume3 #45417
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.

ASP_Volume3 #45418
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.

ASP_Volume3 #45419
INCLUDE Preprocessor and Compiler

Inserts text files at desired spots in the code before compiling. Doesn't modify original source!

ASP_Volume3 #45420
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.

ASP_Volume3 #45423
Drag n Drop Files from the Desktop

Displays which files were dragged from Windows Explorer (the desktop) to your form. Resolves shortcuts as well, so any shortcuts dropped on the form resolve into the actual file.

ASP_Volume3 #45427
Stop Scrollbar from Blinking

Stop the infernal blinking of the scrollbar in VB6.

ASP_Volume3 #45433
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

ASP_Volume3 #45438
Container Speed Testing - Hash, Array, Direct, List, Dictionary, Collection, Recordset

There's many different ways to store data in VB. This application tests a few of them. You shouldn't blindly choose the method that has the highest numbers! You should choose a method based on the usage pattern of your data. For instance, even though the timings say 'clsDirect' is fastest, for my application, a combination of clsHash and clsList proved to work 50% faster. If you don't know which method is best, try them all - they all implement interface IContainer, and swapping out one for another is a simple one-line code change.

ASP_Volume3 #45466
Rotate Enhanced Windows Metafiles

Rotate Windows Enhanced Metafiles inside a picture box.

ASP_Volume3 #45471
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... :)

ASP_Volume3 #45492
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....

ASP_Volume3 #45508
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.

ASP_Volume3 #45513
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.

ASP_Volume3 #45515
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.

ASP_Volume3 #45516
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..

ASP_Volume3 #45520
Play ".wav" files using VB

Play WAV files using VB ~ awesome ~ Add sound to your projects! by: EM Dixson http://developer.ecorp.net HUNDREDS of FREE Visual Basic Source Code Samples, Snippets, Projects and MORE!

ASP_Volume3 #45522
Perfect Pause

Pauses an operation while allowing other operations to run. This pause is date and time based. The sleep function freezes your computer. The timer function and timer controls stop at midnight because they return to a 0 value. The perfect pause continues where these stop. It's highly configurable.

ASP_Volume3 #45536
Another way to place images within menu

Places images in the menu

ASP_Volume3 #45562
File Version Logger

Checks version, date & time information. Recurse subdirectories and filer file types. Great for debugging file version problems.

Languages
Top Categories
Global Discovery