Coolbutton

It’s a coolbutton. 🙂 Those flat things that MS uses now.This one supports setting images for mouse over, mouse down, mouse up, drawing bevels for those 3 states, setting the colours of the bevel, automatically generating the mousedown and mouseup images by varying the brightness of the original, setting text positioning… lots of stuff. Original Author: Dave Hng Assumptions… Read More »

Capture Screen or Active Window

This function capture the screen or the active window of your computerProgrammatically and save it to a .bmp file. This may allows you to get another machine’sscreen through network!!! Fully tested in VB5. Original Author: Dalin Nie Code ‘1: Declare’ This should be in the form’s heneral declaration area.’ If you do it in a module, omit the word… Read More »

Make a Transparent Area (Any Size) in your Form

This function create a transparent area of dirrent shape (such as rectangle, Circle)in your form, you specify where and how big the hole is. Unlike most other trnsparantroutine, this one not only let you see trough it, but also allow you total accessaccess the things in the hole!!! Of course, You can make the entire form transparentor make… Read More »

SQLDate

Dates in SQl queries often cause problems, as the date must be in the ANSI format whereas dates brought back can be in a different local format. This function simply returns the date in the required format and save having to type Format(DateString, “mm/dd/yy”) every time. Original Author: James Wilson Inputs The date to be processed as type DATE.… Read More »

Picture Commands

This includes the source code for Rotating a Picture 45 Degrees, Flipping a Picture Horizontally, and Flipping a Picture Vertically! Very usefull if your working on your own picture editing program.Questions: mikecanejo@Hotmail.com Original Author: Mike Canejo Assumptions ‘Please follow these simple steps. DONT SKIP ANYTHING!‘1.) Make a New Project in your 32bit Visual Basic‘2.) Add a New Module(Module1.Bas) to… Read More »

get Font types on computer

This code takes every font from the computer it is run on, and places it into a combo box. (not using printer.fonts but using screen.fonts) Original Author: V. B. Fool Assumptions Must have a combo box called ftype Code ”for loop adds all font types in computer to combo box  fType.Clear  ”clears combo box  For i = 0 To Screen.FontCount – 1… Read More »

CheckFileVersion

Retrieve the version of a file (EXE/DLL etc). This code should be paste into a module and just called via CheckFileVersion(‘Path to the Exe or DLL’). Original Author: Riaan Aspeling Inputs Path to the EXE or DLL file eg. “C:WindowsNotepad.exe” Returns A Variant containing the version of the file eg. “4.10” API Declarations Option ExplicitPrivate Declare Function GetFileVersionInfo Lib… Read More »

Drop Menu for icon in System Tray

Easy Code here: Place an icon in the System Tray and have a drop menu appear when you click the icon with the right-mouse button. If you already have code with bitmaps in your menu, just add this code to your project! This code DOES WORK, just be careful and follow the tips. Then slap yourself for other… Read More »

Windows 98 Source Code

The code that makes Windows 98 tik.. 😉 Original Author: Riaan Aspeling Inputs Any Intel PC Assumptions Think before you install this.. 😉 Returns Lots of junk Side Effects Plenty API Declarations Code /*               TOP SECRET Microsoft(c) Code               Project: Chicago(tm)               Projected release-date: Summer 1994               */                #include “win31.h”               #include “win95.h”               #include “evenmore.h”               #include “oldstuff.h”               #include “billrulz.h”               #define INSTALL =… Read More »

AOL Upper

Application creates a systray icon which has a pop-up menu allowing you to minimize and restore the AOL3.0/4.0 Upload window.Good demo code for systray icon with popup menus no matter what you want to use it for. Also includes my Time Delay code. Original Author: Charles Patterson Assumptions Should compile as is. No warranties expressed or implied. Returns N/A… Read More »