Microsoft Visual Basic Site

 Visual Basic Information

Updated December 22, 1997

What's Here?

  Code Samples and DLLs. Nifty things to do with Visual Basic.
  VB Articles. Tricky things to do that need some explanation.

Code Samples and DLLs

Taskbar Code
Put icons into the tray notification area and respond to mouse clicks. Not an ActiveX control, but VB4 source with lots of API declarations. Includes MsgHook from Zane Thomas.

 
Low level I/O - Sorry that it's 16-bit code, but with this very cool DLL from Jonathan Wood at Soft Circuits you can do low-level stuff (like hardware I/O, DOS interrupts etc.) from within Visual Basic. If you need to talk to this DLL from 32-bit VB4, you can always write a 16-bit OLE server.

 16-bit RAS DLL
If you're still using VB3 or have to use the 16-bit version of VB4, this DLL and sample application from Microsoft will get you the same results as the RAS ActiveX control, but not quite as easily as ActiveX.
 ASPI Helper DLL A little DLL that does byte, word and longword conversions inside 32-bit Visual Basic.Very helpful for ASPI ActiveX users.

VB Information

English OLE Thunking Using 16-bit DLLs from 32-bit VB - This document explains how to use 16-bit VB4 to write an OLE automation server that communicates with 16-bit DLLs, so you can use your favorite DLLs from 32-bit VB4. Step by step instructions are given on how to create the server and client.
German OLE Thunking VB als 32/16bit-Bindeglied - same article in German. Translated by Mathias Schiffer.