Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3

Author Topic: Visual Basic Help  (Read 2579 times)

Realmfighter

  • Bay Watcher
  • Yeaah?
    • View Profile
Re: Visual Basic Help
« Reply #15 on: February 17, 2011, 07:25:22 pm »

That's the problem: You're going to have to learn something else anyway, because VB6 is trash and not worth using.

Good Advise Bro, I'll take it too heart.

Doesn't really help me with my class though.
Logged
We may not be as brave as Gryffindor, as willing to get our hands dirty as Hufflepuff, or as devious as Slytherin, but there is nothing, nothing more dangerous than a little too much knowledge and a conscience that is open to debate

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: Visual Basic Help
« Reply #16 on: February 17, 2011, 07:45:00 pm »

My suggestion would be to try to get a different class ASAP, if not, its ok.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

Fayrik

  • Bay Watcher
    • View Profile
Re: Visual Basic Help
« Reply #17 on: February 17, 2011, 07:50:47 pm »

Meh, unless VB6 will somehow destroy the programing parts of mind its probably better then nothing.
From what I can understand of language structure, and differences... It probably will.
I learned to program in PHP, but then moved onto C#.NET, and that was one heck of a jump, but I can see how substantially easier it was to make by the fact they're both C-based languages.

My personal suggestion, would be to find the closest C-based language you can to their equivalent VBasic language. It should ease the jump to new languages a bit.
If they're using some form of VB.NET, then C#.NET would be pretty easy to learn along side it, because while the language is totally different, the libraries are totally the same.

And yeah, I had to wait a bit on this post, to make sure I wasn't the first person to "diss" the VB. Otherwise I'd just be ranting about how horrible VB is to use.
Logged
So THIS is how migrations start.
"Hey, dude, there's this crazy bastard digging in the ground for stuff. Let's go watch."

eerr

  • Bay Watcher
    • View Profile
Re: Visual Basic Help
« Reply #18 on: February 17, 2011, 07:57:11 pm »

I'm fairly certain it's not too hard to call another program in another language from VB6.

Got any other experience you could use?

« Last Edit: February 17, 2011, 08:08:03 pm by eerr »
Logged

Realmfighter

  • Bay Watcher
  • Yeaah?
    • View Profile
Re: Visual Basic Help
« Reply #19 on: February 17, 2011, 08:14:21 pm »

My suggestion would be to try to get a different class ASAP, if not, its ok.
Only Com Sci class.
My personal suggestion, would be to find the closest C-based language you can to their equivalent VBasic language. It should ease the jump to new languages a bit.
If they're using some form of VB.NET, then C#.NET would be pretty easy to learn along side it, because while the language is totally different, the libraries are totally the same.
While I want to do what you ask so hard, I have no idea how.
And yeah, I had to wait a bit on this post, to make sure I wasn't the first person to "diss" the VB. Otherwise I'd just be ranting about how horrible VB is to use.
You came too late. VB6 has already been ravaged, and beating the thing now is just depressing for all involved.
Got any other experience you could use?
I made a Hotkey Script once.

So no.
Logged
We may not be as brave as Gryffindor, as willing to get our hands dirty as Hufflepuff, or as devious as Slytherin, but there is nothing, nothing more dangerous than a little too much knowledge and a conscience that is open to debate

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: Visual Basic Help
« Reply #20 on: February 17, 2011, 08:21:21 pm »

If this is your first semester, it may just be that all the good programming classes were already full. If that is the case, best thing you can do is suck it up and get into one of the better classes next semester/year. If its the case that your school only teaches vb 6... look into other schools and pray they let your credits transfer.

As bad as it is, vb6 really won't kill you. You can make games, and on modern hardware they might not even run too horribly. I made pong and frogger clones back in the day.
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

IHateOutside

  • Bay Watcher
  • Fire safety is for wimps.
    • View Profile
Re: Visual Basic Help
« Reply #21 on: February 18, 2011, 07:23:45 pm »

They teach using VB6 at our school  ::). Snake and Pong are possible, you could probably make a brick break game too.

Have some 'tutorial' links.


But yeah, its not really useful anymore.
Logged

Blank Expression

  • Bay Watcher
    • View Profile
Re: Visual Basic Help
« Reply #22 on: February 18, 2011, 07:53:55 pm »

Honestly, now, VB6 is just a horribly outdated language that you will have no use for in the real world. Or in academia, or anywhere else really.

Meh, unless VB6 will somehow destroy the programing parts of mind its probably better then nothing.
It will. VB6 teaches fundamentally bad practices. There is no reason to use it, and many reasons not to.

If they're using some form of VB.NET, then C#.NET would be pretty easy to learn along side it, because while the language is totally different, the libraries are totally the same.
Visual Basic .NET and C# (it's not "C#.NET", it's "C#") are identical except for a few high-end features and the meaningless derp of syntax. They are not "totally different".
« Last Edit: February 18, 2011, 07:55:49 pm by Blank Expression »
Logged

Zrk2

  • Bay Watcher
  • Emperor of the Damned
    • View Profile
Re: Visual Basic Help
« Reply #23 on: February 19, 2011, 12:16:43 am »

Honestly, now, VB6 is just a horribly outdated language that you will have no use for in the real world. Or in academia, or anywhere else really.

Meh, unless VB6 will somehow destroy the programing parts of mind its probably better then nothing.
It will. VB6 teaches fundamentally bad practices. There is no reason to use it, and many reasons not to.

