Reputation: 229
I've just installed MS Visual Basic 6.0 on my computer, and I'm trying to figure out what it's about. I've found this tutorial. Example 2.1.1 is
Private Sub Form_Load ( )
Form1.show
Print “Welcome to Visual Basic tutorial”
End Sub
I've pasted this where they say I should, pressed F5, and I'm getting error messages.
When I first press F5, I get this:
I click OK and press F5 again. Then I get a different message:
What's going on?
Upvotes: 0
Views: 1641
Reputation: 19808
It's a copy-past problem:
Print “Welcome to Visual Basic tutorial”
SHould be:
Print "Welcome to Visual Basic tutorial"
(normal double quotes)
Upvotes: 7