|
-
Jun 15th, 2007, 01:12 PM
#1
Thread Starter
PowerPoster
Vb6 -> C# 2005
Is there a utility to do that? I thought I saw one once.
===================================================
If your question has been answered, mark the thread as [RESOLVED]
-
Jun 15th, 2007, 01:40 PM
#2
Re: Vb6 -> C# 2005
I haven't even seen a utility that converts VB6 to VB.NET code that actually works. If there is such as thing as your title utility, I'd love to take a look at it.
-
Jun 15th, 2007, 02:00 PM
#3
Re: Vb6 -> C# 2005
David Anton has lots of converters, dont know if he has one for VB6-C# though...I dont really think so. One should convert manually for the best end result.
-
Jun 15th, 2007, 02:13 PM
#4
Thread Starter
PowerPoster
Re: Vb6 -> C# 2005
That's kinda what I thought. I can almost rember seeing something, though.
===================================================
If your question has been answered, mark the thread as [RESOLVED]
-
Jun 15th, 2007, 05:35 PM
#5
Re: Vb6 -> C# 2005
Nope, no VB 6 to .NET converters as Microsoft cant even get it working correctly then no one can
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 15th, 2007, 07:36 PM
#6
Re: Vb6 -> C# 2005
VB6 to C# is a bit of a chore, I'm afraid.
I'd recommend first upgrading to VB.NET and then use one of the available VB.NET to C# converters (such as ours).
There are a couple of converters that claim to convert directly from VB6 to C#, but I don't have experience with them:
http://www.vbto.net/
http://www.netcoole.com/vb6tocs.htm
-
Jun 17th, 2007, 07:57 AM
#7
Hyperactive Member
Re: Vb6 -> C# 2005
Hmm, I believe VS2003 contained such a converter, didn't it?
(for VB6 -> VB.NET)
____________________________________________
Please rate my messages. Thank you!
____________________________________________
Bram Vandenbon
http://www.bramvandenbon.com
-
Jun 17th, 2007, 10:07 AM
#8
Re: Vb6 -> C# 2005
 Originally Posted by BramVandenbon
Hmm, I believe VS2003 contained such a converter, didn't it?
(for VB6 -> VB.NET)
Yes - so does VS 2005. That's our recommended way to go from VB6 to VB.NET. That does half the job of converting to C#, but it's not easy - according to our customers, the upgrade from VB6 to VB.NET is much tougher than the conversion of VB.NET to C#, even with the VB6 to VB.NET upgrade wizard.
-
Jun 17th, 2007, 01:25 PM
#9
Re: Vb6 -> C# 2005
Yes, they have converters built in but they are crap and almost never complete the conversion of vB 6 code. Plus its usually not the best logic in code either. Its almost always recommended to re-write your vb 6 code in pure .net
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|