control subclassing switchboard

The Switchboard:A method for handling subclassing in ActiveX controlsf you develop ActiveX controls and intend to subclass or hook a window, you’ll very quicklydiscover a problem when you attempt to site multiple instances of your control. The subclassing,which worked fine with a single instance of your control, now no longer works and is, in fact, mostlikely is causing… Read More »

GetWaveInfo

If you’ve ever wondered how sound applications can show the kilohertz and samples per secondinformation about a waveform file (.WAV), the answer lies in the RIFF file format.The RIFF file format is designed to be as generic as possible. It is used for waveform, AVI, palette,and other information standards that may need to be mixed and used together.… Read More »

Printing a Microsoft Access Report from Visual Bas

How to print a Microsoft Access report from within VB. Also, VB 16-bit. (by Jose Garrick) Original Author: anonomous (or see description) Code Access 2.0 can be controlled using DDE, while Access 7.0 and later can be controlled using OLE Automation. In both cases, you are generally limited to what is available as a DoCmd statement/method. I’ll assume for… Read More »

Close/open the CD Rom door

Open and close the CD rom door from code! Note:comment out the unneeded api declaration (16 or 32 bit) depending on what operating system you are using! Original Author: Visual Basic On Line User Group API Declarations ‘for 16 bit windowsDeclare Function mcisendstring Lib “MMSystem” (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal wReturnLength As Integer, ByVal hCallback… Read More »

The 15 minute WWW browser

It took Netscape months to create their first browser, and Microsoft wasnt able to follow up that trick until years later. But you can create a world wide web browser in less than 15 minutes, even if you are a Visual Basic novice! The following tutorial will show you how to create an Internet browser using the Microsoft… Read More »

An Othello Online Multiplayer Game

Play Othello Game in multiplayer mode with the TCP/IP or in local mode….Winsock and recursive code… Original Author: Jason Fleury Attachments File Uploaded Size CODE_UPLOAD1421.zip 9/3/2020 3:45:00 PM 14362

TaskManager

Here’s a simple application to function like the Windows Task Manager… Original Author: Found on the World Wide Web Assumptions Start‘ a new project and add the following controls to the form:‘ Control Name Caption‘ ———————————————————-‘ commandbutton cmdRefresh Refresh‘ commandbutton cmdSwitch Switch‘ commandbutton cmdExit Exit‘ listbox lstApp API Declarations ‘for 16 bit (VB3 and VB4-16) use these:Declare Function ShowWindow… Read More »

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 »