PC Review


Reply
Thread Tools Rate Thread

c# versus VB

 
 
reidarT
Guest
Posts: n/a
 
      13th Feb 2005
I wonder where I can find basic info about C#
like
Me.TextBox1.Text = "hallo"

Me.Label1.Text = "Heisan"

in VB.net

It doesn't work in C#

regards

reidarT


 
Reply With Quote
 
 
 
 
psg
Guest
Posts: n/a
 
      13th Feb 2005
"reidarT" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I wonder where I can find basic info about C#
> like
> Me.TextBox1.Text = "hallo"
>
> Me.Label1.Text = "Heisan"


use "this" instead of "Me" and add semicolon at the end of a line
http://www.developerfusion.co.uk/uti...btocsharp.aspx

RGDS PSG


 
Reply With Quote
 
Mark Rae
Guest
Posts: n/a
 
      13th Feb 2005
"reidarT" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...

>I wonder where I can find basic info about C#


Try C# For Dummies:
http://www.amazon.com/exec/obidos/tg...books&n=507846

> It doesn't work in C#


Why should it?


 
Reply With Quote
 
Chris
Guest
Posts: n/a
 
      13th Feb 2005
This webpage has a comparison of VB.NET language syntax to C#, was helpful
when I made the conversion:


http://www.harding.edu/USER/fmccown/...omparison.html





"reidarT" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I wonder where I can find basic info about C#
> like
> Me.TextBox1.Text = "hallo"
>
> Me.Label1.Text = "Heisan"
>
> in VB.net
>
> It doesn't work in C#
>
> regards
>
> reidarT
>
>



 
Reply With Quote
 
=?Utf-8?B?RGF2aWQgQW50b24=?=
Guest
Posts: n/a
 
      14th Feb 2005
Many developers have found our Instant C# VB.NET to C# converter very useful
for this purpose. It is also the only converter that will accurately
translate partial code fragments, making it very useful for converting
incomplete blocks of code.

Download our Demo Edition at www.instantcsharp.com

David Anton
Tangible Software Solutions Inc.

"reidarT" wrote:

> I wonder where I can find basic info about C#
> like
> Me.TextBox1.Text = "hallo"
>
> Me.Label1.Text = "Heisan"
>
> in VB.net
>
> It doesn't work in C#
>
> regards
>
> reidarT
>
>
>

 
Reply With Quote
 
Publicjoe
Guest
Posts: n/a
 
      14th Feb 2005
Hi reidar,

If you are running SharpDevelop, then there is a converter built in.

Hope this helps

Publicjoe

C# Tutorial at http://www.publicjoe.f9.co.uk/csharp/tut.html
C# Ebook at http://www.publicjoe.f9.co.uk/csharp/samples/ebook.html
VB Tutorial at http://www.publicjoe.f9.co.uk/vbnet/vbnet.html
VB Ebook at http://www.publicjoe.f9.co.uk/vbnet/samples/ebook.html
Mirrors at http://www.dowhileloop.com/publicjoe/ and
http://www.publicjoe.justbe.com/

Useful Articles at http://www.madsally.co.uk



"reidarT" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed)...
> I wonder where I can find basic info about C#
> like
> Me.TextBox1.Text = "hallo"
>
> Me.Label1.Text = "Heisan"
>
> in VB.net
>
> It doesn't work in C#
>
> regards
>
> reidarT
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vista versus other windows versus felmasba Microsoft Powerpoint 1 9th Mar 2008 08:32 AM
NativeMethods versus SafeNativeMethods versus UnsafeNativeMethods? (reflector) kilik3000@gmail.com Microsoft C# .NET 1 23rd May 2007 08:44 PM
Static versus Singleton versus seperate Instantiations... Dan Bass Microsoft C# .NET 3 21st Nov 2004 11:19 PM
script versus code versus ? Russ Microsoft ASP .NET 1 10th Jun 2004 04:06 AM
Eudora versus OE versus Incredimail James Windows XP General 2 2nd Sep 2003 01:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:34 PM.