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

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

Share | 
 

 Hello World! Creating your first Visual Basic Application

View previous topic View next topic Go down 
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
avatar

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

PostSubject: Hello World! Creating your first Visual Basic Application   Thu 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
View user profile http://learnerzplanet.forumotion.net
squatron
M O D E R A T O R
M O D E R A T O R
avatar

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

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

It works!, how about Visual Basic 6.0 will it work?

_________________

Back to top Go down
View user profile
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
avatar

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

PostSubject: Re: Hello World! Creating your first Visual Basic Application   Thu 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

_________________
[You must be registered and logged in to see this image.]

"Do not compare yourself to anyone in this world, If you do your insulting yourself"


Back to top Go down
View user profile http://learnerzplanet.forumotion.net
squatron
M O D E R A T O R
M O D E R A T O R
avatar

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

PostSubject: Re: Hello World! Creating your first Visual Basic Application   Thu 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
View user profile
Magina
Lurker


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

PostSubject: Re: Hello World! Creating your first Visual Basic Application   Fri 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
View user profile
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
avatar

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

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

Did you know that Visual Studio 2010 is released? and new Visual Basic 2010 is included.

_________________
[You must be registered and logged in to see this image.]

"Do not compare yourself to anyone in this world, If you do your insulting yourself"


Back to top Go down
View user profile http://learnerzplanet.forumotion.net
squatron
M O D E R A T O R
M O D E R A T O R
avatar

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

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

Where can I download it? or can I?

_________________

Back to top Go down
View user profile
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
avatar

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

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

Yes you can! Here's the link: [You must be registered and logged in to see this link.]

_________________
[You must be registered and logged in to see this image.]

"Do not compare yourself to anyone in this world, If you do your insulting yourself"


Back to top Go down
View user profile http://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 : 39572
Join date : 2010-10-04

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

Visual Basic 2008 ,2010 or what ever still the same .xD

_________________

Back to top Go down
View user profile
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
avatar

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

PostSubject: Re: Hello World! Creating your first Visual Basic Application   Mon 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."

_________________
[You must be registered and logged in to see this image.]

"Do not compare yourself to anyone in this world, If you do your insulting yourself"


Back to top Go down
View user profile http://learnerzplanet.forumotion.net
Guest
Guest



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

eeeeeeeeeeeeeeeeeeeeeee
Back to top Go down
Guest
Guest



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

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Back to top Go down
Loonie
Lurker
avatar

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

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

Guest wrote:
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

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

Posts : 56
Reputation : 39088
Join date : 2010-11-07
Age : 27

PostSubject: Re: Hello World! Creating your first Visual Basic Application   Sun 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
View user profile
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
avatar

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

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

Before I forget, Only WinXP SP3 Computers that can play with 2010 VB.

_________________
[You must be registered and logged in to see this image.]

"Do not compare yourself to anyone in this world, If you do your insulting yourself"


Back to top Go down
View user profile http://learnerzplanet.forumotion.net
Sponsored content




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

Back to top Go down
 
Hello World! Creating your first Visual Basic Application
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Visual Basic
» Onion Tou!!! The most dangerous creature in the world!!!!
» Steam Traction World Updates
» Some very basic tips from a new user
» Tourists in the world

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