HOME | Karland.com
Add Source Code Here
Here are 69 files on this page




Bubble Sort with Ascending or Descending for Multidimensional Arrays using Date,Text, or Long sort types and Written with ASP in mind.
By Chizl

Shows you host to read/write/delete from INI files

A - H - Win16 API Declaration

I - R - Win16 API Declaration

S - Z - Win16 API Declaration

Example of using ShellExecute and then waiting until the program is finished before moving on.
by Chizl

Shows how to get command buttons of any shape.
by Kerry Rogers

Shows how to extract icons from DLL's and EXE's.

Example of keeping track of which control had the focus before a message box was invoked. For further details see Q85856 in the VB Knowledge Base.
by Microsoft

An example of an easy way of setting the Wallpaper in Win95. No registry code, just one API!
by Paul Ellis

Shows how to implement a sizable separator bar on your forms.

How to implement Startup 'Tip of the day'.
by Les Taylor

How to implement Tool Tips. Written By Microsoft.
by Microsoft

Now you can add the 3D effects that Microsoft forgot to your VB 4.0 applications—without the overhead of third-party controls. Less filling—works great.
by Mike Stanley

Good Error Trapping with Line Numbers of which the error occured on
by: Gavin
Date: 11/29/99

This shows how you can send SNMP traps with VB6. ( SNMP SERVICE MUST BE INSTALLED FOR THIS TO WORK!!! )
TrapAgt.zip holds the TrapAgt5.DLL and C++ Code for that DLL.
by: Gavin

This code shows how you can grab a window handel by window caption that isn't yours and you don't have to know the whole window caption.
by: Gavin

For the first time ever real source code that will Read and Write to XML as if it where a database, using pure ADO recordsets.
by: Chizl

Inet Transfer Control not downloading the web page every time? This is how Microsoft Pulls down a web page without using the Inet Transer Control.
by: Chizl

Little trick on writing to the NT Event Log with only 2 lines of code in VB5 or VB6.
by: Microsoft

Nice little app to open a veiw XML files using MSXML.DLL
by: Expoware Soft

This is a very fast way to do a complete hard drive file search. Teaches recursive function calling.
46 Lines of code does it all.
by: Chizl

This self-extracting file was sent to us by an individual, but we found it
originally came from Common Control Replacement Project.
This Visual Basic 5 example demonstrates how to dynamically create at
runtime both the treeview and listview controls exposed by the common
control library Comctl32.dll, without the use of Comctl32.ocx. Basic
Explorer style functionality is also demostrated via the implementation
of the IShellFolder, IEnumIDList and IContextMenu interfaces.

This is code to show how to change your cursor to the hourglass using API calls.

This is the API call Microsoft uses to get their About box for thier applications.
It shows how you can call and change the text and icon within.
(NOTE: This cannot be used in your applications, because MS does have a copyright on it.)

Milli: VB5 application of simple screen saver Milli is an example of a screen saver
with a picturebox and label controls.
Special requirements: Win95/98 operating system and the VB5.0 runtime DLLs
Changes: None
Freeware. Uploaded by the author.

VB5.0 printing infor from a richtextbox to default printer.
Author: Chizl <chizl@karland.com>

VB5.0 to add a combo box to a toolbar.
Can be used for anything, not just a combo box.
Author: Chizl

My Visual Basic 5.0 to show Bitmap menu
Size: 2kb

Size: 34kb

Draws the chaotical graph of Henon

That is right the coolbar code you would see in MSIE.. It's right here..

Web browser source code in VB5..

This is some function we wrote using ShellExecute API call..
This shows how to launch default browsers, defauld Email clients,
and launching every day files from VB4 32bit or VB5..

Download this and put it in your project. Read the instructions and you will
have a program that sits in the system tray instead of just minimizing...

Working source for VB4 16 bit and a VC++ 1.52 DLL. This is an example I
wrote so you can use Visual Basic as a frontend and using my own
VC++ DLL to pass strings and Int by Val or Ref from one to the other.

