Visit my other favourite sites.. View my current favourite piece of software Download our software.... Source-code and tutorials.... Return back to the main page

This section, which combines tutorials with Tips & Tricks, will teach you how to do different things in your Visual Basic programs. Most of the stuff here is source-code, because I think that people can learn better from source-code. Some of these tips require some knowledge of Visual Basic. In each section(not decided how many sections), there will be one or more tutorials which will combine all these 'How-To's' into a fully working program!! If you have a 'How-To', then please e-mail me with it at submissions@cowan-creations.co.uk. If you have a question or problem, you can post a message on the Forum

1. Visual Basic Controls

a. Centring a form on screen - a better way
b. Using ToolTips in your Program
c. Create A Flashing Logo
d. Creating a Splash Screen
e. Using the With Statement
f. Tip Of The Day
g. Generate random numbers
h. Use the VB File controls
i. Make a Popup Menu
j. Add/Remove items to/from a ListBox
k. Use The Common Dialog Control
l. Using the ImageList control for Animation

2. Making your program User-Friendly

a. Add a Help System to your program - Part 1
b. Add a Help system to your program - Part 2

3. The Windows API(Application Programming Interface)

a. Exiting Windows From Your VB Program
b. Launch Files with their Associated Applications through Visual Basic
c. Use the Animated Copy Functions in Windows 9x
d. Disable ALT+TAB and CTRL+ALT+DEL in your VB App
e. Create an About Box - Quick and easy

4. Converting Data

a. Decimal to Binary
b. Decimal to Hexadecimal and Octal
c. Hexadecimal to Long

5. Mathematical

a. Use the DateDiff function

6. Saving Your Program's Settings

a. Reading And Writing From/To The Registry
b. Saving/Retrieving Program Information Using INI Files.

7. File Handling

a. How to copy files using the FileCopy Statement
b. Create Directory(s)
c. Check if a file exists using the Dir Function
d. Delete A File Using The Kill Statement
e. Find the locations of the Windows, System and Temporary Directories
f. Creating, Reading/Writing To/From files using the Open Statement
g.
Check whether or not a disk is in the drive
h. Learn By Example 1 - Cab Copier
i. Learn by Example 2 - Logo Changer

8. Fun Stuff

a. Creating a screen saver - PART 1
b. Creating a screen saver - PART 2


This site is Copyright © 1999 of David Cowan. VB How-To, Cowan Creations, Dodgesoft and DodgeSoft Productions is Copyright © 1999 of David Cowan. Source-code and programs are copyright of their respective owners. For a messageboard, click here