| Hello World! Creating your first Visual Basic Application | |
|
|
Author | Message |
---|
DanielekZ A D M I N I S T R A T O R
Posts : 113 Reputation : 74612 Join date : 2010-09-29
| Subject: 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 Applicationin the Name box, write anything or your project name, example. "Hello world" and click OkIn 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) | |
|
| |
squatron M O D E R A T O R
Posts : 63 Reputation : 74459 Join date : 2010-09-29
| Subject: 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? | |
|
| |
DanielekZ A D M I N I S T R A T O R
Posts : 113 Reputation : 74612 Join date : 2010-09-29
| Subject: 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 | |
|
| |
squatron M O D E R A T O R
Posts : 63 Reputation : 74459 Join date : 2010-09-29
| Subject: 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. | |
|
| |
Magina Lurker
Posts : 10 Reputation : 74358 Join date : 2010-10-01
| Subject: 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 | |
|
| |
DanielekZ A D M I N I S T R A T O R
Posts : 113 Reputation : 74612 Join date : 2010-09-29
| Subject: 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. | |
|
| |
squatron M O D E R A T O R
Posts : 63 Reputation : 74459 Join date : 2010-09-29
| Subject: Re: Hello World! Creating your first Visual Basic Application Fri Oct 01, 2010 3:43 am | |
| Where can I download it? or can I? | |
|
| |
DanielekZ A D M I N I S T R A T O R
Posts : 113 Reputation : 74612 Join date : 2010-09-29
| Subject: Re: Hello World! Creating your first Visual Basic Application Fri Oct 01, 2010 3:54 am | |
| | |
|
| |
Devastator A D M I N I S T R A T O R
Posts : 43 Reputation : 74387 Join date : 2010-10-04
| Subject: 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 | |
|
| |
DanielekZ A D M I N I S T R A T O R
Posts : 113 Reputation : 74612 Join date : 2010-09-29
| Subject: 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." | |
|
| |
Guest Guest
| Subject: Re: Hello World! Creating your first Visual Basic Application Mon Oct 04, 2010 7:42 am | |
| |
|
| |
Guest Guest
| Subject: Re: Hello World! Creating your first Visual Basic Application Mon Oct 04, 2010 7:42 am | |
| eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee |
|
| |
Loonie Lurker
Posts : 13 Reputation : 74319 Join date : 2010-10-04
| Subject: Re: Hello World! Creating your first Visual Basic Application Thu Oct 07, 2010 7:12 am | |
| - Guest wrote:
- eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
He Don't Spam! | |
|
| |
Xeroxis Vx Labz M O D E R A T O R
Posts : 56 Reputation : 73903 Join date : 2010-11-07 Age : 33
| Subject: 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. | |
|
| |
DanielekZ A D M I N I S T R A T O R
Posts : 113 Reputation : 74612 Join date : 2010-09-29
| Subject: 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. | |
|
| |
Sponsored content
| Subject: Re: Hello World! Creating your first Visual Basic Application | |
| |
|
| |
| Hello World! Creating your first Visual Basic Application | |
|