Learnerz Planet
What's the benefits for being a member in LZPT?
•Has full access to other forums.
•Can Post/reply topics and discussions.
•Can create topics and discussions/poll.
•Can read topics, codes, URLS and download links.
•Learn something from someone(educationally).
•Share something for others to learn too.


Register and get access! in less than 2 minutes
REGISTER NOW!
Learnerz Planet
What's the benefits for being a member in LZPT?
•Has full access to other forums.
•Can Post/reply topics and discussions.
•Can create topics and discussions/poll.
•Can read topics, codes, URLS and download links.
•Learn something from someone(educationally).
•Share something for others to learn too.


Register and get access! in less than 2 minutes
REGISTER NOW!
Learnerz Planet
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Learnerz Planet

Learnerz Planet
 
HomeLatest imagesSearchRegisterLog in
Welcome Please Enjoy your stay with our new domain name www.LearnerzPlanet.net

 

 Hello World! Creating your first Visual Basic Application

Go down 
+2
squatron
DanielekZ
6 posters
AuthorMessage
DanielekZ
A D M I N I S T R A T O R
A D M I N I S T R A T O R
DanielekZ


Posts : 113
Reputation : 74612
Join date : 2010-09-29

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyThu Sep 30, 2010 4:21 am

This tutorial will help you create your first application using Visual Basic .NET. In this tutorial, we write our first piece of code by telling the application to show a message box displaying the text “Hello World”.



How to use the code!

Firstly, You need to create an Application
File>New Project>Windows Form Application
in the Name box, write anything or your project name, example.
"Hello world" and click Ok

In the left side <--

Pick the "Button" tool and put it on your Form1

Double Click the Button1 then write this code or just paste it

Code:
MessageBox.Show("Hello World", "Message Box Title")

Important:
Make sure you pasted the code between Private Sub and End Sub

Now you're ready to play your application, to play
Choose Debug, you can see the Debug above (6th) tab
or you can just Press the Green Colored Arrow Facing Right (Play Button)
Back to top Go down
https://learnerzplanet.forumotion.net
squatron
M O D E R A T O R
M O D E R A T O R
squatron


Posts : 63
Reputation : 74459
Join date : 2010-09-29

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyThu Sep 30, 2010 9:22 pm

It works!, how about Visual Basic 6.0 will it work?
Back to top Go down
DanielekZ
A D M I N I S T R A T O R
A D M I N I S T R A T O R
DanielekZ


Posts : 113
Reputation : 74612
Join date : 2010-09-29

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyThu Sep 30, 2010 9:24 pm

Yes it will, but some twisting and squeezing codes should be hardly done. I tried it on VB 6.0 and I badly cant understand at all. hehe just try it.
Good luck
Back to top Go down
https://learnerzplanet.forumotion.net
squatron
M O D E R A T O R
M O D E R A T O R
squatron


Posts : 63
Reputation : 74459
Join date : 2010-09-29

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyThu Sep 30, 2010 9:25 pm

ow, I will just be sticking with the 2008 express if thats the case.
Back to top Go down
Magina
Lurker



Posts : 10
Reputation : 74358
Join date : 2010-10-01

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyFri Oct 01, 2010 3:09 am

Danielekz is right, its better to stick on Visual Basic 2008 Express.
it has more features than 6.0 of course because it was released after 6.0
Back to top Go down
DanielekZ
A D M I N I S T R A T O R
A D M I N I S T R A T O R
DanielekZ


Posts : 113
Reputation : 74612
Join date : 2010-09-29

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyFri Oct 01, 2010 3:38 am

Did you know that Visual Studio 2010 is released? and new Visual Basic 2010 is included.
Back to top Go down
https://learnerzplanet.forumotion.net
squatron
M O D E R A T O R
M O D E R A T O R
squatron


Posts : 63
Reputation : 74459
Join date : 2010-09-29

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyFri Oct 01, 2010 3:43 am

Where can I download it? or can I?
Back to top Go down
DanielekZ
A D M I N I S T R A T O R
A D M I N I S T R A T O R
DanielekZ


Posts : 113
Reputation : 74612
Join date : 2010-09-29

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyFri Oct 01, 2010 3:54 am

Yes you can! Here's the link: [You must be registered and logged in to see this link.]
Back to top Go down
https://learnerzplanet.forumotion.net
Devastator
A D M I N I S T R A T O R
A D M I N I S T R A T O R



