: I just want to know about vb, can any one pls tell me about the basic topic of a vb or can you show me a sample program of it, even just a simple hello word
:
: thank's to all,,,
:
Imagine a windows form, empty, but for one button in the center with the caption "Click me".
Private Sub Command1_Click()
Dim sInput As String
MsgBox "Omg! You clicked me..."
sInput = InputBox("Please input the proper greeting:", _
"Proper Greeting")
If LCase$(sInput) = "Hello world" Then
Me.BackColor = vbRed
MsgBox "Yay!", vbExclamation
End If
End Sub
The button will turn throw a messagebox you see more often and that web pages sometimes use (you know those 'don't click me' things, where all kinds of messages appear, that's a messagebox).
Then you can input a text and if you input the right text then the background color of the window turns red and a box with "Yay!" pops up.
Best Regards,
Richard
The way I see it... Well, it's all pretty blurry