Article Options
Recently Viewed
Premium Sponsor
Premium Sponsor

 »  Home  »  .NET Newbie  »  Simple Steps in VB.NET. Part 1 - TheButton
Simple Steps in VB.NET. Part 1 - TheButton
by George Poth | Published  04/24/2003 | .NET Newbie | Rating:
George Poth

I have been teaching English in Brazil since 1994 and always wanted to do more for learners than common textbooks can offer. This started with web sites that couldn't reach most students as computers and the Internet are not standard for most people in this country.

Computer tools to help Brazilian students learn a complex language like English are practically non-existent and so I sent some suggestions to software companies. Since Brazil is neither a target market for English textbooks nor for software of this kind, the rejection seemed natural.

As a result, I tried some free developer tools such as Borland's free C++ compiler, Free Pascal, and Envelope's Visual Basic. Envelope's Visual Basic, which is a Microsoft Visual Basic 1.0 clone and still available, suited my taste but I knew it was obsolete technology. In March 2003, I bought a copy of Microsoft Visual Basic .NET Standard and have been hopelessly contaminated with the programming virus ever since.

I mostly write programs for educational purposes. Having discovered the wonderful world of DirectX recently, I am diving into the most entertaining part of programming: games. One can connect teaching with pure entertainment, learning, and culture.

 

View all articles by George Poth...
Simple Steps in VB.NET. Part 1 - TheButton

Article source code: ssteps1_thebutton.zip

When the absolute beginner searches the web to find something he or she can do with VB.NET, it is usually too advanced and/or too complicated to start with. If it isn't, it is certainly something which focuses on one function, which in turn is very useful, but a bit boring. I believe that the very beginner should learn useful things, but puh-leeze, leave those complicated things for later. Programming is already serious enough, so why not have some fun with it? Of course, a fun application is not necessarily a useful program. On the other hand, it teaches useful functions in the easiest way possible; functions you will need when writing something really complicated. Besides, it shows the absolute beginner that success is not only for the advanced.

What you will learn here is exactly what I mentioned above: an easy, less useful fun program with some useful functions. You don't need even the slightest idea about programming to complete this successfully. Now you might be wondering: what the heck is that guy talking about? Okay, let's first look at what you will do.

You will create a simple form with four buttons, each of which has a different function: make a button visible/invisible, close the form, and one which will display a message. In addition, you will also insert tool tips – those little yellow boxes with detailed information that pop up when the mouse rests over a button. Got curious? Then, let's start.

Before you start, make sure you have a bottle of French champagne in the freezer to pop when you're done – I mean, with the program.

First, click Start, point to All programs, then point to Microsoft Visual Studio.NET, and finally click the program icon for Microsoft Visual Studio.NET. Relax; it may take a few seconds to open. If this is the first time you open the program, you will see the following window:

(Figure 1)

You may decide to change some settings here. If you have nothing but Visual Basic.NET installed, it may be a good idea to change the setting Visual Studio Developer to Visual Basic Developer.

Click Get Started, in the upper left. You should see the following:

(Figure 2)

In this window, you can also see your recent projects. Of course, only if you have some. If you do, there will be a link you can click to open the project. However, only four links will be displayed here. If you have more than four recent projects, you can click Open Project and choose the project you want to open. You can also adjust this number to display up to 24 recent projects – not quite the thing for beginners. To change this number, click Tools, then Options and adjust the number accordingly. If you ever want to open your projects outside the development environment, go to this folder: C:\Documents and Settings\yourusername\My Files\Visual Studio Projects.

