Category Archives: Microsoft

A Dart board Game

The First Dart Game on Visual Basic made for your own pleasure………..Playing 301 and 501 Game’sUsing BitBlt and maths function Original Author: Jason Fleury Attachments File Uploaded Size CODE_UPLOAD1812.zip 9/3/2020 3:45:00 PM 287074

Address Book – Directorio Telef??nico

This is an example of a DAO DATABASE CONNECTION PROGRAMEste es un ejemplo de un PROGRAMA DE CONECTIVIDAD A UN BASE DE DATOS POR DAO.This program contains an english part, for those that speak english.Este programa contiene un parte en espa??ol, para aquellos que hablan espa??ol. Original Author: Alejandro de la Puente P. Assumptions This program works with Microsoft… Read More »

A “Play” Command for Visual Basic

This is the equivalent of the QBasic PLAY command that enabled you to play notes through the PC speaker. This version allows you to take advantage of the Sound card and therefore has many advantages. It uses the MIDI interface to send individual or multiple notes to the sound card. Original Author: Aidan Inputs It requires the notes that… Read More »

FindFile – Fast, using the API

Uses the FindFile, FindNextFile, and SearchPath API functions to quickly find a file on your hard drive. Runs faster than methods which use Dir$. Original Author: Dave Hng Inputs Filename – Filename to search for.Path – The path to start searching from. Assumptions None, if you want to find out what the API does exactly, read the Win32SDK. It’s… Read More »

Make your own CD-Player!

Fixed it! This is the source that will let you make your own CD Player! It uses the Media Control Interface (MCI) via API to play a audio cd. [NOTE: For this class to work on a form you must reference the class eg. (Set Snd = New CDAudio. I already have prepared it in the included zip.)… Read More »

formatcurrency

format a text field into a $ currency field. Original Author: Vikramjit Singh Inputs text box name Assumptions Call teh module by passing any text box name that you want to have as a currency text box. Returns formatted value in $ API Declarations ‘put as many text boxes as you want…say text1‘call the class by using the following… Read More »

DBGrid Sort

It is nice technique for dbgrid sorting.Youcan sort Dbgrid Columns by clicking on the grid column headerin two ways ascending or descending. Original Author: Adam Abas Returns Sorted Records in dbgrid. Side Effects No Idea, API Declarations Code Option ExplicitDim st As Boolean***********************Private Sub DBGrid1_HeadClick(ByVal ColIndex As Integer)’Dbgrid Columns sort by clicking the grid header in two way ascending… Read More »

2 MINUTE WEB BROWSER!!!

This is similar to the 15 minute web browser, but is MUCH easier and has many more options!!! Original Author: Matt Evans API Declarations Code Step 1) Start up a project in VB… Make a new oneStep 2) Goto ‘Add Form’, Double-Click on Web BrowserStep 3) Goto Project1 Properties… And change the startup form to wWebBrowser1Step 4) Remove form1… Read More »

***UPDATED*** Window SPY

***UPDATED*** Gets tons of information on the window your mouse is over. Original Author: Matt Evans API Declarations Public Declare Function GetCursorPos Lib “user32” (lpPoint As POINTAPI) As LongPublic Declare Function GetWindowText Lib “user32” Alias “GetWindowTextA” (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As LongPublic Declare Function GetModuleFileName Lib “kernel32” Alias “GetModuleFileNameA” (ByVal hModule… Read More »

EZ – .ini

Access .ini files in the blink of an eye. Use one line of your input to quickly retrive .ini values. With the same one line of code write to your .ini file. If you have any improvements on this code, E-Mail me at “karatebob@hotmail.com”. Original Author: Frank Joseph Mattia Assumptions When you call this in your code, this is… Read More »