What is your favorite visual designing program?

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

what is your fav?

Visual Basic 6.0
0
No votes
Visual Basic 2005E
2
22%
C# 2005E
5
56%
C++ 2005E
2
22%
(any program in visual studio 2008)
0
No votes
 
Total votes: 9

Jdogg





Posts: 184
Joined: Thu Aug 31, 2006 3:18 pm

What is your favorite visual designing program?

Post by Jdogg »

I have become very good with visual basic 6.0 and 2005.
I want to get out of the easy stuff and move on to C#

i have a few questions though

how do i do an IF statement in c#?
how do i do a 'dim' in c#?

and a last question..

what is the difference between c# and vb, Dont say its more advanced because i know that

but what im trying to get at is can i really do a lot more in c# than vb?
because i am very, very good in vb
OwnZ joO




Articulatist 500

Posts: 980
Joined: Thu Nov 10, 2005 4:24 pm

Post by OwnZ joO »

if statement looks like this
I'll use 2 checkboxes as an example

Code: Select all

if( checkBox1.checked)
{
 // insert code for when checkBox1 checked is true
}
else if(checkBox2.checked)
{
 // insert code for when checkBox2 checked is true
}
else
{
 // insert code for when neither are checked
}
Dim statements are like this
You declare the variable type before the variable instead of after

Code: Select all

// vb.net looks like this I believe:
// Dim s As String = "hey there"
// here's the C#.net
string s = "hey there";

// another example
// In vb.net(I think):
// Dim ofd As OpenFileDialog = new OpenFileDialog
OpenFileDialog ofd = new OpenFileDialog();
Well the difference between C#.net and VB.net in performance is C# performs a little bit better than VB. They both get compiled into the same IL language, but C# is optimized and compiles better code. The syntax is obviously different. I would say C# is more object oriented than VB, not that you can't write object oriented code in VB, C# is just more based on it. If you are really comfortable with VB, then you don't absolutely need to switch to C#, but maybe if you would like something to do then you could, or if you want to keep up with the changing technology. Learning another language probably wouldn't be that hard, it's not the syntax that's difficult with programming anyway, it's the concepts, and you can learn those in any language.[/code]
User avatar
Prey




Connoisseur Snitch! Pyre Articulatist 500

Posts: 1026
Joined: Wed Dec 27, 2006 6:49 am
Location: UK
Contact:

Post by Prey »

OwnZ joO wrote:Well the difference between C#.net and VB.net in performance is C# performs a little bit better than VB. They both get compiled into the same IL language, but C# is optimized and compiles better code.
No.. C# gives you more access over your code, thus the possibility to better optimise it.
OwnZ joO wrote:The syntax is obviously different.
Yes. C# tends to be more inclined towards using symbols, ie. '!' instead of 'Not', C# is also case sensitive.
OwnZ joO wrote:I would say C# is more object oriented than VB, not that you can't write object oriented code in VB, C# is just more based on it.
Wut. Both languages were made to be object-orientated >_>
OwnZ joO wrote:[...]or if you want to keep up with the changing technology.
Yea there's some truth in that. If Microsoft are going to bring something new to the table, then it's C# that'll normally be compatible first. XNA is a good example of that.
Halo 2 Prophet - Skin with ease with the simple 3D point and click interface.
Halo 3 Research Thread - Contribute to the research into Halo 3.
User avatar
kornman00




ONI New Age

Posts: 146
Joined: Fri Dec 12, 2003 6:30 pm
Contact:

Post by kornman00 »

your poll and question do not match.

My fav. visual (ie, gui) designer would be Visual Studio.

My fav. languages are C# and C++. However there are some other languages I like to use, depending on the context of the situation.

* Basic can eat shit and die while I blow it out my ass.
-DeToX-




Illusionist Recreator Connoisseur Acolyte
Sigma Decryptor Droplet Pyre
Blacksmith Socialist New Age System Engineer
ONI

Posts: 4589
Joined: Sun Jun 18, 2006 3:58 pm
Location: ...

Post by -DeToX- »

^What he said about VB and everything else.
Image
Jdogg





Posts: 184
Joined: Thu Aug 31, 2006 3:18 pm

Post by Jdogg »

o come on vb isnt THAT bad.
its just too easy
User avatar
FullMetalParka





Posts: 16
Joined: Wed Jun 28, 2006 2:42 pm
Location: Richmond, BC

Post by FullMetalParka »

I'm a big fan of VB 2005+. Although VB6 was much easier to use and understand, .NET gives you so much more control and lets you do so much more neat stuff.
Image
Post Reply