Lesson1 :introduction To Visual Basic

free web hosting
Free Web Hosting > Computers & Tech > How-To's and Tutorials > Programming > .NET (VB, C# & J#)

Lesson1 :introduction To Visual Basic

abdo
QUOTE
Hi, Friends,

Welcome to Visual Basic tutorial! You have come to the right place to learn Visual Basic Programming. I like to share the knowledge with you because I have intense passion on Visual Basic. I wish you could spend some time reading the tutorial so that you can really acquire the basic skills in Visual Basic programming. Happy Learning!

1.1 What is computer programming?

Before we begin, let us understand some basic concepts of programming. According to Webopedia, a computer program is an organized list of instructions that, when executed, causes the computer to behave in a predetermined manner. Without programs, computers are useless. Therefore, programming means designing or creating a set of instructions to ask the computer to carry out certain jobs which normally are very much faster than human beings can do. In order to do programming, we need to use certain computer language to communicate with the computer. There are many computer languages out there, some of the examples are Visual Basic, Fortran, Cobol, Java, C++, Turbo Pascal, Assembly language and etc. Among them, I pick Visual Basic because it is the easiest to learn as it uses a language very similar to human language. It involves using words such as If, Then, Else, Goto, Select and so on, so it is very fast for any beginner to pick the language.

1.1 What is Visual Basic ?

VISUAL BASIC is a high level programming language evolved from the earlier DOS version called BASIC. BASIC means Beginners' All-purpose Symbolic Instruction Code. It is a very easy programming language to learn. The codes look a lot like English Language. Different software companies produced different version of BASIC, such as Microsoft QBASIC, QUICKBASIC, GWBASIC ,IBM BASICA and so on. However, it seems people only use Microsoft Visual Basic today, as it is a well developed programming language and supporting resources are available everywhere.

With Visual Basic, you can program practically everything depending on your objective. For example, you can program educational software to teach science , mathematics, language, history , geography and so on. You can also program financial and accounting software to make you a more efficient accountant or financial controller. For those of you who like games, you can program that as well. Indeed, there is no limit to what you can program! There are many such program in this tutorial, so you must spend more time on the tutorial in order to benefit the most.

VISUAL BASIC is a VISUAL and events driven Programming Language. These are the main divergence from the old BASIC. In BASIC, programming is done in a text-only environment and the program is executed sequentially. In VISUAL BASIC, programming is done in a graphical environment. Because users may click on a certain object randomly, so each object has to be programmed independently to be able to response to those actions (events). Therefore, a VISUAL BASIC Program is made up of many subprograms, each has its own program codes, and each can be executed independently and at the same time each can be linked together in one way or another.

1.2 The Visual Basic Environment

Before you can program in Visual Basic, you need to install VB6 in your computer. If you do not own VB6 yet , you can purchase it from Amazon.com by clicking the link below:

Microsoft Visual Basic 6.0 Professional

Basically any present computer systems should be able to run the program, be it a Intel Pentium II, Intel Pentium III, Intel Pentium IV or even AMD machines, VB6 can run without any problem. It may not be true for VB2005, older machines might not be able to run VB2005 as it take up much more resources, therefore I still prefer using VB6 as it is light and easy to program. It is still very useful and powerful, and I am happy to know that Microsoft Windows Vista can support VB6.

On start up, Visual Basic 6.0 will display the following dialog box as shown in figure 1.1. You can choose to either start a new project, open an existing project or select a list of recently opened programs. A project is a collection of files that make up your application. There are various types of applications we could create, however, we shall concentrate on creating Standard EXE programs (EXE means executable program). Now, click on the Standard EXE icon to go into the actual VB programming environment.


Figure 1.1 The Visual Basic Start-up Dialog Box

 

 

 


Reply

tansqrx
Speaking of good tutorial for Visual Basic.NET, I have found that the Microsoft Express site has some really good beginner courses and examples. About a year ago I was tasked to write a simple SQL server front end. I had never done any SQL programming before and I was completely lost at where to start. While downloading SQL express I was some lessons offered and decided to give them a try. What I found was absolutely amazing. At the time there was a series of video tutorials and showed me all of the basics to quickly get started and even some more advanced topics. It was just a guy that was running a screen capture utility talking but it suits my learning style very well. It is a lot faster paced than reading and looking at still images. All together there were at least 12 hours of videos and I had all of the basics down by about 5 hours. If you are a beginner I would highly recommend starting here.

Reply

turbopowerdmaxsteel
I have come across those too. After installing VB .NET Express edition, the welcome page listed the series of Video Tutorials. The size of the files were surprisingly low. Despite the tutorials being ~30 minutes each. And the quality didn't suffer either. But the main aspect was the tutorial which was very well backed up by the tutor's voice. And yes, they help you get started much faster than reading countless pages. The only drawback in this way of learning is that the amount of content is less. But, then again, these are meant to be starting points for beginners. You can always look into the documentation for reference.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. "tutorial for visual basic.net" - 223.67 hr back. (1)
Similar Topics

Keywords : lesson1, introduction, visual, basic

  1. The .NET Framework & CLR : Basic Introduction
    (1)
  2. Lesson #1 - Introduction To C#
    Console Application (0)
    This tutorial will help get you started with C# Sharp. These tutorials will assume that you are
    using the Visual Studio environment. If you are just curious to test out some code, then you can
    copy and paste this code into your CS file, however, before doing so, make sure to name your project
    the same as the namespace on the code. But since this first program is fairly easy, it will not
    hurt to type it out. It is fairly easy and short. Also, this program is highly commented so it
    should be easy to follow along. Comments will have 2 forward slashes before them '....
  3. Performing Dos Operations From Visual Basic
    The easiest and most powerful way to do (1)
    Performing DOS Operations from Visual Basic By: Abhishek Chatterjee Language: Visual Basic
    6.0 and below Difficulty: Beginner Does your project need to perform some DOS based or Command
    line operations? Although there are many techniques to do the same, but performing tasks like
    calling the DIR DOS command to list the contents of the directory or calling the Move command to
    move a folder, and the like, can't be done as smoothly by the built in functions of VB or the
    Windows API. The technique that I introduce to you is extremely simple, doesn't req....

    1. Looking for lesson1, introduction, visual, basic

Searching Video's for lesson1, introduction, visual, basic
advertisement




Lesson1 :introduction To Visual Basic



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE