Visual Basic Questions

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Doctor





Posts: 567
Joined: Sun Nov 27, 2005 5:48 pm

Visual Basic Questions

Post by Doctor »

I used to use QBasic, and now I have noticed this much more powerful and cooler version called Visual Basic that has been out for a long time I'm just under a rock.

Anyway, I'm not sure what I need for this program. I downloaded Visual Basic 2005 Express, and I have noticied that it is a bit different like Dev-C++ to C++. Is it okay to learn with that this freeware, or will it mess up my VB programming?

I also have Microsoft Word XP, and when I goto view>toolbars>Visual Basic, I notice a normal layout and normal Visual Basic (It looks like 6) tools. Can I program using this, and will it compile correctly? (I'm not sure if I can save files with this, havn't looked into it much)

Or should I just spend some money and buy Visual Basic. If so, how much is it (I'll probably find this on my own)?

Baah, that was a lot.

P.S. Sorry if this has already been answered, didn't mean to bother.

Thanks,
Doc
Image
Communism || Well in Halomods Com, I own you. -Shout
Userbar put your total signature image at 140 pixels in height. Sorry. <-- My sig has become the #1 place for Moderator tags -_-
You could always, oh I don't know, edit our comments out? =p | I would put it back in. -Shout -wer its at brudda-
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Get yourself Visual Basic Express Edition 2005 Beta 2 from Microsoft.Its free and modern.If you want the whole package with C#,C+,J#,VB and ASP.NET then go buy Visual Studio 2005
...left for good
Doctor





Posts: 567
Joined: Sun Nov 27, 2005 5:48 pm

Post by Doctor »

Awesome, thanks Patrick.

If I learn with VB Express, it won't mess up my VB programming, will it? Is there any books for VB Express?
Image
Communism || Well in Halomods Com, I own you. -Shout
Userbar put your total signature image at 140 pixels in height. Sorry. <-- My sig has become the #1 place for Moderator tags -_-
You could always, oh I don't know, edit our comments out? =p | I would put it back in. -Shout -wer its at brudda-
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Yes i have one.Let me dig out.I have the 2003 version but get the 2005 edition.Its basicllay the same just some little things have changed.
This is the one i got:
Image
this is the new one you should get(I think this is the one):
Image

Get one of the two.Just look thorugh it and make sure its Visual Basic .NET and NOT Visual Basic 6.
...left for good
Doctor





Posts: 567
Joined: Sun Nov 27, 2005 5:48 pm

Post by Doctor »

Thank you very much for helping my out, Patrick! I'll prolly be heading over to Border's tomorrow =D

You deserve an award.
Image
Communism || Well in Halomods Com, I own you. -Shout
Userbar put your total signature image at 140 pixels in height. Sorry. <-- My sig has become the #1 place for Moderator tags -_-
You could always, oh I don't know, edit our comments out? =p | I would put it back in. -Shout -wer its at brudda-
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Doctor wrote:Thank you very much for helping my out, Patrick! I'll prolly be heading over to Border's tomorrow =D
I wanted to go there today too and buy a book about programming :D

You deserve an award.
Tell that BEEF :D
...left for good
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

i bought the wrong book i bought visual basic for developers awhile back well its not my fault i was talking on the phone with my mom and she told me a list of book names and i thought it sounded good but it wasnt.

"I own visual studio 2005"
Image
FireScythe





Posts: 42
Joined: Tue Jun 08, 2004 2:52 am

Post by FireScythe »

Patrickssj6 wrote:Get yourself Visual Basic Express Edition 2005 Beta 2 from Microsoft.Its free and modern.If you want the whole package with C#,C+,J#,VB and ASP.NET then go buy Visual Studio 2005
Until November 2006, all the express editions (not betas) are up for free download from Microsoft:
http://msdn.microsoft.com/vstudio/express/default.aspx
I downloaded all the ISO's and put them on a DVD (with a home made autorun app. :wink: ) incase I feel like learning something else in the future.
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

i love visual studio 2005 so many more features then the express editions
Image
User avatar
FleetAdmiralBacon




Critic Pyre Articulatist 500

Posts: 2377
Joined: Sat Nov 26, 2005 7:01 pm
Location: Ohio
Contact:

Post by FleetAdmiralBacon »

I still prefer 6
It may not allow you to do as much, but it is so much easier. And I can't seem to be able to convert anything to .net, so I'm going to stick to what I know.
Image
Everything you'll ever need to know about me.
Need help with Linux, C#, C, Python, Java, PHP, Javascript, CSS, or VB? I'm available from 3:00PM-8:00PM EST on weekdays.
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

its not easier its just diffent and that might mean you have to drop what your doing and start over if you ever want to program in .net
Image
User avatar
FleetAdmiralBacon




Critic Pyre Articulatist 500

Posts: 2377
Joined: Sat Nov 26, 2005 7:01 pm
Location: Ohio
Contact:

Post by FleetAdmiralBacon »

Yeah, but with .net, you need the .net framework. And if you are using a version 0.000.01 lower than it doesn't work. With VB6, it's standard stuff (except for most controls)
Plus, can you do a line using the line (x,y)-(x,y) command? That's the biggest problem I have with .NET right now, and it is the one thing that is keeping my stuff from working. Something that simple


Not to mention the fact that I'de rather stick to my Visual Studio 6 Enterprise Edition then migrate to a free version of .NET, which is only Visual Basic!
Image
Everything you'll ever need to know about me.
Need help with Linux, C#, C, Python, Java, PHP, Javascript, CSS, or VB? I'm available from 3:00PM-8:00PM EST on weekdays.
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

i dont have a free version this is what i got visual basic 6 just that, visual studio 2003 and visual studio 2005
Image
modder4321





Posts: 118
Joined: Wed Mar 30, 2005 5:35 pm

Post by modder4321 »

FleetAdmiralBacon wrote:Yeah, but with .net, you need the .net framework. And if you are using a version 0.000.01 lower than it doesn't work. With VB6, it's standard stuff (except for most controls)
Plus, can you do a line using the line (x,y)-(x,y) command? That's the biggest problem I have with .NET right now, and it is the one thing that is keeping my stuff from working. Something that simple


Not to mention the fact that I'de rather stick to my Visual Studio 6 Enterprise Edition then migrate to a free version of .NET, which is only Visual Basic!
thats y they invented "imports VB = microsoft.visualbasic"

:D
nsilva





Posts: 411
Joined: Wed Nov 30, 2005 3:15 pm
Location: RI
Contact:

Post by nsilva »

I have to say VB sucks. Go learn C++ its ALOT more powerful. And use Bloodsheds DevC++ its a free IDE and has a free compiler.
Sig file size too high.
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

I wouldnt say it sucks because BASIC was what ms dos ran on now isnt making it older than C++ so it doesnt suck Visual Basic is a very powerful language and by learning it you can learn c++ and c# so on with ease.

Bloodshed C++ isnt that a command line compiler.
Image
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

You have to choose the way you want to go.I would recommend C# from what I heard.C++ is a bit "outdated" cause its complicated and you can do some of the same commands way easier with other languages.
...left for good
nsilva





Posts: 411
Joined: Wed Nov 30, 2005 3:15 pm
Location: RI
Contact:

Post by nsilva »

C++ is not outdated. C might be. And its better to learn C first.
Sig file size too high.
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

trust me vb is the way to go for beginners if you go wiht c# or so on you will tend to get confused and give up
Image
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Besides C# is similar to Java.Let me get you an example of one code in different laguages.

Code: Select all

J#:
System.Windows.Forms.MessageBox.Show("Hello, World!");

Code: Select all

Vb .NET:
Messagebox.Show("Hello, World!")

Code: Select all

C#:
System.Console.WriteLine("Hello, World!");

Code: Select all

C++
using namespace std;
int main()
{
     cout << "Hello, World!";
}
...left for good
Post Reply