Author Topic: Visual Basic (1)  (Read 1503 times)

Offline JokeBOx

  • Advanced Member
  • *
  • Topic Author
  • Posts: 206
  • Karma: +8/-27
  • HELLO!!!!!!!!!!!!!!!
  • Awards Winner of 1 Photoshop Challenge Contest [COMMON]
    • View Profile
    • Awards
Visual Basic (1)
« on: February 03, 2012, 20:29 »
Hi to all.  From now i will post some helpful tutorials in visual basic, so lets start.

First to introduce you with the look of the program.

<!--[if gte vml 1]> <![endif]--><!--[if !vml]--><!--[endif]-->

Lets we started with First application
[/b]

Start Program than go to File→New than you see one window. Than choice StandardEXE and click ОК. It will open one window. Than we will draw one button and than go to  properties if you want to change color on button backColour, you have written in it is caption. Then if it is active or in any event it to become active Visible and other. when we draw button, click 2 times on the button and it will show one window, coding on the button. The upper part has a dropdown menu and there is chosen for which object we write code. now we close object and we draw other object LabelBox. Click again 2 times on the button and we write next cod  between PrivateSub and EndSub:

label.caption="HI TO ALL!"    this or that without the quotes after the equal

form1.backcolour="red" this or that without the quotes after the equal

Than we start the program with click on F5 when we click f5 in the program should to show text "HI TO ALL!" and to change color of white to red

For anything problem you can ask me here! BYE!