473,387 Members | 1,504 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

c# versus VB

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
Nov 16 '05 #1
5 1041
psg
"reidarT" <re****@eivon.no> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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
Nov 16 '05 #2
"reidarT" <re****@eivon.no> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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?
Nov 16 '05 #3
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" <re****@eivon.no> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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

Nov 16 '05 #4
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

Nov 16 '05 #5
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" <re****@eivon.no> wrote in message
news:#x**************@TK2MSFTNGP15.phx.gbl...
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

Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Dieter Vanderelst | last post by:
Dear all, I'm currently comparing Python versus Perl to use in a project that involved a lot of text processing. I'm trying to determine what the most efficient language would be for our...
33
by: Joshua D. Drake | last post by:
Hello, I think the below just about says it all: http://www.commandprompt.com/images/mammoth_versus_dolphin_500.jpg Sincerely, Joshua Drake
2
by: Andrew Robinson | last post by:
I need to create a shared static field for use within a number of different classes. Which one should I be using or are they all really the same thing? public class Widget { private Widget() {}...
2
by: Jon Lapham | last post by:
I have a table that stores TEXT information. I need query this table to find *exact* matches to the TEXT... no regular expressions, no LIKE queries, etc. The TEXT could be from 1 to 10000+...
135
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
1
by: johnpa60 | last post by:
Hello Anyone here has seen any materials on comparing DB2 CM versus Domino Doc Server? Can you please point me? If any of you have worked on both products, can you please spend few minutes...
42
by: John Doty | last post by:
I realized that I have a little job on the table that is a fine test of the Python versus Standard Forth code availability and reusability issue. Note that I have little experience with either...
13
by: blangela | last post by:
I have decided (see earlier post) to paste my Word doc here so that it will be simpler for people to provide feedback (by directly inserting their comments in the post). I will post it in 3 parts...
2
by: John LaRusic | last post by:
Hi all, I'm fairly new to the world of schemas, but I have a question that I hope someone can help answer for me. I'm curious as to what the difference is between an element and a complexType?...
4
by: aj | last post by:
DB2 8.2 LUW FP14 Is there any real difference between select blahblahblah... where blah IN (select blah......) versus select blahblahblah... where blah = ANY (select blah.....) versus select...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.