Page 1 of 2

AstroWars

Posted: Sat Sep 25, 2010 9:09 am
by codendstuff1
Astro Wars - Shoot 'em up game

Re: AstroWars

Posted: Sat Sep 25, 2010 9:10 am
by Axel
This is vb6 not vb.NET !

Re: AstroWars

Posted: Sat Sep 25, 2010 1:02 pm
by Scottie1972
I have moved this Topic to the V6 Section.

Re: AstroWars

Posted: Tue Jan 11, 2011 5:54 am
by codendstuff1
thanks for doing that.

Re: AstroWars

Posted: Tue Jan 11, 2011 6:47 am
by codendstuff1
its a nice application please download it.

Re: AstroWars

Posted: Wed Jun 13, 2012 1:08 pm
by teunissenstefan
Uh what is the difference between vb.NET and vb6?

Re: AstroWars

Posted: Wed Jun 13, 2012 1:18 pm
by MrAksel
VB.NET is a more user-friendly language managed by the .NET framework. I'm sure other can give a more detailed description, but VB6 is harder to use than its .NET version

Re: AstroWars

Posted: Wed Jun 13, 2012 5:25 pm
by GoodGuy17
MrAksel wrote:
VB.NET is a more user-friendly language managed by the .NET framework. I'm sure other can give a more detailed description, but VB6 is harder to use than its .NET version
Honestly, I find VB6 much easier to use than its .NET version... it is simpler and has an easy-to-use interface. Not to mention the code is usually much shorter.

It's all a matter of opinion, I guess.

Re: AstroWars

Posted: Wed Jun 13, 2012 5:38 pm
by MrAksel
Okay, then I just need to know, is VB6 Object Oriented? (With classes etc.)
I thought VB6 was some sort of easy to use native language where you use API's and such in a much larger scale:
Code: Select all
'VB6 method to set text?'
SendMessage(command1.Handle, WM_SETTEXT, Nothing, "This is the text")

'VB.NET method'
button1.Text = "This is the text."

Re: AstroWars

Posted: Wed Jun 13, 2012 5:47 pm
by GoodGuy17
Yes, it is partially Object Oriented.

And about the code, the code is the sort of the same. It's a lot alike actually, but some is easier in VB6.

Buttons were called Commands or CommandButtons, I think, and to set the text, I believe you would use:
Code: Select all
Command1.Caption = "Text"
.Text would be .Caption, in many cases (not all, I don't think).