where do i put the code for hello world

  • tammy
  • Born
  • Born
  • No Avatar
  • Joined: Jun 01, 2004
  • Posts: 3
  • Status: Offline

Post June 1st, 2004, 3:53 pm

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
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 1st, 2004, 3:53 pm

  • Cae
  • Expert
  • Expert
  • User avatar
  • Joined: Feb 25, 2004
  • Posts: 734
  • Status: Offline

Post June 1st, 2004, 4:09 pm

ummm... what language???
  • tammy
  • Born
  • Born
  • No Avatar
  • Joined: Jun 01, 2004
  • Posts: 3
  • Status: Offline

Post June 1st, 2004, 4:17 pm

c i think!
  • Nego
  • Expert
  • Expert
  • User avatar
  • Joined: Aug 28, 2003
  • Posts: 697
  • Loc: Chicago
  • Status: Offline

Post June 1st, 2004, 6:04 pm

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
  • Joined: May 30, 2004
  • Posts: 12
  • Loc: Powhatan, VA
  • Status: Offline

Post June 4th, 2004, 3:58 pm

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 185 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
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.