Lesson1 :Introduction
1.1 A brief description of Visual Basic
VISUAL BASIC is a high level programming language evolved from the earlier DOS version called BASIC. BASIC means Beginners' Allpurpose Symbolic Instruction Code. It is a fairly easy programming language to learn. The codes look a bit like English Language. Different software companies produced different version of BASIC, such as Microsoft QBASIC, QUICKBASIC, GWBASIC ,IBM BASICA and so on. 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 prgram 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 indepently 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 excecuted indepently and at the same time each can be linked together in one way or another.
1.2 The Visual Basic Environment
On start up, Visual Basic 6.0 will display the following dialog box as shown in figure 1.1. You can choose to 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.
Lesson 2:
Building a Visual Basic Application
2.1 Creating Your First Application
In this section, we are not going into the technical aspect of VB programming, just have a feel of it. Now, you can try out the examples below:
Example 2.1.1 is a simple program . First of all, you have to launch Microsoft Visual Basic. Normally, a default form Form1 will be available for you to start your new project. Now, double click on form1, the source code window for form1 will appear. Don't worry about the begining and the end statements(i.e Private Sub Form_Load.......End Sub.); Just key in the lines in between the above two statements exactly as are shown here.When you run the program, you will be surprise that nothing shown up.In order to display the output of the program, you have to add the Form1.show statement like in Example 21.2 and Example 2.1.3. Try them out.
Visual Basic
Microsoft tarafından, Basic programlama dili üzerinde geliştirilmiş, olay yönlendirmeli, üst seviye, nesne tabanlı ve görsel bir programlama dilidir. Öğrenilmesi de kullanılması da oldukça kolaydır. Çok kısa sürede değerleri 100'lerce doları aşabilen programlar oluşturabilirsiniz. En güzel özelliklerinden birisi ise Windows ile tam uyumlu olmasıdır. Windows bileşenlerine (API, COM gibi )erişmek çok kolaydır ayrıca ActiveX Component gibi bir özelliği kullanma yeteneğine sahiptir. Yani bir işi yapabilecek bir programcık için saatlerce uğraşıp yaptığınızda bunu ActiveX olarak yaparsanız daha sonraları aynı özelliği kullanmanız çok kolaylaşır.
Görsel programlama için basit bir tanım yapmak gerekirse "göz göre göre program yapmak" diyebiliriz. Bu programlama anlayışı; önceki yıllarda kullanılan temel programlama dillerindeki bir düzenleyici (editör) ekran üzerine satır satır yazılan programlamanın yerine, Grafiksel Kullanıcı Arabirimi (GUI)’nin ve bu arabirim içerisinde program geliştirme amacıyla bulunan Entegre Geliştirme Ortamı (IDE) adlı bir araçlar koleksiyonunun almasıyla ortaya çıkmıştır.
Visual Basic'e gelince, öncelikle Basic programlama dili temel alınarak ortaya çıkarılmış olduğunu söylemek gerekir. Basic (Beginners-All Purpose Symbolic Instruction Code) kelime anlamı olarak "Yeni Başlayanlar İçin Çok Amaçlı Sembolik Talimat Kodu" anlamına gelmektedir. Basic metin tabanlı düzenleyiciler (editörler) arasında en çok rağbet göreni olmuştur. Başlangıçta çok basit programların geliştirilmesi amacıyla kullanılırken, bu ilgi dolayısıyla gitgide gelişerek son halini almıştır.
Öğretici: Visual Studio 'da Visual Basic kullanmaya başlayın
Visual Basic (VB) için bu öğreticide, Visual Studio 'Yu kullanarak birkaç farklı konsol uygulaması oluşturup çalıştırabilir ve bunu yaparken Visual Studio tümleşik geliştirme ortamının (IDE) bazı özelliklerini keşfedebilirsiniz.
Visual Studio 'Yu henüz yüklemediyseniz, Visual Studio İndirmeleri sayfasına giderek ücretsiz olarak yükleme yapın.
Proje oluşturma
İlk olarak, Visual Basic bir uygulama projesi oluşturacağız. Proje türü, ihtiyacınız olan tüm şablon dosyaları ile birlikte gelir, hatta herhangi bir şey eklemeden önce!
Visual Studio 2019 ' i açın.
Başlangıç penceresinde Yeni proje oluştur' u seçin.

Yeni proje oluştur penceresinde, arama kutusuna konsol girin veya yazın. Ardından, dil listesinden Visual Basic ' yi seçin ve ardından platform listesinden Windows ' u seçin.
Dil ve platform filtrelerini uyguladıktan sonra konsol uygulaması (.NET Core) şablonunu seçin ve ardından İleri' yi seçin.


Yorumlar
Yorum Gönder