3 Replies - 448 Views - Last Post: 17 November 2010 - 11:14 AM Rate Topic: -----

#1 techgurl20  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 15-November 10

New user

Posted 15 November 2010 - 01:59 PM

Hi I am a college student majoring in networking and I just need a little help getting started on a program then I will be able to finish it myself thanks
Is This A Good Question/Topic? 0
  • +

Replies To: New user

#2 Adnan25  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 15-November 10

Re: New user

Posted 15 November 2010 - 02:10 PM

hello techgurl, welcome, i am new here too, i am uni student currently in 5th semester doing Bachelor of computer science. i am looking forward to do major in networking too. current i am studying 1 course , Computer communication & networking. hope to see u around, take care.
Was This Post Helpful? 0
  • +
  • -

#3 techgurl20  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 15-November 10

Re: New user

Posted 17 November 2010 - 09:42 AM

View PostAdnan25, on 15 November 2010 - 01:10 PM, said:

hello techgurl, welcome, i am new here too, i am uni student currently in 5th semester doing Bachelor of computer science. i am looking forward to do major in networking too. current i am studying 1 course , Computer communication & networking. hope to see u around, take care.

Thanks Im trying to figure out how to write a code for vb
Was This Post Helpful? 0
  • +
  • -

#4 BobRodes  Icon User is offline

  • Your Friendly Local Curmudgeon
  • member icon

Reputation: 574
  • View blog
  • Posts: 2,989
  • Joined: 19-May 09

Re: New user

Posted 17 November 2010 - 11:14 AM

1. Open VB. Start a new project. You will see a form.
2. From the left hand window with all the gizmos on it (called the "toolbox"), double click the command button icon. You should see a button called "command1" appear in the middle of the form.
3. double click the commmand button. You should see a screen appear, with the following code:
Public Sub Command1_Click()

End Sub

Between these two lines of code, enter one yourself, like this:
Public Sub Command1_Click()
     MsgBox "Hello, World!"
End Sub

Run the program (click the little arrow thing on the toolbar, or press F5).

Congratulations. You have written your first VB program. Good luck! :)
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1