If they're using some form of VB.NET, then C#.NET would be pretty easy to learn along side it, because while the language is totally different, the libraries are totally the same.
Visual Basic .NET and C# (it's not "C#.NET", it's "C#") are identical except for a few high-end features and the meaningless derp of syntax. They are not "totally different".

Clearly, his teacher is trolling.

U mad?
Logged
He's just keeping up with the Cardassians.

Realmfighter

  • Bay Watcher
  • Yeaah?
    • View Profile
Re: Visual Basic Help
« Reply #24 on: February 19, 2011, 12:43:52 am »

You have no idea how much I want to get a picture of him and make a GIF of him going U MAD between VB6 Screens.
Logged
We may not be as brave as Gryffindor, as willing to get our hands dirty as Hufflepuff, or as devious as Slytherin, but there is nothing, nothing more dangerous than a little too much knowledge and a conscience that is open to debate

Zrk2

  • Bay Watcher
  • Emperor of the Damned
    • View Profile
Re: Visual Basic Help
« Reply #25 on: February 19, 2011, 02:08:08 am »

You have no idea how much I want to get a picture of him and make a GIF of him going U MAD between VB6 Screens.

1. Make it.
2. Post it.
3. ? ? ?
4. Universal Avatar.
Logged
He's just keeping up with the Cardassians.

Realmfighter

  • Bay Watcher
  • Yeaah?
    • View Profile
Re: Visual Basic Help
« Reply #26 on: February 19, 2011, 02:09:54 am »

Holy shit I just Google'd his name and got his picture.

PHOTO EDITING SOFTWARE GOGOGO

I made it, but only just realized how Insanely Stupid this plan was, so I will never release this monstrosity.
« Last Edit: February 19, 2011, 02:20:30 am by Realmfighter »
Logged
We may not be as brave as Gryffindor, as willing to get our hands dirty as Hufflepuff, or as devious as Slytherin, but there is nothing, nothing more dangerous than a little too much knowledge and a conscience that is open to debate

Zrk2

  • Bay Watcher
  • Emperor of the Damned
    • View Profile
Re: Visual Basic Help
« Reply #27 on: February 20, 2011, 02:16:41 am »

But, all my hopes and dreams (for the last day) have been based off this. Now i am crushed. I shall mope off to wallow in a pit of despair.
Logged
He's just keeping up with the Cardassians.

Fayrik

  • Bay Watcher
    • View Profile
Re: Visual Basic Help
« Reply #28 on: February 20, 2011, 12:59:37 pm »

Visual Basic .NET and C# (it's not "C#.NET", it's "C#") are identical except for a few high-end features and the meaningless derp of syntax. They are not "totally different".
VB and C# are totally different. Seeing as, by definition, they are two, incredibly different languages.
But the fact they are both .NET languages, makes them similar. If only by the libraries.

You came too late. VB6 has already been ravaged, and beating the thing now is just depressing for all involved.
Yes, it makes me look more unbiased.

As a last, vain attempt to save your programming future, however, I will suggest this one, incredibly silly idea.

  • Go to the computer you're going to use.
  • Install Visual Studio C++ Express.
  • Learn, and write your project in VC++, while everyone else is programming VB6.
  • ? ? ?
  • Awesome game, much better than anyone else's at the end.
And then you could write "U MAD?" on the whiteboard or something.
Logged
So THIS is how migrations start.
"Hey, dude, there's this crazy bastard digging in the ground for stuff. Let's go watch."

Blank Expression

  • Bay Watcher
    • View Profile
Re: Visual Basic Help
« Reply #29 on: February 22, 2011, 01:18:43 pm »

Visual Basic .NET and C# (it's not "C#.NET", it's "C#") are identical except for a few high-end features and the meaningless derp of syntax. They are not "totally different".
VB and C# are totally different. Seeing as, by definition, they are two, incredibly different languages.
No. You can, without significant effort, apply Reflector compiled C# and get VB.NET source out of it. You cannot do the same in a sensical way to F# code or IronPython or IronRuby. This is because a very large amount of the compilers for C# and VB.NET are shared code, even where their grammar is not.

(You do know what Reflector is, right...?)



The primary differences between VB.NET and C# are that C# supports static classes (doable in VB.NET via the Module construct but the semantics differ very slightly), the unsafe{} block, and checked/unchecked arithmetic operations. VB.NET loads an extra couple of library shims to enable the My namespace--itself just a wrapper around common static functions in other classes--and a couple of minor keyboard candy bits like inline date declaration. (Anonymous functions used to be C#-only, but have been added to VB.NET. Similarly, VB.NET used to late-bind objects where C# didn't, but C# 4.0 adds dynamic which enables late binding.) Bearing in mind the extremely minor exceptions aforementioned, I will reiterate: aside from the meaningless derp of syntax (and yes, it is meaningless), the languages emit identical CIL for the same instructions and decompose into virtually identical code paths for VB.NET's syntactic sugar. The "Handles" construct in VB.NET, for example, is parsed as a directive into the class's constructor in a manner identical to manual subscription of events in C#.

Syntax is not the primary relation of languages and its importance is minimal when the semantics and underlying operation are nearly identical.
« Last Edit: February 22, 2011, 01:40:00 pm by Blank Expression »
Logged
Pages: 1 [2] 3