where do i put the code for hello world

  • tammy
  • Born
  • Born
  • tammy
  • Posts: 3

Post 3+ Months Ago

hi i found the code for hello world but im nt sure where u put the code tomake it work!! im really confused plzzz help me
  • Cae
  • Expert
  • Expert
  • User avatar
  • Posts: 734

Post 3+ Months Ago

ummm... what language???
  • tammy
  • Born
  • Born
  • tammy
  • Posts: 3

Post 3+ Months Ago

c i think!
  • Nego
  • Expert
  • Expert
  • User avatar
  • Posts: 697
  • Loc: Chicago

Post 3+ Months Ago

OMG, the legendary 1st VB project! I remember doing this

Ur book should explain the basic layout of VB and tell u how to get into the text code window.

After u put down all the objects on the form just double click them and ur code window should pop up. The object u double click will automatically set up its own space in the code window and u can type in wutever u want that object to do. If I remember correctly u want a command button to display "Hello world" in a lable. So double click the Hello world command button (I named mine cmdHelloworld and I named my label lblhelloworld) and type in the code which should look something like this.

Code: [ Select ]
lblHelloworld.Caption = Helloworld


Depending on ur teacher, they might want u to do more like add an exit or print button.
  • JnsBedORoses
  • Newbie
  • Newbie
  • User avatar
  • Posts: 12
  • Loc: Powhatan, VA

Post 3+ Months Ago

Also if you look in the near top right there are Tabs...one, if you click it will bring up the forms and if you click the other one it will bring up the code page

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 93 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.