Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

[VB] Hello World

- - - - -

  • Please log in to reply
No replies to this topic

#1
Doggie

Doggie

    I'm very inactive :(

  • Patrons
  • 2,676 posts
  • Joined 13-October 02
The Hello World Example

This is for the ultimate Visual Basic n00b3rs

Assuming we all know how to make a new standard exe project.
For those that don't, i'll make a topic how to use visual basic

For this lession, we need to have One Command Button called cmdHello

Double click on the command button you have put in ur enviroment(IDE)
Now in the Event cmdHello_Click() should show put the following excluding the private sub bit;
 
Private sub cmdHello_Click() 
Msgbox "Hello World"
End Sub
Now run the program.

Hopefully you should have a form with a command button and if click u get prompted with Hello World
Problems and queries, just post here :)

Edited by Doggie, 16 September 2003 - 11:10 PM.



How to remove advertisement from MSFN



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users