Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,218 members, 7,818,754 topics. Date: Monday, 06 May 2024 at 12:28 AM

About Vb 6.0 - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / About Vb 6.0 (1213 Views)

My Board Games In Vb 6.0 / Vb 6.0/vb .NET & Intranet/internet Application Development / Post Ur Vb 6.0 Questions Here (2) (3) (4)

(1) (Reply) (Go Down)

About Vb 6.0 by worldbest(m): 4:35pm On Jul 05, 2007
Please i need to know about visual basic 6.0 can anyone tell me about it.What kind of language does it support.I intend to build a game engine,can it be used for that purpose?Nairaland gurus say something!
Re: About Vb 6.0 by Juliho: 2:16pm On Jul 18, 2007
hi vb6 is a programmimg language.it supports other languages like c++ and c#,it is oop also,it is a drag and drop program.it uses forms to design a user interface with controls that are placed on it and  code written for each comtrol depending on what u wanna do.It's like fortran but higher than it.
Consider a vb6 program that ask you to type yoyr name.u need 3 command buttons,a textbox and a label control.code for d command button is as follows:

private sub command1_click()
dim strname as string
strname=text1.text
label1.caption="Welcome" & text1.text
end sub
when u type in your name in the textbox and click the command button.u will get an out in the label control that says "welcome yourname"
for the 2nd command button use it to close or exit the application the code

private sub command2_click
end
end sub

  wink
Re: About Vb 6.0 by otuonye(m): 10:23am On Jul 19, 2007
@ juliho,

i agree with most of all that you said except some. VB 6.0 is not fully OOP. The main features of OOP like Inheritance of classes and Encapsulation are not embedded in VB 6.0. That is the reason why VB.NET was introduced.

But VB 6.0 [like you said] is a good programming language and it supports all other microsoft programming languages.


@poster, Yes, VB 6.0 can be used in building game engines. I have some VB games like Mario and others. you can make use of the drag & drop features, graphics features and data handling features to build your game engine.

Jojo
Re: About Vb 6.0 by Dynast(m): 11:21am On Jul 19, 2007
Visual Basic is a programming language and environment developed by Microsoft. Based on the BASIC language, Visual Basic was one of the first products to provide a graphical programming environment and a paint metaphor for developing user interfaces. Instead of worrying about syntax details, the Visual Basic programmer can add a substantial amount of code simply by dragging and dropping controls, such as buttons and dialog boxes, and then defining their appearance and behavior. Although not a true object-oriented programming language in the strictest sense, Visual Basic nevertheless has an object-oriented philosophy. It is sometimes called an event-driven language because each object can react to different events such as a mouse click. Since its launch in 1990, the Visual Basic approach has become the norm for programming languages. Now there are visual environments for many programming languages, including C, C++, Pascal, and Java. Visual Basic is sometimes called a Rapid Application Development (RAD) system because it enables programmers to quickly build prototype applications.
Re: About Vb 6.0 by Dynast(m): 9:58am On Jul 20, 2007
The Development Environment
Learning the ins and outs of the Development Environment before you learn visual basic is somewhat like learning for a test you must know where all the functions belong and what their purpose is. First we will start with labelling the development environment.
The above diagram shows the development environment with all the important points labelled. Many of Visual basic functions work similar to Microsoft word eg the Tool Bar and the tool box is similar to other products on the market which work off a single click then drag the width of the object required. The Tool Box contains the control you placed on the form window. All of the controls that appear on the Tool Box controls on the above picture never runs out of controls as soon as you place one on the form another awaits you on the Tool Box ready to be placed as needed.
The project explorer window
The Project explorer window gives you a tree-structured view of all the files inserted into the application. You can expand these and collapse branches of the views to get more or less detail (Project explorer). The project explorer window displays forms, modules or other separators which are supported by the visual basic like class'es and Advanced Modules. If you want to select a form on its own simply double click on the project explorer window for a more detailed look. And it will display it where the Default form is located.
Properties Window
Re: About Vb 6.0 by Dynast(m): 10:46am On Jul 20, 2007
The project explorer window
The Project explorer window gives you a tree-structured view of all the files inserted into the application. You can expand these and collapse branches of the views to get more or less detail (Project explorer). The project explorer window displays forms, modules or other separators which are supported by the visual basic like class'es and Advanced Modules. If you want to select a form on its own simply double click on the project explorer window for a more detailed look. And it will display it where the Default form is located.
Properties Window
Some programmers prefer the Categorisized view of the properties window. By defaulting, the properties window displays its properties alphabetically (with the exception of the name value) when you click on the categorized button the window changes to left picture.
Opening an existing Visual Basic project.
Microsoft have included some freebies with visual basic to show its capabilities and functions. Dismantling or modifying these sample projects is a good way to understand what is happening at runtime. These files can be located at your default directory /SAMPLES/
To Open these projects choose 'Open Project' from the 'File' menu. Then Double click on the samples folder to open the directory then Double click on any project to load it.

(1) (Reply)

Info On Bar Code Scanners And Printers / Pls, Is Nairaland Using Django Framework Or What? / Help Installing Tecno N3 Drivers On Windows 8.

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 21
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.