English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

This is all about computer programming. All I need is a good example of a program.

2007-01-26 00:41:52 · 2 answers · asked by PJ Tan 1 in Computers & Internet Programming & Design

2 answers

Look for this book:

Programming in Visual Basic 6.0 by Julia Case Bradley and Anita C. Millspaugh
Published by Irwin McGraw-Hill
ISBN # 0-07-233513-0

I taught myself VB using this book. It's extremely easy to read and follow examples.

As for a simple program...

Open a new form
Put 2 buttons and 1 label on it

In the properties box, look for the Caption property and
label the buttons Date and Exit

Double click on the Date button to get the click event

Button1.click
label1 = Now()
end sub

for the Exit button

Button2.click
END
end sub

Button one puts the current date/time into the label
Button two ends the program

Click Run and try it out

2007-01-26 02:30:24 · answer #1 · answered by rod 6 · 0 0

Search the internet - there are literally hundreds of thousands of VB programs on the net. There are also hundreds of tutorials available, and reference sites. Time to get searching!

2007-01-26 01:08:33 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers