who is more powerfull? VB6 or VB.net 2010?

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4

54 Replies - 30231 Views - Last Post: 09 May 2012 - 12:00 PM

#16 Cambalinho  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 70
  • Joined: 04-March 12

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 14 March 2012 - 12:47 PM

View Posttrevster344, on 14 March 2012 - 12:42 PM, said:

Are you trying to make a game or something?

controls for make the game more easely;)
i create the Sprite control(on VB6). and i wanted create it on VB 2010. i use a diferent way on making games. normaly you use images, but i use controls to show them. it's very cool and very easy to use and faster for make the games.
you can see 1 game that i did Apanhar Diamantes(Catch Diamonds): www.cambalinho.blogspot.com.
Was This Post Helpful? 0
  • +
  • -

#17 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5780
  • View blog
  • Posts: 12,595
  • Joined: 16-October 07

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 14 March 2012 - 12:53 PM

VB6 has all the power of a language that hasn't changed in over a decade...

VB.NET is identical to C# technology wise; they're both .NET.
Was This Post Helpful? 0
  • +
  • -

#18 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 224
  • View blog
  • Posts: 1,499
  • Joined: 16-March 11

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 14 March 2012 - 12:58 PM

You will want to draw them with the GDI Classes of .Net. Two reasons, 1: Picture box is inefficient, slow, and you can't get the proper transparency you want unless you have it on another form overlapping the first one. 2: Drawing is much quicker, and you can draw more specifically to regions. Sounds to me like you're using JHarbour's game programming book, but I could be wrong. Either way you want to learn efficient, practices of game programming. Good time to start.

This particular website did it for me.

GDI Classes - tut
Was This Post Helpful? 0
  • +
  • -

#19 Cambalinho  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 70
  • Joined: 04-March 12

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 14 March 2012 - 01:06 PM

View Postbaavgai, on 14 March 2012 - 12:53 PM, said:

VB6 has all the power of a language that hasn't changed in over a decade...

VB.NET is identical to C# technology wise; they're both .NET.

then why you can make controls Opacy and Transparent on C# and not on VB.net or above?
(i have seen a nice code for C#, but can't be used on VB.net, because i try before:()

View Posttrevster344, on 14 March 2012 - 12:58 PM, said:

You will want to draw them with the GDI Classes of .Net. Two reasons, 1: Picture box is inefficient, slow, and you can't get the proper transparency you want unless you have it on another form overlapping the first one. 2: Drawing is much quicker, and you can draw more specifically to regions. Sounds to me like you're using JHarbour's game programming book, but I could be wrong. Either way you want to learn efficient, practices of game programming. Good time to start.

This particular website did it for me.

GDI Classes - tut

how i start???
i used VB6.. then i start use the Game Maker. after that i thinked working on vb6 for making games. in that time i only knew working with controls and not very in graphics. in last years i learn so much using API functions and i create my own collision function(collisionprecise() and collisionobjects()) and working with game pad and more;)
i learn more using VB 6 normal books and windows API than using gamming books;)
Was This Post Helpful? 0
  • +
  • -

#20 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 224
  • View blog
  • Posts: 1,499
  • Joined: 16-March 11

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 14 March 2012 - 01:13 PM

Read the tutorial, prove you actually tried to help yourself by writing some code. Here's another tutorial. I can't help you till you give me something to help. We won't write code for you.

More Intro to GDI - Codeproject Tutorial
Was This Post Helpful? 0
  • +
  • -

#21 Cambalinho  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 70
  • Joined: 04-March 12

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 14 March 2012 - 02:34 PM

View Posttrevster344, on 14 March 2012 - 01:13 PM, said:

Read the tutorial, prove you actually tried to help yourself by writing some code. Here's another tutorial. I can't help you till you give me something to help. We won't write code for you.

More Intro to GDI - Codeproject Tutorial

i found something: http://www.vbdotnetf...rent-label.html
Was This Post Helpful? 0
  • +
  • -

#22 baavgai  Icon User is offline

  • Dreaming Coder
  • member icon

Reputation: 5780
  • View blog
  • Posts: 12,595
  • Joined: 16-October 07

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 14 March 2012 - 02:43 PM

View PostCambalinho, on 14 March 2012 - 03:06 PM, said:

then why you can make controls Opacy and Transparent on C# and not on VB.net or above?


This is simply not true. I you have a C# code snippet, I'm sure anyone in this forum could show you what the VB.NET version would look like.
Was This Post Helpful? 2
  • +
  • -

#23 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 224
  • View blog
  • Posts: 1,499
  • Joined: 16-March 11

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 14 March 2012 - 02:57 PM

Most if not all things written in c# can be converted to vb syntax is hardly difficult to comprehend on either side.
Was This Post Helpful? 0
  • +
  • -

#24 Curtis Rutland  Icon User is offline

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4437
  • View blog
  • Posts: 7,710
  • Joined: 08-June 10

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 14 March 2012 - 05:14 PM

This is one of those "I don't understand how to do one specific thing in language X, but I do in Y. Therefore, Y is objectively better than X." Awful logic.
Was This Post Helpful? 4
  • +
  • -

#25 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 224
  • View blog
  • Posts: 1,499
  • Joined: 16-March 11

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 14 March 2012 - 05:27 PM

Can't program with that kind of logic let me tell ya!
Was This Post Helpful? 0
  • +
  • -

#26 atraub  Icon User is offline

  • Pythoneer
  • member icon

Reputation: 759
  • View blog
  • Posts: 2,010
  • Joined: 23-December 08

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 14 March 2012 - 07:36 PM

This is the best I could find for this
Posted Image
Was This Post Helpful? 0
  • +
  • -

#27 Cambalinho  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 70
  • Joined: 04-March 12

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 15 March 2012 - 12:58 PM

View Postatraub, on 14 March 2012 - 07:36 PM, said:

This is the best I could find for this
Posted Image

take it on easy, please.
i know very things on vb6(inclued graphics api). i know something about C\C++(i learned before for fun). i know Turbo Pascal(for DOS) and i did a tic-tac-toe(on ramdom pc playing), but with some AI on VB6(you can win, but isn't so easy);)
and others i don't know.
finally i found that web page: http://www.bobpowell...anscontrols.htm
these is C# code(i belive). but how convert it to VB 2010?
Was This Post Helpful? 0
  • +
  • -

#28 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 224
  • View blog
  • Posts: 1,499
  • Joined: 16-March 11

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 15 March 2012 - 01:27 PM

You go learn some C#, and look for the slight changes in syntax and rewrite it for vb.net?
Was This Post Helpful? 0
  • +
  • -

#29 Ryano121  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1362
  • View blog
  • Posts: 3,002
  • Joined: 30-January 11

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 15 March 2012 - 01:31 PM

There are event C# to VB.Net code converters online like this one.

OK they are far from perfect to say the least, but at least you will get a starting point to go on with.
Was This Post Helpful? 0
  • +
  • -

#30 Cambalinho  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 70
  • Joined: 04-March 12

Re: who is more powerfull? VB6 or VB.net 2010?

Posted 15 March 2012 - 01:46 PM

View PostRyano121, on 15 March 2012 - 01:31 PM, said:

There are event C# to VB.Net code converters online like this one.

OK they are far from perfect to say the least, but at least you will get a starting point to go on with.

then tell me how convert these:
cp.ExStyle|=0x00000020; //WS_EX_TRANSPARENT

Was This Post Helpful? 0
  • +
  • -

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4