Free Games Forum
Free Games Games Forums Music Forums TV Forums

  Free Games Forum Home FORUM
HOME
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN
Rules & FAQ RULES / FAQ
REPORT SPAM

Free Games Forum: Game Technology: Visual Basic / VB:
Beginners Guide To Visual Basic

 

 


funky_munky
Enthusiast


Jan 28, 2005, 11:57 AM

Post #1 of 11 (1162 views)
Shortcut
Beginners Guide To Visual Basic Can't Post

Beginners Guide To Visual Basic

What Is Visual Basic?
When Microsoft started getting hooked on GUIs (Graphical User Interfaces), with a long series of Basic interpreters and compilers behind them, they created Visual Basic. Distributed in both a DOS and a Windows version, it allowed one to write a GUI with almost no trouble at all. It is called visual because you can create the GUI just using normal drag and drop techniques, see what it looks like as you go and then VB writes the code for you. The DOS version ended with 1.0 (with a professional update) and the Windows version continues to evolve. It went through version 6 before becoming VBNET. VBDOS would still compile QB4.5 code and the professional version would compile PDS7.1 code, showing little difference in the code between QB and VB and allowing people to make the switch more easily. One of the great ideas with VBDOS is that it would use ordinary text characters to draw the interface so, even with a GUI, it would run successfully on a text-only monitor. The reason Visual Basic is so popular today is because it allows one to very quickly write applications. It manages to be a RAD (Rapid Application Development) environment by hiding all the little details and only exposing the parts that are most important to us.


What Can Visual Basic Be Used For?

What can't it be used for? Visual Basic has been used to write GAMES, phone books, modem communications software, encryption utilities, GUIs and much more! Almost the only thing it can't be used to write is an OS (Operating System) because it requires Windows, which is the OS already. Althhough VB is sometimes considered a childish language, or even not a true programming language at all due to the required runtime, it is possible to write some great applications in it.


What Is The Syntax Like?

The commands are almost all plain English words. The syntax is very much like the way you would think while writing it.

An Example Visual Basic Program This is an example of some Visual Basic code:

'Declare a String variable
Dim Message As String

'Store Hello World in a message.
Let Message = "Hello World"

'Show it.
MsgBox Message


What Do I Need To Get Started?
You will need a copy of Visual Basic, which includes code editing and debugging tools as well as the interpreter and compiler. Visual Basic cannot be legally obtained for FREE, with the exception of Visual Basic 5.0 Control Creation Edition or the trial version of Visual Studio .NET.

-http://www.codepedia.com


(This post was edited by funky munky on Jan 29, 2005, 9:58 PM)



JaVa CoDe
Senior Member


Jan 29, 2005, 4:57 PM

Post #2 of 11 (1155 views)
Shortcut
Re: [funky munky] Beginners Guide To Visual Basic [In reply to] Can't Post

Did you write this if not please give credit to owner.



My train of thought has been delayed.


Jakestah
Veteran


Feb 3, 2005, 2:25 AM

Post #3 of 11 (1143 views)
Shortcut
Re: [Java Code] Beginners Guide To Visual Basic [In reply to] Can't Post

I've done a few of them there Hello world thingys.


JaVa CoDe
Senior Member


Feb 5, 2005, 12:13 PM

Post #4 of 11 (1137 views)
Shortcut
Re: [Jakestah] Beginners Guide To Visual Basic [In reply to] Can't Post

Ya me too.



My train of thought has been delayed.


nadkicker69
Veteran


Feb 15, 2005, 8:24 PM

Post #5 of 11 (1107 views)
Shortcut
Re: [Java Code] Beginners Guide To Visual Basic [In reply to] Can't Post

There's only one problem that I have with Visual Basic, in fact, Microsoft's Visual Basic:

It's completely version specific.

Not only do you have to have the compiler installed and working to run an .EXE file, but you need to have the version of the compiler that made the .EXE, which is a great big turn off for me.

Don't get me wrong, Microsoft has made VB Runtime files, but that involves installing something that changes your computer, just to have the program work...

In my opinion, if you want an easy to learn language with the visual capabilities VB has, try Delphi. Borland has Delphi compilers with complete in-program help references to help you learn on the things you may be stuck on...


=
I am the Jester. I make the unreal real.


Cruel__Machine
Senior Member


Feb 16, 2005, 10:16 AM

Post #6 of 11 (1103 views)
Shortcut
Re: [nadkicker69] Beginners Guide To Visual Basic [In reply to] Can't Post

What... you don't have to have the compiler to run it... but since vb runs off almost all api calls you need at least a few library files in ur dir... but I've never had a problem with needing a compiler to run.


EOP
___________________________
"If evolution were true, I'd have a self-lubricating hand."

Programmers: http://Cruels.net


nadkicker69
Veteran


Feb 17, 2005, 1:40 AM

Post #7 of 11 (1100 views)
Shortcut
Re: [Cruel__Machine] Beginners Guide To Visual Basic [In reply to] Can't Post

*Ponders*

What version of MVS are you running?


=
I am the Jester. I make the unreal real.


Cruel__Machine
Senior Member


Feb 17, 2005, 9:58 AM

Post #8 of 11 (1096 views)
Shortcut
Re: [nadkicker69] Beginners Guide To Visual Basic [In reply to] Can't Post

6.0


EOP
___________________________
"If evolution were true, I'd have a self-lubricating hand."

Programmers: http://Cruels.net


nadkicker69
Veteran


Feb 19, 2005, 4:06 AM

Post #9 of 11 (1091 views)
Shortcut
Re: [Cruel__Machine] Beginners Guide To Visual Basic [In reply to] Can't Post

6.0 is my biggest problem child. I'm no VB guru, so can you tell me how to go about compiling a program into an .EXE that is not compiler dependant for execution?


=
I am the Jester. I make the unreal real.


Cruel__Machine
Senior Member


Feb 19, 2005, 11:50 AM

Post #10 of 11 (1089 views)
Shortcut
Re: [nadkicker69] Beginners Guide To Visual Basic [In reply to] Can't Post

Damn.. I'm currently away from my regular comp (which has visual studios)... so I can't get you the steps until like wednesday or thursday. And I'll do some tests at that time as well so I can be sure I'm correct.


EOP
___________________________
"If evolution were true, I'd have a self-lubricating hand."

Programmers: http://Cruels.net


Jaymzanator
Enthusiast


Jul 24, 2005, 12:36 AM

Post #11 of 11 (626 views)
Shortcut
Re: [Java Code] Beginners Guide To Visual Basic [In reply to] Can't Post

hello world is gay, start usin cool stuff like : cyrexware software for everyone.



lol then again ... i dont even think about that anymore too busy writing new internet software


(17:20) Taz:
and tazg is lol'in at you all the way from canada
(17:21) James:
lol canadians

 
 
 


Search for (options) Web Design by Web Ideas - Page loaded in: 0.15 s on (CGI/1.1)