Monday, September 21, 2009

New Lesson- Using the Printer

In previous lessons, we have only written programs that send output to the screen and not the printer. In this new lesson, we will learn how to send an output to the printer and get it printed. Sending output to the printer is a simple task in Visual Basic, it involves the use of the Printer object and the print method. The standard code of sending an output to the printer and get it printed out is as follows:

Private Sub Form_Load()
Printer.Print "Welcome to Visual Basic"
End Sub

For more details, refer to

Wednesday, September 2, 2009

New Lesson!

I have added another lesson to your favourite Visual Basic 6 tutorial.
The new lesson(lesson 38) discusses about keyboard handling involving the use of ASCII, which I have mentioned in the previous post of this blog.

In this lesson, you will learn how to trace keys that are being pressed by the user. Detail explannations and easy-to-understand examples are presented. To view the lesson, click the following link: