Microsoft Visual Basic (VB) is a high-level object-oriented language. This means it reduces the complexity of writing for different hardware platforms. Visual Basic uses a series of libraries to interface with different hardware and systems. To program for a touch screen, you must add the necessary hardware library to your program code. The name and procedure to add this library is the same in Visual Basic 8.0 to 10.0.
- Skill level:
Click the "Visual Basic" shortcut on your Desktop.
Click the "Open" option in the "File" menu, then select your VB project to open the file.
Right-click the project in the "Solution Explorer" window and click the "Show Code" option.
Add the following line after the existing code:
This includes the touch screen hardware library. The rest of the program doesn't need to be changed.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for