To start a new project, click New Project (sounds obvious, doesn't it?). A new window will open. In the left pane, click Visual Basic Projects. In the right pane, click Windows Application. Double-click the name (WindowsApplication1) and type the name you would like to give your application. I called mine TheButton. Click OK and wait until the project is created and opened.

(Figure 3)

What you will see next should look like this:

(Figure 4)

If you have left the settings (see Figure 1) at default, the toolbox (on the left) will be hidden. In this case, move your mouse to the toolbox

(Figure 5)

It's probably a good idea to leave the toolbox permanently open. To do so, click the Auto Hide button. If you later prefer the toolbox closed, click Auto Hide again.

(Figure 6)

You know already that the Toolbox is on the left. In the upper right is the Solution Explorer, and below it the Properties. Go to the Properties window and look where it says Form1.vb. You can change this name to anything you'd like, but always be sure it ends with .vb and that there are no spaces. For now, you don't need to change it.

The title of your form is Form1, which isn't the best title for it.    Let's change this first. Click the form once, go back to the Properties and look for the item Text. Form1 should appear there. Double-click Form1 and type The Button, or anything you'd like. Click on the form to confirm and activate the changes. You see, now your form has changed the title (Figure 7). At this point, you could also change the name, but leave it as it is for now. Whenever you change the name, make sure it ends with .vb.

(Figure 7)

Now the time has come to insert the buttons. Go to the Toolbox. Under Windows Forms, look for Button (Figure 8).

(Figure 8)

You can either drag and drop a button on the form, or you can simply double-click to insert a button. Insert four buttons. Your form will look like this:

(Figure 9)

Move your mouse over each button and drag them to an appropriate place.

(Figure 10)

Your form could look something like this:

(Figure 11)

The first thing you can see is that the buttons aren't exactly centralized. One way to centralize the buttons is to count the dots on each side. Aw, c'mon – I'm just kidding! Click the left button of your mouse and hold it while you're dragging over all the buttons (Figure 12).

(Figure 12)

Release the button (from the mouse, of course), and see that all buttons were chosen (Figure 13).

(Figure 13)

Now click on Center Horizontally. Observe the dark spot with the tool tip (Figure 14). Next to it on the right, there is a button to Center Vertically. Feel free to use this, too.

(Figure 14)

Click on the form once. Click once on Button1 and go to Properties. Change Text from Button1 to Close, and change Name from Button1 to btnClose. Click on each button once and change those items for the other buttons as follows:

Original TextChangedOriginal NameChanged
Button1CloseButton1btnClose
Button2MessageButton2btnMsgBox
Button3ShowButton3btnShow
Button4HideButton4btnHide

Your form should now look like this:

(Figure 15)

Now, let's start with the code. Double-click the button Close and edit the code so that it looks like the following (note that everything in green is not essential, it's just an explanation):

