HTML - CSS
Files Directories Drives
Windows and Controls
Visual Basic > API and Miscellaneous sample source codes
Binary Numbers to Decimal
To change a login password use the following routines
Check if a loggin password and user name are correct
Convert a pointer to a string into a string
Convert integer to Hex
To convert a Class ID to a prog ID and back use the following routines
Converting text-input to a reliable time
Create a timer using API calls
Creating A Percentage Done Status Display
Creating windows and controls using API calls
Decimal Numbers to Binary
Determine if an API exists (can be called) from a machine
Finding Out If A Computer Is Connected To The Internet
Function to add simple encryption to a string.
Function to find the number of working days there are between two dates.
Function to round a value up,down,or near to another value.
Get the error message associated with and API error number
Give your application a splashscreen
How to call Help file functions using API.
How to get information on the printer type, driver and port.
How to program a delay using the Timer function.
How to remove Control Box menu items.
How to retrieve a Pocket PC device's name
Implementing Find Functionality
Launch a PC's default browser with ShellExecute API
Open any thing ...DOS ...FOLDER.. RUN a program and more
Opening, Printing and Emailing documents-files using Shell API
Perform a recursive search for a file or pattern using API
Read an internet web page with API calls
Reading the contents of an Excel Range
Redim Preserve a 2d array
Register Components without using Regsvr32.exe
Registering and unregistering COM components using TLBINF32.DLL
Registering components using regsvr32
Removing an item from a 1d array
Replacement for Sendkeys using a class containing API calls
Restrict the movement of a cursor to a specified area
Return the error message associated with Err.LastDllError
Returning a list of DSNs and their driver type
Returning a Terminal Server Session ID
Returning all the Process IDs for an EXE-Image name
Returning helpful information from failed CreateObject
Returning parameter information from a stored procedure
Returning process timing information
Returning the installation path of a DLL or OCX using a ProgID
Returning the reference count on an object
See if Crystal Reports is being viewed on screen or is done printing.
Show the 'Browse Folder' Common Dialog via API calls
Use API to get all info on local hard drives and network drives.
Use of the API-call
Use of the API-call to get currency-format
Use of the API-call to get drive information
Validating An Email Address
Link to Us