Posts : 43
Reputation : 74387
Join date : 2010-10-04

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyMon Oct 04, 2010 2:12 am

Visual Basic 2008 ,2010 or what ever still the same .xD
Back to top Go down
DanielekZ
A D M I N I S T R A T O R
A D M I N I S T R A T O R
DanielekZ


Posts : 113
Reputation : 74612
Join date : 2010-09-29

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyMon Oct 04, 2010 2:15 am

New Features LoL
Quote :
If you attended Microsoft TechEd 2009, you got the opportunity to hear the legendary Anders Hejlsberg talk about the big ideas in the next version of VB.NET - VB 2010 - in his charming Danish accent, and Jonathan Aneja, Program Manager for Visual Basic, talk about the details in his charming Canadian accent. (Can you say, "A-boot Visual Basic?")Hejlsberg was up first and the first thing he said was that a goal for the future is for VB.NET and C# to "Co-Evolve" and become more alike rather than more different. In other About Visual Basic articles, you may have noticed when I pointed out a few great features in VB.NET 2008 has that are missing in C#. According to Hejlsberg, that kind of thing will come to a halt. "Every time we add a feature to one we hear from the other community that, 'Boy, we would sure like to see that feature too.'" So they're just going to do it that way to begin with from now on.I foresee many many more sessions in Microsoft conference rooms where the VB and C# teams just try to agree on just what features they're going to implement.Hejlsberg also said that three trends in programming would be emphasized:

  • Declarative
  • Dynamic
  • Concurrent
Declarative programming lets you program "what" you want done, not "how" you do it. Microsoft's new LINQ technology is a great example of that trend because you just tell the compiler what data you want and let the compiler figure out how to get it.Dynamic programming allows the compiler to be as flexible as possible and bind to needed modules right at runtime. Jonathan Aneja explained more about that at the end of his part of the joint presentation.And Concurrent programming lets different parts of your program run "concurrently". Running more units of work on a single processor is not what we're talking about. (That is, all the processes you can see in Task Manager.) The concurrency that Microsoft will add in the future is the ability to run different parts of the same process on multiple processors. As Hejlsberg said, "That's a whole different kind of programming. It's almost impossible today to buy a single core machine. ... If we want our apps to run faster and be more efficient, we gotta find ways to take advantage of all these CPU's."
Back to top Go down
https://learnerzplanet.forumotion.net
Guest
Guest




Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyMon Oct 04, 2010 7:42 am

eeeeeeeeeeeeeeeeeeeeeee
Back to top Go down
Guest
Guest




Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyMon Oct 04, 2010 7:42 am

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Back to top Go down
Loonie
Lurker
Loonie


Posts : 13
Reputation : 74319
Join date : 2010-10-04

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyThu Oct 07, 2010 7:12 am

Guest wrote:
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

He Don't Spam!
Back to top Go down
Xeroxis Vx Labz
M O D E R A T O R
M O D E R A T O R
Xeroxis Vx Labz


Posts : 56
Reputation : 73903
Join date : 2010-11-07
Age : 33

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptySun Nov 07, 2010 6:26 pm

If you plan to code a lot with threads, definitely go with 2010. They did great advancements on the profiler and debugger. The profiler especially. It's a thing of beauty.

My personal opinion is that, for anything else, it doesn't matter. 2008, 2010, same stuff.
Back to top Go down
DanielekZ
A D M I N I S T R A T O R
A D M I N I S T R A T O R
DanielekZ


Posts : 113
Reputation : 74612
Join date : 2010-09-29

Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application EmptyWed Nov 10, 2010 7:32 pm

Before I forget, Only WinXP SP3 Computers that can play with 2010 VB.
Back to top Go down
https://learnerzplanet.forumotion.net
Sponsored content





Hello World! Creating your first Visual Basic Application Empty
PostSubject: Re: Hello World! Creating your first Visual Basic Application   Hello World! Creating your first Visual Basic Application Empty

Back to top Go down
 
Hello World! Creating your first Visual Basic Application
Back to top 
Page 1 of 1
 Similar topics
-
» Global-Mod Application

Permissions in this forum:You cannot reply to topics in this forum
Learnerz Planet :: Computer Talk :: Visual Basic-
Jump to: