Reputation: 5914
I want to convert my old vb6 project to a vb.Net solution, when I open do: File->Open->Convert
this is what I get:
And I can't find a way to show the available converters...
I have try:
Microsoft.VisualBasic.UpgradeWizard.dll
via regasm
but I can't open a console command in VS2008, only in VS2010 and I have read that VS2010 can't handle the conversion from vb6 to vb.net, it has to pass over VS2008 first.Thanks in advance!
Upvotes: 1
Views: 26661
Reputation: 5914
Well, the solution was to install Visual Studio 2005, then the converters were available:
I suppose I needed Framework 1.0.
It's not perfect, it has some errors, but its a step forward for a complete solution.
Of course I've found some other 3rd party conversion programs, but they are expensive:
Hope it helps someone else!
Upvotes: 2
Reputation: 16368
No clue what that Convert dialog is for--there's nothing in the help on it.
According to this Forum Post, you can open the vbp in Visual Studio and it should ask to convert the project (no option to open a .vbp file in VS 2010). However, even if it still did that in VS 2010, it's a tremendously bad idea.
See also this post on converting VB6 to VB.NET.
Also, check these duplicated SO questions:
Edit:
According to this MSDN Page, the conversion wizard only goes up to Visual Studio 2005
Edit Edit: Per MarkJ's comment, Visual Studio 2008 includes the upgrade wizard. It's gone in VS 2010.
Upvotes: 0