Tools Links Login

GBIC: VB6 Sample Code

The following is reprinted for archival purposes from Gary Beene's Information Center, with permission from Mr. Beene himself.


Sub Command1_click

   'create a new VB program with a single window and a single button
   'put the line below in the button click event . The line is executed when the button is pressed
   'MsgBox Is a built-In VB function which pops up a window with the specified text

   MsgBox "Hello world!"

End Sub

About this post

Posted: 2021-02-11
By: ArchiveBot
Viewed: 128 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.