it looks like i'm in a C# world here in houston,Texas and i'm gonna have to make the plunge after doing and really enjoying VB.NET with winforms and web forms for the last couple of years.
yes, even picked up some javascript along the way.
my question is (since there's no classes being held in this area @ the community colleges during the summer on this subj), does anyone have any suggestions for some really great books that'll make the VB.NET to C# transition any easier???
i'm really gonna miss my global variables.

thanks for any advice
rik

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...

Re: Need advice-VB.NET to C# transition by Mythran

Mythran
Fri May 27 10:46:35 CDT 2005


"rik butcher" <rbutch@coair.com> wrote in message
news:eg8p%23EtYFHA.2128@TK2MSFTNGP14.phx.gbl...
> it looks like i'm in a C# world here in houston,Texas and i'm gonna have
> to make the plunge after doing and really enjoying VB.NET with winforms
> and web forms for the last couple of years.
> yes, even picked up some javascript along the way.
> my question is (since there's no classes being held in this area @ the
> community colleges during the summer on this subj), does anyone have any
> suggestions for some really great books that'll make the VB.NET to C#
> transition any easier???
> i'm really gonna miss my global variables.
>
> thanks for any advice
> rik
>
> **********************************************************************
> Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
> Comprehensive, categorised, searchable collection of links to ASP &
> ASP.NET resources...

eeek! Global Variables?!?

Actually, if you learn easily teaching yourself, there are plenty of C#
tutorials on the internet. Check some of those out and also look at the
MSDN documentation for samples.

Also, try plunging in on the simple Hello World applications :) Those are
quick to set up and you learn by doing. Just little changes to it to break
it and then see the error messages you get and fix it...yadda yadda...that's
how I learn new languages...all except Cobol...being that I learned Cobol on
production applications (making minor changes)....if I broke something
there...I'd be in trouble heh :)

Mythran


Re: Need advice-VB.NET to C# transition by WJ

WJ
Fri May 27 11:22:15 CDT 2005

If you have been doing VB.Net for two years, it is not hard to translate
into c#. You may be interested in looking at this link see what you think:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxgrfLanguageEquivalents.asp

BTW, I never coded a single line in VB in my life, but now I have to convert
all VB applications (yes, VB of the 20th century ASP :), not ASP.Net) to
c# ! For the 1st time in my life, I attempted to convert a Windows app
written VB (v5). I ended up tossing the entire source and wrote the app from
scratch using c# ! So, it looks as if its (VB) days are numbered ?

John




Re: Need advice-VB.NET to C# transition by Mark

Mark
Fri May 27 13:26:53 CDT 2005

"WJ" <JohnWebbs@HotMail.Com> wrote in message
news:OzO3iftYFHA.4036@tk2msftngp13.phx.gbl...

> So, it looks as if its (VB) days are numbered ?

We can but hope!



Re: Need advice-VB.NET to C# transition by Mark

Mark
Fri May 27 13:35:56 CDT 2005

"rik butcher" <rbutch@coair.com> wrote in message
news:eg8p%23EtYFHA.2128@TK2MSFTNGP14.phx.gbl...

> i'm really gonna miss my global variables.

I'm gonna get seriously flamed for this, but I don't care 'cos it's fun...

1) Add a new class called CGlobalVariables.cs

2) Delete all the default code and add the following:

using System;

namespace GlobalVariables
{
public sealed class CGlobalVariables
{
public static string gstrFirstGlobalVariable = "Hello";
public static string gstrSecondGlobalVariable = "world";
public static bool blnThisIsActuallyPrettyStupid = true;
public static int intNumberOfPeopleWhoShouldDoThis = 0;
}
}

3) Write the following somewhere else in your app:

string strGlobals1 = CGlobalVariables.gstrFirstGlobalVariable;
string strGlobals2 = CGlobalVariables.gstrSecondGlobalVariable;
string strGlobals = strGlobals1 + " " + strGlobals2 + "!";

Just as a bit of fun. I'm not advocating you do this, just showing you what
is possible in C#...



Re: Need advice-VB.NET to C# transition by Earl

Earl
Sat May 28 02:42:39 CDT 2005

VB apps are almost universally unable to be "converted" to VB.Net. What a
waste of time for the developers and indeed on Microsoft's part to have an
"update wizard" (think of the Wizard of Oz when you read that term as it
relates to VB-VB.Net). Even modest sized apps will have to be rewritten from
scratch.

Incidentally, how did we end up in adonet forum with this topic ....?

"WJ" <JohnWebbs@HotMail.Com> wrote in message
news:OzO3iftYFHA.4036@tk2msftngp13.phx.gbl...
> If you have been doing VB.Net for two years, it is not hard to translate
> into c#. You may be interested in looking at this link see what you think:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxgrfLanguageEquivalents.asp
>
> BTW, I never coded a single line in VB in my life, but now I have to
> convert all VB applications (yes, VB of the 20th century ASP :), not
> ASP.Net) to c# ! For the 1st time in my life, I attempted to convert a
> Windows app written VB (v5). I ended up tossing the entire source and
> wrote the app from scratch using c# ! So, it looks as if its (VB) days are
> numbered ?
>
> John
>
>
>



Re: Need advice-VB.NET to C# transition by WJ

WJ
Sat May 28 09:44:05 CDT 2005


"Earl" <brikshoe@newsgroups.nospam> wrote in message
news:%23tXURj1YFHA.796@TK2MSFTNGP10.phx.gbl...
> VB apps are almost universally unable to be "converted" to VB.Net.

Yes, you are right. Now a day, all I need to do is to know the "name" of the
VB application then head straight to the users of the app.

> Incidentally, how did we end up in adonet forum with this topic ....?
>
May be the original poster was thinking deep into DB app...?

John