Sample Code
-
Preserve with ReDim
by James Crowley
How to use Preserve and the ReDim statement to resize arrays whilst preserving existing items
-
Beep
by James Crowley
How to make the PC beep
-
Set the Combo Drop height and width
by James Crowley
How to change the drop height and width of a ComboBox
-
Printing from a RichTextBox
by MSDN Communities
How to setup up WYSIWYG printing in a RichTextBox
-
Create a shortcut
by James Crowley
How to create a shortcut to another file
-
Add to Recent Documents
by James Crowley
How to add a file to the recent documents list.
-
Disconnect from the Internet
by James Crowley
How to disconnect from the Internet
-
List Installed Fonts
by James Crowley
How to loop through all the fonts on the computer and add them to a listbox
-
Get Running Programs
by James Crowley
How to retreive a list of the running programs and their paths.
-
Add pop-up menu support to the Rich Textbox control
by ElementK Journals
How to add pop-up menu support to the Rich Textbox control
-
Special Folder Paths
by James Crowley
How to find the paths of special folders such as My Documents and the Start Menu
-
Create a hyperlink
by James Crowley
How to add a hyperlink in your application
-
Determine if a Font is TrueType
by James Crowley
How to find out if a font is a TrueType font or not
-
Load a file
by James Crowley
How to load the contents of a file into a text box
-
Loading combo items from a file
by James Crowley
How to add items to a combo box using the contents of a file
-
Saving combo items to a file
by James Crowley
How to save the items in a combo box to a file
-
Output text to a form
by James Crowley
An example of how to 'print' text onto a form.
-
Generating Random Numbers
by James Crowley
How to generate random numbers using Randomize and Rnd.
-
Save the contents of a textbox to a file
by James Crowley
How to save the text in a textbox to a file
-
Display the Open Dialog
by James Crowley
How to display an Open dialog box, without using the Microsoft common dialog control!