Click here to Skip to main content
15,920,053 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a code line of VB6 as following:

UserControl.Cls

(this code snippet is in a usercontrol of VB6)

I want to convert it to C# code, how to do this? Thanks.
Posted

1 solution

There is no effective way of "conversion", in fact, because there is no one-to-one correspondence between the haunted VB6 API and .NET. There is a conversion tool, but it does not work well, due to the understandable reasons. If you had VB.NET code, automatic conversion to C# would be possible. You need to write code, not "convert" it.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900