Sample Code 
-
Here is a little snippet that allows you to clean your recycle bin without any confirmation from the user, no progress ui and the sound is removed.. 
-
This application is simple but sometimes useful, it gives you the cursor coordinates when you move it across the screen. You can use this to create a list of random numbers or maybe to trigger an event when the cursor moves over already determinded X and Y.. 
-
This coding is useful for VB Developer who are interesting to create Dynamic menu.
Steps:
Add form - Name - frmMain
Image List - Name - imglstImages
Label - Name - lblLabel
Class- mcPopupMenu. 
-
This is a simple piece of code to add continuously "disappearing" effect on your forms.. 
-
Adding the horizontal scroll bar to a list box dynamically taking into account its font (using the IFont interface) and the vertical scroll bar visibility (by analyzing the WS_VSCROLL flag of the listbox styles). 
-
The problem with Win32 tooltips is that you can attach it only to a control that provides the hwnd property returning the Win32 handle of the control. The following trick allows you to create real Windows tooltips for VB intrinsic controls which do not have this property.. 
-
This code will search a folder and all sub folders for a specified file or filter.. 
-
That is some simple code to detect whether a particular .exe is running.. 
-
To create tooltip for list-view items, the code checks the item under the mouse pointer in the MouseMove event of the control. It uses for this purpose the LVM_HITTEST message that returns the index of the item at the specified position. The message is sent using the SendMessage API function. The lParam parameter of the function contains the reference to the LVHITTESTINFO structure; you must fill in the pt field of this structure with the coordinates of the mouse pointer before you invoke SendMe. 
-
This source code shows how to check if a Dynamic-Link-Library (DLL) is registered and ready for use on your system via windows API.. 
-
A beginners code to learn how to create a new key for your app in HKEY_LOCAL_MACHINE like "the real programmers" do, and not using VB's rather lame option.. 
-
This will allow you to create a Virtual Drive on your computer, making a particular folder appear with its own drive letter.. 
-
This is an ExceptionHandler, what is an Exceptionhandler? Once the wExceptionHandler is installed it will allow you to catch and trap those errors that Windows will throw at your application (Eg. Access_Violation) Which doesnt get treated by the Visual Basic Error handler, making your application bullet proof!. 
-
Prevent Multiple Instances of a 32-bit VB Application. 
-
You know how some programs (like when Windows copies a file) the filename is too long, so Windows shortens it to "C:\Wind...\help.txt"; well, this is how to do it.. 
-
An example for using RegisterHotKey and Keybd_event...
And a nice utility to help you use cheats on games!. 
-
A simple color picker and pick-color-by-pixel tool for designers needing RGB or HEX color codes. Now updated to version 3.0. 
-
A small uninstaller example I made for windows!
It detects installed programs and let you uninstall them.. 
-
How to install ODBC connections remotely using the Registry API, connect to a network machine, and install users System DSN's without having to travel around sites.. 
-
The faster and optimized version of loading fonts into your Comboboxes... forget Screen.FontCount and Printer.FontCount, use this API function and you will notice not only its fast as hell(about 98% faster) but its more efficient too!. 
-
how to create a key, ie. in the Form_load statement of a form so your app starts with windows every time the user reboots the machine.. 
-
A simple way to closing an application unnoticed if you know the WHOLE caption and it's correct spelling.. 
-
How to pause the code within an event/procedure whilst keeping your application and other controls responsive.. 
-
How to start a program such as the calculator, and then end it at the command of the user from your own Visual Basic program.. 
-
How to read various Values from the Registry. 
-
Sample code to make a console mode application. 
-
Last submission I showed you how to connect to your EU's ISP or DUN, now this bit of code will show you how to detect an active connection using the WinInet API.. 
-
How to search the registry for your ComputerName. 
-
How to open an item in the Control Panel. 
-
How to add a horizontal scrollbar to a listbox. 
-
Get the current line, column, number of lines and first visible line in a RichTextBox. 
-
The fast API way to add fonts to a listbox/combobox. 
-
Uncover internal DLL functions with Dependency Walker. 
-
How to disable the Ctrl+Alt+Del and Alt+Tab commands. 
-
How to enumerate the windows using the EnumWindows API. 
-
How to read Registry values in VB without complex API calls. 
-
Restrict the movement of the mouse to a certain area. 
-
How to create a shortcut to another file. 
-
An example of how to detect if a sound card is installed on a PC.. 
-
How to determine if the Caps Lock is on or off. 
-
How to hide the mouse cursor. 
-
How to create a Hot Key for your application. 
-
Many countries' international settings specify a space as the digit group separator. The problem with this is that in a multi-line text box the lines could be broken in the middle of a number, which . 
-
Thought this was impossible? Find out how with the AddressOf operator, and a bit of Windows API!. 
-
Shows you how to add another item to an application's system menu. 
-
How to launch a PC's default browser with ShellExecute API. 
-
How to 'Pause' your application using the Sleep API. 
-
Move files to the Recycle Bin with VB and Windows API. 