Any links to show the VB6 equivilent code in C#?

  • Thread starter Steve1 via DotNetMonster.com
  • Start date
S

Steve1 via DotNetMonster.com

Hi all,

I'm producing a data conversion app in C#. I have the code already written
in VB6. I would to know if anyone knows of any links that shows the VB6
function/syntax equivilent in C#? For example in the VB6 code it has 'While
rsSource.EOF' and 'Set rsTarget = ddTarget.OpenRecordset("SELECT * .....
etc...etc' , is there any links that will show me the C# equivilent???

Thanks in advance,
Steve.
 
J

Jon Skeet [C# MVP]

Steve1 via DotNetMonster.com said:
I'm producing a data conversion app in C#. I have the code already written
in VB6. I would to know if anyone knows of any links that shows the VB6
function/syntax equivilent in C#? For example in the VB6 code it has 'While
rsSource.EOF' and 'Set rsTarget = ddTarget.OpenRecordset("SELECT * .....
etc...etc' , is there any links that will show me the C# equivilent???

http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/vsintro7/html/vxgrfLanguageEquivalents.asp

may help you.
 
G

Guest

Note that that link shows .NET language equivalents. Most of that applies to
VB6 also, but for VB6 syntax such as "Set rsTarget ..." you'll need to remove
the "Set".
You might want to find a link for VB6 - VB.NET differences also.
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant J#: VB.NET to J# Converter
Clear VB: Cleans up outdated VB.NET code
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top