A CD-Player

A CD-Player with some functions and a cool form. This is a old code I programmed some years ago. A bit of the code is not from me. Original Author: Loreno Heer Attachments File Uploaded Size CODE_UPLOAD7365722000.zip 9/3/2020 3:45:00 PM 23042

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. Original Author: dcroft Attachments File Uploaded Size CODE_UPLOAD1448.zip 9/3/2020 3:45:00 PM 6277

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… Read More »

A Dancing Flame tester – Short Code but Cool!

This application will show a dancing flame. DANCING means the flame will beanimated. You can controll the flame. ENJOY IT!Short Code / Specially Cool! Original Author: Jongmin Baek Attachments File Uploaded Size CODE_UPLOAD1414.zip 9/3/2020 3:45:00 PM 35340

Win95DirectoryPrompt

Prompting the User for a Directory in Win95. Windows’ common dialogs are great if you want the user to select a file, but what if you want them to select a directory? Call the following function, which relies on Win32’s new SHBrowseForFolder function: Original Author: Found on the World Wide Web API Declarations Private Type BrowseInfohWndOwner As LongpIDLRoot As… Read More »

DegreesToXYsubroutine

The DegreesToXYsubroutine, calculates the X (horizontal) and Y (vertical) coordinates of any point, measured in degrees, on the circumference of a circle or ellipse. Original Author: Found on the World Wide Web Inputs Pass the subroutine the center X, Y of your ellipse, the degree position,and the horizontal and vertical radii (if they are equal, you’re specifying acircle, if… Read More »

CapsLock and NumLock

How to Activate CapsLock and NumLock from Code Original Author: Ian Ippolito (psc) Assumptions The keyboard APIs for VB4-16 and VB3 do not support the byte data type.By changing the Windows constant to Public Const VK_NUMLOCK = &H90, you can use the above to activate the NumLock key. API Declarations Public Const VK_CAPITAL = &H14Public Type KeyboardBytes?á?á?á?á?ákbByte(0 To 255)… Read More »

Multiple-User Rich Text IP Chat

A multi-user chat server/client that can support unlimited users, and uses rich text in the messages, allowing colors, font-styles and different fonts. The user running the server can kick any person logged in. Requires: RichTextBo control, Winsock control, and Common Dialog control. Original Author: Joseph Huntley Attachments File Uploaded Size CODE_UPLOAD1398.zip 9/3/2020 3:45:00 PM 9841

A KeyCode to Strings Converter

It is a function that converts keycodes [probably used in ???_KeyDown events], to strings like “Ctrl”, “Alt”, “F”, “/”, which are recognizable to the end-user. Great for game programmers who have a key configuration form! Original Author: unknown Inputs KeyCode as Integer Assumptions If the user presses Shift+3, the function will not return “#”, but will return “3” instead.… Read More »

Access ODBC DB using SQL and a Data Control

This code will allow you to populate DBGrids and other bound data controls using a Data Control, SQL, and an ODBC DataBase. Original Author: Scott Lewis Assumptions Create a new form with a DBGrid and a Data Control. Set the datasource property on the grid to use the data control. Set the DB name property on the data control… Read More »