Using 3D panels you can easily create a 3D interface common to most of
todays applications.
File Size: 1,292 bytes
Requires THREED.VBX

Examples for each of the common dialogs available with CMDIALOG.VBX. The
print dialog also has a WordWrap function written for me by Carl Franklin. The
WordWrap function is also posted separately below.
File Size: 2,701 bytes
Requires CMDIALOG.VBX

Center a form on screen.
File Size: 600 bytes

Using 3D panels as flood graphs, show free SYSTEM resources, free USER objects
& free GDI objects.
File Size: 1,375 bytes
Requires THREED.VBX

Displays Scroll, Num & Caps Lock information on a status bar.
File Size: 1,360 bytes
Requires THREED.VBX

Retrieving information from an .INI file you can use this example to create a simple
'nag screen' with a modest registration routine.
File Size: 6,538 bytes
Requires THREED.VBX

For those with a desire to learn something about games programming, here is a small
project developed by a group of VBer's at the Ford Motor Corporation.
File Size: 65,297 bytes
Requires CMDIALOG.VBX, SPIN.VBX & THREED.VBX

16bit version - Forces a Window to remain 'On Top.'
File Size: 891 bytes

An example of a Read Only textbox.
File Size: 940 bytes

This file contains two zipped files demonstrating how to make a screen saver with
Visual Basic. Neither are my own, so I can provide little help with them, but they
are well commented and should be self explanatory.
File Size: 39,929 bytes

Show MS-DOS and Windows version information.
File Size: 1,162 bytes

This word wrap function was written for me by Carl Franklin. It is used to format the text in
a textbox and then save it to a file. With a small amount of change in the code it can even
be used to format the text in a textbox and then print the formatted text to your printer.
File Size: 1,418 bytes

Here is an ftp demo using the Crescent ftp control
I hope someone can use it
Terry Smith
File size: 51,190 bytes

This source code demonstrates one method for manipulating graphics offscreen while accomplishing the rare
ability of having 'buttons' onscreen that are not restricted to four sides.

Generate and solve 3D mazes in Windows95.

Visual Basic 3D Panel Effects

The complete code with Bitmaps to start you off on your journey into Windows GDI functions and animation.

Learn how to call Windows Api commands using Visual Basic. Tutorial by VB Programmers Journal

This file includes over 23 bas modules which cover topics ranging from API to GDI, Joystick routines, mouse routines, sound routines, string manipulation, tray icon routines and much much more!

One bas file which covers many commonly used api commands such as multimedia and system information.

Same as the original calendar example but has some new features

Finally, an example on making card games in vb using MS's own card dll which was used in freecell and solataire. Excellent example, a must for any card game programmer.

An api command for checking disk space available.

More windows api calls. This project shows how to use many different API calls like : rebooting the computer, parsing strings, playing midi and wav files, ect.

Learn to parse strings. Very useful for word searches like spellchecking and many others.

If your making a shareware program and would like to make a built in registration system without outside files like INI or system registry, use this program. It will actually apend information to the vb program itself.

Make a windows style about box with this simple to use api command.

Looking for a program to create those INF files that shortcuts are made of? Well this program and source code allow any vb programmer to make one as easy as pie.

This creative and one of a kind example shows programmers how to deisgn an entire virtual midi piano in visual basic. Features include volume control, instrument collections, and other nice features.

Code examples for various things from the VBPJ August 8th of 1996

This coding shows programmers hot to make an entire text based webbrowser using the winsock dll and no ocx or vbx add-ons. Very usefull for developing internet or network based programs.

Contains information on how to use MSIE in your vb design enviroment. You must have MSIE on your system in order to use these features. For useful for desiging quick graphical webbrowsers and internet realted programs

Small file containg source code on declaring and implementing features on making windows stay 'on-top'.