Private Sub btnClose_Click(ByVal sender As System.Object_
    ByVal e As System.EventArgsHandles btnClose.Click
  'This will close the program.
  Me.Close()
End Sub

To see your form again, click on Form1.vb [Design]* (Figure 16)

(Figure 16)

Go ahead and edit the code for the other buttons.

Message:

Private Sub btnMsgBox_Click(ByVal sender As System.Object_
    ByVal e As System.EventArgsHandles btnMsgBox.Click
  'This will show a message box.
  'Hey, Visual Basic.NET works is the message.
  'Hi Folks is the titel.
  MessageBox.Show("Hey, Visual Basic.NET works""Hi Folks")
End Sub

Show:

Private Sub btnShow_Click(ByVal sender As System.Object_
    ByVal e As System.EventArgsHandles btnShow.Click
  'This will show the Close button.
  btnClose.Visible = True
End Sub

Hide:

Private Sub btnHide_Click(ByVal sender As System.Object_
    ByVal e As System.EventArgsHandles btnHide.Click
  'This will hide the Close button.
  btnClose.Visible = False
End Sub

Okay, ready to run the thing? In the menu, click Build, and then click Build TheButton. Then press F5 to run the program. You can also directly press F5, but it's a good habit checking for errors first. If an error occurred, go through the codes once more. Click the buttons and see what happens.

Remember that French champagne. By now, it would be a good idea to take that French champagne out of the freezer. It's quite nasty when the bottle explodes. We're not done yet.

First of all, the form comes up at Windows' default location. I personally prefer a program to open in the center of the screen. To change this, close the running program first. When you're in design view again, click the form once and go to Properties. Look for the item StartPosition. Click where it says WindowsDefaultLocation. From the Dropdown box, choose CenterScreen. Press F5 to run the program again. Voilá! It's almost time for some champagne, but before that, we have to insert some tool tips, so that people like me know what to do with the program.

Go back into design view. In the Toolbox, under Windows Forms, double-click the item ToolTip. Go to Properties and change the name from ToolTip1 to btnTooltip and click on any empty space.

Now double-click the form and edit the code so that it looks like the following:

Private Sub Form1_Load(ByVal sender As System.Object_
    ByVal e As System.EventArgsHandles MyBase.Load
  'The tool tips will appear in yellow boxes
  'when a user moves the mouse over the indicated items.
  btntooltip.SetToolTip(btnClose_
      "This closes the program - if you can see the button - hehe!")
  btntooltip.SetToolTip(btnMsgBox"This will display a message")
  btntooltip.SetToolTip(btnShow_
      "This will show the button to close this program")
  btntooltip.SetToolTip(btnHide_
      "This will hide the button to close the program")
End Sub

Now, build the program again and run it. Move your mouse over the buttons to see the tool tips. You can now change from Debug mode into Release mode and build the program a last time. (Figure 17)

(Figure 17)

Open C:\Documents and Settings\yourusername\My Files\Visual Studio Projects\TheButton\obj\Release. Click on the blue .exe file. Ta-dah! It works! You can now copy the .exe file to any place you want, including other computers with the .NET Framework installed. It will be fully functional.

Call your family, friends, or whoever, open the bottle of champagne and party. You have completed your first VB.NET program – CONGRATULATIONS! And don't forget to drink the one or the other glass of champagne for me.

Related devCity.NET articles:

How would you rate the quality of this article?
1 2 3 4 5
Poor Excellent
Tell us why you rated this way (optional):

Article Rating
The average rating is: No-one else has rated this article yet.

Article rating:4.48076923076924 out of 5
 52 people have rated this page
Article Score34920
Comments    Submit Comment

Comment #1  (Posted by Mark on 04/29/2003)

I'm newbie but this is to newbie for me. I learned how to connect to database, post results in data grid... and I basicly know nothing.

I 'm ready to learn... and I LOVE step by step tutorilas but for more complex things and not as simple as this one.

I guess total newbies will enjoy that but I'm newbie and I need some more complex things.
 
Comment #2  (Posted by hobbes on 04/29/2003)

well, what are you complaining about, just open up ur champagne and be happy, don't worry just be happy ;o)
Find another tutorial more to your liking ;o)

Thanks for a nice article, eager for the next tutorial, ur doing a very good job...

ps. I did the tutorial in C#, worked like a charm, with the free IDE, SharpDevelop
 
Comment #3  (Posted by XTab on 04/30/2003)

Mark, IMO, you have totally missed the point. As you'll have seen from the introduction, George Poth wrote that article specifically for absolute beginners, purposely making it very basic, very simple, choosing a very undemanding topic and not taking it very far.

You may not have meant to do so, but sadly, you make your remarks sound like a criticism .
I agree with Hobbes. If it's not what you need at your particular stage of learning, fine, but for goodness sake please don't make it sound as though the article has no value just because it isn't what you personally want.

I suspect that you might not have ever tried creating a FAQ or an article like this. You may be surprised at just how much time and effort goes into it.

So, yes, constructive criticism : by all means. Follow up questions on content : of course. Speficic requests for an article or FAQ on a particular topic : OK ............... But " It's Ok, I guess, but not really good enough for me" : Come on, pur-lease !!

 
Comment #4  (Posted by George Poth on 05/01/2003)

Hello Mark,

First of all, I appreciate your comment. My articles are meant for the absolute beginner, and I think I made this very clear in the introduction. It may not be your case, but have you ever realized how difficult it is to find tutorials that start at this level? To my knowledge, no other site in English, German, or Portuguese is willing to include absolute beginners. If I'm wrong, please send me the URL of this site to convince me because I have already searched the web like the devil. I am also sure that nobody would have anything against your posting the URL. There are simply no tutorials at this level, and I am very glad that devCity .NET is open for changes. You are also very much invited to publish your articles here, so that you can see that it's easier criticized than produced. By now, it should be clear that my objective is to attract people of all ages who don't have the slightest idea on programming. If this is too simple for you, please look for something else, but don't simply criticize people who spend days and days of their free time trying to help others. Those who write articles know what I'm talking about. And - hey - they don't do it for cash. If it were for cash, they'd be writing books.

This time, my article didn't have anything for you. However, I am sure that you will soon find the one or the other item that's also new to you - so stay tuned.

Last, but not least, my thanks to hobbes and XTab for the comments. Very much appreciated.

George Poth
 
Comment #5  (Posted by Steven Sartain on 05/01/2003)

Hi all

George is very right in his comments. Whilst this article may not be suitable for you, I'm certain that it will be suitable for many others out there. You wouldn't believe some of the emails we get at here devCity :o).

If an article isn't giving you the information you require from it, then it simply isn't aimed at your level - I for one find few articles that allow me to expand my knowledge base; this doesn't mean that they aren't good.

The time it takes to write an article/books is immense. The concept itself can take considerable time, as nobody helps you dream up an idea of what to write about. Regardless of how good your English is, your programming skill or even your imagination - if you take the considerable time it takes to write an article then we always do our best to get it published here.

If these articles aren’t aimed at your level and you feel that you have skills/information to offer our readers, please take the time to put an article together. I'm always happy to help with concept, drafts, source and proofs.

Steve

 
Comment #6  (Posted by Mark on 05/04/2003)

You got it all wrong. YES this article is great.

Only problem was that this was my first visit here so now I understand everything. This is for newbies and it's great.


 
Comment #7  (Posted by Mike Ward on 05/10/2003)

Dear Mr. Poth,
I am an old fart, just taking my first steps into the world of Visual Basic programming. I was attracted to your article, because I have heard such a lot of 'hype' relating to .net, and have never really understood what it is all about. I guess that I still don't, but your article (and hopefully you will contintinue to publish more) was easy to follow and relatively easy to understand. (I know that I will have to dig deeper into the overall structure and syntax before I "really" begin to get it.
I would like to thank you for giving me a glimpse of what my future may hold. Please keep writing, people like me need the simple and easy to follow approach that you have demonstrated here. Because of you, I will keep trying to get my old head around programming in VB (and who knows - I may even begin to get into Visual .net?
Regards Thanks and best wishes. Mike.
 
Comment #8  (Posted by Mike Ward on 05/10/2003)

Dear Mr. Poth,
I am an old fart, just taking my first steps into the world of Visual Basic programming. I was attracted to your article, because I have heard such a lot of 'hype' relating to .net, and have never really understood what it is all about. I guess that I still don't, but your article (and hopefully you will contintinue to publish more) was easy to follow and relatively easy to understand. (I know that I will have to dig deeper into the overall structure and syntax before I "really" begin to get it.
I would like to thank you for giving me a glimpse of what my future may hold. Please keep writing, people like me need the simple and easy to follow approach that you have demonstrated here. Because of you, I will keep trying to get my old head around programming in VB (and who knows - I may even begin to get into Visual .net?
Regards Thanks and best wishes. Mike.
 
Comment #9  (Posted by Mike Ward on 05/10/2003)

Dear Mr. Poth,
I am an old fart, just taking my first steps into the world of Visual Basic programming. I was attracted to your article, because I have heard such a lot of 'hype' relating to .net, and have never really understood what it is all about. I guess that I still don't, but your article (and hopefully you will contintinue to publish more) was easy to follow and relatively easy to understand. (I know that I will have to dig deeper into the overall structure and syntax before I "really" begin to get it.
I would like to thank you for giving me a glimpse of what my future may hold. Please keep writing, people like me need the simple and easy to follow approach that you have demonstrated here. Because of you, I will keep trying to get my old head around programming in VB (and who knows - I may even begin to get into Visual .net?
Regards Thanks and best wishes. Mike.
 
Comment #10  (Posted by George Poth on 05/10/2003)

Hello Mike,

Thank you for your kind words. My objective is to attract those who have never thought programming could be a part of their lives. Some people think they're too young or too old. Fact is, that one is never too young or too old to try something new. I do hope you keep on trying, despite the difficult matter. Of course, should you have any doubt, I and all others here will be glad to help. Be assured that I will continue writing.

Kind regards,

George

 
Comment #11  (Posted by RikkiTikki on 05/31/2003)

I broke it. The first beginner project, and I broke it! Oh! The SHAME!

I goofed up the second code edit; got an error message which was, of course, Greek to me; didn't know how to 'back out,' so decided to start the whole thing over; and was promptly lost.

Now, when I try to rename the buttons, I can edit the text in the text box, but the new name refuses to appear on the button.

I just want to forget this entire thing...erase it from the tapes...begin anew.

Can anyone help?

TIA, RT

 
Comment #12  (Posted by George on 05/31/2003)

Hello RikkiTikki,

When you want to change the appearing text of a button, you must first click the button to select it. Then go to the properties window and change the text property and click the button. The text should have changed. When you rename the button, like from Button1 to btnMessage, do it the same way. The name will not appear on the button but in the code. When you double-click the button, you will see the change.

It's probably better to click build and then Build TheButton. If you get an error message, it will be displayed in the build window (output). Double-click the error and it will automatically focus on the wrong part(s). Correct the part(s) and build again.

I hope I could help you. If not, post another message or mail me (with code) and I will find out what's wrong. Would be nice to hear if you could make it.

Regards,

George
 
Comment #13  (Posted by RikkiTikki on 06/01/2003)

Hello George :)

You probably get scads of mail, so I'm including the text of your response to my initial problem with the Button Project:

-----> Begin Included Message ----->
Date: 5/31/2003 12:16:55 PM
Name: George
Subject: RE: Simple Steps in VB.NET. Part 1 - TheButton
Comment:
Hello RikkiTikki,

When you want to change the appearing text of a button, you must first click the button to select it. Then go to the properties window and change the text property and click the button. The text should have changed. When you rename the button, like from Button1 to btnMessage, do it the same way. The name will not appear on the button but in the code. When you double-click the button, you will see the change.

It's probably better to click build and then Build TheButton. If you get an error message, it will be displayed in the build window (output). Double-click the error and it will automatically focus on the wrong part(s). Correct the part(s) and build again.

I hope I could help you. If not, post another message or mail me (with code) and I will find out what's wrong. Would be nice to hear if you could make it.

Regards,

George
-----> End Included Message

With the exception that the various windows are reversed in my copy of Visual Studio .Net (Solution Explorer is on my upper left, Toolbox is on upper right, etc.) -- which is not a problem...yet -- everything was proceeding correctly until I got to the code phase. I don't know how to give you a screen print , but here's the automatically generated code. This is the entire system-generated code. I substituted YOUR CODE for ITS CODE where appropriate (I just did a copy/paste), and got an error message (details below Included Code):

[BUTTON3] [btnClose_Click, btnMsgBox_Click, etc.] (These are the names of the DropDown Windows I was taken to when I double-clicked each of the buttons)

-----> Begin Included Code ----->
Public Class Button3
Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

Public Sub New()
MyBase.New()

'This call is required by the Windows Form Designer.
InitializeComponent()

'Add any initialization after the InitializeComponent() call

End Sub

'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub

'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer

'NOTE: The following procedure is required by the Windows Form

Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Friend WithEvents btnClose As System.Windows.Forms.Button
Friend WithEvents btnMsgBox As System.Windows.Forms.Button
Friend WithEvents btnShow As System.Windows.Forms.Button
Friend WithEvents btnHide As System.Windows.Forms.Button
Private Sub

InitializeComponent()
Me.btnClose = New System.Windows.Forms.Button()
Me.btnMsgBox = New System.Windows.Forms.Button()
Me.btnShow = New System.Windows.Forms.Button()
Me.btnHide = New System.Windows.Forms.Button()
Me.SuspendLayout()
'
'btnClose
'
Me.btnClose.Location = New System.Drawing.Point(57, 105)
Me.btnClose.Name = "btnClose"
Me.btnClose.TabIndex = 0
Me.btnClose.Text = "Close"
'
'btnMsgBox
'
Me.btnMsgBox.Location = New System.Drawing.Point(161, 105)
Me.btnMsgBox.Name = "btnMsgBox"
Me.btnMsgBox.TabIndex = 1
Me.btnMsgBox.Text = "Message"
'
'btnShow
'
Me.btnShow.Location = New System.Drawing.Point(57, 145)
Me.btnShow.Name = "btnShow"
Me.btnShow.TabIndex = 2
Me.btnShow.Text = "Show"
'
'btnHide
'
Me.btnHide.Location = New System.Drawing.Point(161, 145)
Me.btnHide.Name = "btnHide"
Me.btnHide.TabIndex = 3
Me.btnHide.Text = "Hide"
'
'Button3
'
Me.AccessibleName = ""
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.ClientSize = New System.Drawing.Size(292, 273)
Me.Controls.AddRange(New System.Windows.Forms.Control()

{Me.btnHide, Me.btnShow, Me.btnMsgBox, Me.btnClose})
Me.Name = "Button3"
Me.Text = "Button3"
Me.ResumeLayout(False)

End Sub

#End Region

Private Sub btnClose_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnClose.Click
'This will close the program.
Me.Close()
End Sub
Private Sub btnMsgBox_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnMsgBox.Click
'This will show a message box.
'Hey, Visual Basic.NET works is the message.
'Hi Folks is the titel.
MessageBox.Show("Hey, Visual Basic.NET works", "Hi Folks")
End Sub
Private Sub btnShow_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnShow.Click
'This will show the Close button.
btnClose.Visible = True
End Sub
Private Sub btnHide_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnHide.Click
'This will hide the Close button.
btnClose.Visible = False
End Sub
End Class

-----> End Included Code

[TASK LIST - 1 Build Error task shown (filtered)]
[checkmark] Description
[red exclamation point] 'Sub Main' was not found in 'TheButton3.Form1'.

RESULTS WHEN ERROR MESSAGE DOUBLE-CLICKED
[Begin Dialog Box 'Startup Object'] Choose a Class or Module that contains a shared Sub Main() or that inherts (sic :) from System.Windows.Forms.Form.

Startup object:

TheButton3.Button3

[End Dialog Box 'Startup Object']

Whattheheck is 'SubMain,' and how do I find it? Also, if the system is looking for 'TheButton3.Form1,' and I already changed every instance I could find of 'Form1,' to 'Button3,' what did I do wrong?

TIA for any help you can provide.

Regards,
RikkiTikki
 
Comment #14  (Posted by George Poth on 06/01/2003)

Hello RikkiTikki,

You have renamed your form to Button3. It should be and remain Form1. With beginners, this happens accidentally - more frequently than you might think. But leave it as it is right now. After the code for the btnHide, there is this:

Private Sub Button3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub

The previous line must throw an error because Button3 is already the name of your form, so it cannot be the name of any other object (a button, for example) of this form. You should delete the code from "Private Sub Button3... " to "End Sub". Rebuild the thing and try to run it. It should then run without further errors.

You should probably do it over again - following all the steps. If you come across further problems, you can send me (georg@teleon.com.br) your program so that I can help you better. I will also prepare another simple program for training very soon.

Regards,

George
 
Comment #15  (Posted by RikkiTikki on 06/02/2003)

I DID IT!! Thanks, George, for all your help. I've learned a lot, and look forward to learning more.

Regards,
RT
 
Comment #16  (Posted by EYoung on 06/03/2003)

Thank you for the article. I created the program and it works fine on my computer but when I copy it to other computers that have .net framework, it gives me an error when I try to run it. I was able to get around the errors by installing the program using the Microsoft's installer program.

However, I still get security errors when I try to run the program from a mapped drive on the network. I thought if I copy a vb.net program to any computer that runs .net framework, the program would not have to be installed and there would be no errors.

For example, I create a vb.net program on my development computer. I build the release (.exe) and copy it to the "S:\" drive (a computer on the network that runs .net framework). When I type "S:\The Button.exe", I get a security error message.

VB 6 does not seems to be as concerned about security as does VB.net.

Do you have any suggestions on how to solve the problem?

Thanks
 
Comment #17  (Posted by George on 06/07/2003)

Hello EYoung,

Sorry that it took so long to answer.

I haven't tried the debug-build on other machines, so I don't know about any errors with this. The release-build never came up with errors on other machines with the .NET Framework (version 1) installed.

Unfortunately, I can't answer your question, as I'm myself just a beginner. I don't know anything about VB6 either since I started programming from scratch with VB .NET in March this year. I hope that some more advanced people may answer your question. The forum would certainly be appropriate for this.

George
 
Comment #18  (Posted by an unknown user on 06/25/2003)

Thanks for your getting back. I am still having the problem running a vb.net application from a mapped drive. It may be that the security for mapped drives is different than for the local computers.
 
Comment #19  (Posted by Manning on 07/14/2003)

George: this article is EXACTLY what I have been looking for. I am an absolute newbie, and I needed some patient guidance with well-written explanations. I can't thank you enough.

It's a shame that some people wrote negative comments that "this article was not exactly what they wanted." Screw them. Guess what - I've successfully found *THOUSANDS* of articles that were not what I wanted - too advanced, too abstruse. This is the first one I've found that actually *really* helped me as a newbie.

I really encourage other article writers to follow George's example, there is a huge pool of adult learners like myself who are keen to get started but are daunted by the sheer volume of new concepts and jargon that you get hit with while trying to create even your first "Hello World".

Again, my genuine gratitude for your effort and kindness.

Manning, Sydney Australia
 
Comment #20  (Posted by George on 07/17/2003)

Thanks for your encouraging words. Please try the other parts as well and let me know if that was okay. If it's too complicated, please post your comment and I'll come up with something more suitable.
 
Comment #21  (Posted by Mt2mb on 08/01/2003)

Hey this is a great site and a great resource, i am about to start on lession two, I am really starting to get a handle on what the language does, I haven't programmed since qbasic and QB compiler.
 
Comment #22  (Posted by Andrew Hughes on 10/20/2003)

Thanks, I'm new to .net Vbasic programming - I have use VB before but not this versdion. Your serries is a great help- Thanks a million.
Andrew
 
Comment #23  (Posted by Bob on 04/08/2004)

Many thanks. That was a good example and a lot less complicated and more encouraging than the Microsoft Beginners program.
 
Comment #24  (Posted by Reaton on 05/22/2004)

George,

Simple program was very good at help me become acustom to the interface. Thaks for the tooltips probably taken days to find that.

Rich
 
Comment #25  (Posted by Bob on 07/07/2004)

I am an absolute VB beginner and think this article was perfect. As the author mentioned, no other site really steps a person through things for the complete beginner. Thanks for this article!

 
Comment #26  (Posted by A.Y.K. on 10/29/2004)

I would like to thank you ....
Please keep writing,and hopefully you will contintinue to publish more

Thanks and my best wishes.

A.Y.K.
 
Comment #27  (Posted by an unknown user on 01/16/2005)
Rating
Love the tooltip. I started VB today
 
Comment #28  (Posted by an unknown user on 02/05/2005)
Rating
Thanks for making it simple
 
Comment #29  (Posted by an unknown user on 02/11/2005)
Rating
It was STEP by STEP no problems...
 
Comment #30  (Posted by an unknown user on 02/25/2005)
Rating
I that Know nothing have tried and i have became drunke with the champaigne i have drank! Thanks a lot for your helo
 
Comment #31  (Posted by an unknown user on 03/17/2005)
Rating
este artigo é muito bom visto que tenho 6 anos que estudo visual basic fica mais facil para mim entender. parabens - joelson - brasil
 
Comment #32  (Posted by an unknown user on 04/21/2005)
Rating
excellent,thank you
 
Comment #33  (Posted by Liz Iskandar on 06/10/2005)
Rating
Thanks George,

Its really help me.
 
Comment #34  (Posted by an unknown user on 06/18/2005)
Rating
I had been browsin the web for something which really teach me VB.Net and I've found only garbage until now with this ant the other articles of this guy. congratulations and thanks to take the time to teach us this way.
 
Comment #35  (Posted by an unknown user on 07/30/2005)
Rating
cool... :D i like this alot.

 
Comment #36  (Posted by Daniel on 10/17/2005)

me.close() does not work

its there any other way to close a webform beside using javascripts window.close()...??
 
Comment #37  (Posted by an unknown user on 11/23/2005)
Rating
This is a very simple and straightforward article to understand. The only problem is that I am an 'absolute beginner'. I don't understand the basic concepts such as Dim, Private Sub, ByVal. This probably seems silly but is very daunting to an absolute beginner. It would be great if the terminology was explained. Sorry for being pedantic.
 
Comment #38  (Posted by an unknown user on 01/22/2006)
Rating
My first Vbnet program - simple but builds confidence. I learned something.
 
Comment #39  (Posted by an unknown user on 03/07/2006)
Rating
Program is an excellent primer on VB
 
Comment #40  (Posted by an unknown user on 04/18/2006)
Rating
It was very interesting since I have never done this before! It was very easy to begin to read some of the messages you were using. I have been doing a lot of research and am finding that it is not as scary as it appears when you first look at it. I will probably come back and go through this again!!
 
Comment #41  (Posted by an unknown user on 06/10/2006)
Rating
Very easy to follow. Well laid out. Excellent. My sincere thanks.
Gordon Smith
St. Ives, Cambs, Uk
 
Comment #42  (Posted by an unknown user on 07/10/2006)
Rating
Great article, easy to follow. Thanks
 
Comment #43  (Posted by an unknown user on 09/09/2006)
Rating
The step by step instructions made it very easy to follow.
njspice
 
Comment #44  (Posted by an unknown user on 10/27/2006)
Rating
so that beginer can easyly underestand
 
Comment #45  (Posted by an unknown user on 03/07/2007)
Rating
Because he kept it Simple and with grapics to help you visualize...he's right about what he said in the beginning paragraph...its hard finding what you really need
 
Comment #46  (Posted by an unknown user on 04/07/2007)
Rating
Unfortunately in the "search" that I typed. I was interested in 1) VB 2005 2) Have a button in form 1 to 2) link to form 2. The "boolean" question was can that be done? The next "boolean" question was would one be so kind to share the answer with me? Dan the frustrated.
gascitydan@yahoo.com
 
Comment #47  (Posted by an unknown user on 05/09/2007)
Rating
I got the right track
 
Comment #48  (Posted by an unknown user on 05/22/2007)
Rating
it's easy to understand and read.
it's provides the good example
 
Comment #49  (Posted by an unknown user on 05/26/2007)
Rating
hi,
your programme give me full satisfaction.
sanjay

 
Comment #50  (Posted by an unknown user on 12/14/2007)
Rating
Thank you so much! I never knew the deployment part lol.....
 
Comment #51  (Posted by an unknown user on 01/31/2008)
Rating
Very good for beginners, adding extra information about the propertites of items. I liked it!
 
Comment #52  (Posted by an unknown user on 04/08/2008)
Rating
Any one can learn ! How to use VB.net in web application
 
Comment #53  (Posted by Andy Tabb on 08/05/2008)
Rating
Excellent!
vwguy_65@yahoo.com
 
Comment #54  (Posted by an unknown user on 12/02/2008)
Rating
i was really happy to do a simple pgm myself n i feel happy when i run the pjt without any error also it was a very intresting pgm..i thnak u sir..
 
Comment #55  (Posted by an unknown user on 12/09/2008)
Rating
I am just starting to understand the whole vb code and I do like the fact that you did this code for helping others. Thank you
 
Comment #56  (Posted by an unknown user on 01/20/2009)
Rating
U R AWSM SIR. JST KEEP WRITING SUCH TYPE OF ARTCLS. THESE R S0000000000000.... HELP FULL.
 
Comment #57  (Posted by an unknown user on 07/29/2009)
Rating
Good
 
Comment #58  (Posted by an unknown user on 11/17/2009)
Rating
this is very very easy to understand because in this article, each and every step is specified with image.
 
Sponsored Links