
Need VB6 self-study advice
Quote:
>Any recommendations for a self-paced VB6 program? On-line or CD would be
>great! Mike
Yes, I have one question for you--"How do you get to Carnegie Hall?"
The answer is the solution to your question--"Practice!" You learn
VB6 by *doing* VB6. Open up the Help and start going through it, step
by step. Start writing simple programs. Do stuff like
1. Create a new form. Create a text box on the form (click
on the control that looks like a white box with "ab" the
middle of it, then position the cursor somewhere over the
form, click and drag to draw the textbox into the shape
and size you desire).,
2. Double click the Form--this takes you to the "Code page"
(the place where you enter code which is attached to the
form). Depending on *where* on the form you double-clicked,
you will either see "Form_Load()" or "Text1_Change()". If
you're NOT in "Form_Load()", look at the two combo boxes
at the top of the code window (the one on the left is called
the Object combo box, the on on the right is called the
"Procedures" combo box); click on the left combo box and
select the "Form" object, then press TAB to go to the
Procedure combo box and select the "Load" procedure.
3. Type the following in the Form_Load procedure (don't type
in the first or third lines):
Private Sub Form_Load()
Text1 = "This is a test"
End Sub
4. Run the program by pressing F5. You'll see a text box
appear on the form with the init9ial value of "This is
a test". Congratulations, you've just finished your
first VB6 program.
There are literally *dozens* of VB programming books at your local
bookstore. To learn the basics of VB6, I'd recomment either a VB5 or
VB6 programming book. To learn the basics of Windows programming with
Visual Basic, you can get a book as "far back" as VB 3.0.
HTH
--- ICQ: 40164792 ----------------------------------------------------
:) aka Jack Voltz :) Web: www.ovnet.com/~voltz
:) M A R A N A T H A ! :) Prolife: ./prolife.htm
:) S i e m p r e P o r V i d a ! :) Music: ./music.htm
;) Pour la Vie, toujours ! ;) Y2K: ./y2klinks.htm