473,800 Members | 2,731 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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.OpenRe cordset("SELECT * .....
etc...etc' , is there any links that will show me the C# equivilent???

Thanks in advance,
Steve.
--
Message posted via DotNetMonster.c om
http://www.dotnetmonster.com/Uwe/For...sharp/200509/1
Nov 17 '05 #1
2 1510
Steve1 via DotNetMonster.c om <u14291@uwe> wrote:
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.OpenRe cordset("SELECT * .....
etc...etc' , is there any links that will show me the C# equivilent???


http://msdn.microsoft.com/library/de...l=/library/en-
us/vsintro7/html/vxgrfLanguageEq uivalents.asp

may help you.

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Nov 17 '05 #2
Thanks Jon.
--
Message posted via DotNetMonster.c om
http://www.dotnetmonster.com/Uwe/For...sharp/200509/1
Nov 17 '05 #3

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

Similar topics

5
3327
by: Sally B. | last post by:
Hello, I searched, but couldn't find answers--probably because I'm not sure what this is called... Anyway, I have about 50 web pages and I want to have some JavaScript that will read in a list of keywords, scan the web page and create links on any of those keywords... Is there any way to do this sort of thing? Thanks!
2
21745
by: John Galt | last post by:
I was looking at a VB.NET program that is passing strings to method calls using ByVal. I was wondering if this is for a reason and, if so, should a C# conversion of code samples from VB.NET also use an equivilent rather than passing strings by reference?
1
4867
by: Ryan Ternier | last post by:
I'm trying to find an equivilent function to VB's DatePart function. I have a Year, Month, the Day of week (Sunday, monday etc.) and the week (week 1, week 2) and I need to find the date of that month. Can anyone help me with this? /RT
9
2265
by: Greg Muncien | last post by:
In VB.Net, when you double click a control you see all available events of that control in a combo box. Click on one, and the interface code is right there waiting for you to type implementation. Why does this not occur in C#? I have to write the function header myself? Why does it seem C# goes out of its way to be less productive than VB.Net? Has this been fixed in 2005?
26
8126
by: johkar | last post by:
I need to cancel the link and execute a function onclick of all the links within the span tag which has a class of "container" assigned. There will be only one span tag with this class applied. I know you can get a specific tag using document.getElementsByTagName('span'), but I am unsure how to get the one with the class="container". I know there is a getAttribute method, just need a pointer or two to put it all together. Once I know...
2
1689
by: =?Utf-8?B?QW5kcmV3IEhheWVz?= | last post by:
I have some legacy ASP code that looks like this: <% if not (Rs.EOF) then i=0 do while not Rs.EOF i=i+1 PaymentItemName = Rs("PaymentItemName") PaymentItemCode = Rs("PaymentItemCode") %>
6
1749
by: VUNETdotUS | last post by:
Search results on my site started to show a large number of page links. I never had to deal with it before but it is time now. I am trying to come up with a good logic / idea how to display a large number of page links without showing all of them at once. For example, if user is searching for "pets" and gets 50 pages back, I want to show 10-20 page links and hide the rest. Also, the closer user gets to the last visible pages, the more...
0
1825
by: Peter Horlock | last post by:
Hi, Using css (that should be working in Firefox 2,3 and Internet Explorer 6,7 at least), I would like to create the following: My Links: Link1 +show more links <!--- This is shown when someone clicks on a plus image next to Link1 Link2(lined up with Link1) Link3 (lined up with Link2)
1
6576
by: canadamaple | last post by:
Hi i have been trying to find a way to the url when a user clicks on a link. now let me be clear I am aware of the status text option. I am looking for away to capture the links that do not show a status text option. It is those one that the typical status text option does not work. With the code i have I have capture any links in webpages but i have discovered there are moments when people don't use links but rather use javascript to make links...
0
9551
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10274
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10251
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10033
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.