How to create a .sln file containing Visual Basic 6 projects
Posted 07 August 2012 - 11:04 AM
Posted 13 September 2012 - 02:45 AM
Let me know if it doesn't work
Posted 08 November 2012 - 03:43 PM
Sorry I have noticed that this post isn't the newest, but maybe you still require assistance. Also know Grimxonic has mentioned a reference, I would just like to add my 2 cents.
Visual Studio 2010 does not give you the ablitly to convery VB6 file to VB .NET files. This is probably due to how outdated VB6 actually is. Here is the link provided in VS2010 when trying to open a VB6 project:
Hopefully this will help getting your started in migrating to the new .NET framework. This is mainly the issue that you will have when converting VB6 to .NET, because the entire framework has changed. Most of your functions you will probably have to re-write completely, which is a good thing anyways. Let me elaborate:
Assuming you migrating from large projects, sometimes the conversions can appear to have been successful but functions may work unexpectedly. This will require you to inspect/test ALL your functions to make sure they do what you require them to do.
Some functions you have written that may have used the old framework might not even convert and you will need to find out if those functions are still available in .NET. In some cases old functionality could have been dropped all together and it will require you to re-write functionality (It is possible to copy over those libraries to your new solutions and use them exactly as you would have in VB6, but this still poses issues [Those libraries might also be dependent on the old framework]). Although this may not be such a bad thing either, you could find libraries that do the same thing as your old functionality, but better, faster and more efficiently . As far as I know you will probably have to redesign all your GUI as well, but at least now you have allot more to work with (Transparency, Ooooooo )
So to answer your question yes it is very possible, but may require a little bit of manual labor. The link provided above might lead you to some tools that automate the conversion process, but again some where down the line you will have to to extensive testing to make sure what was once working before still works.
Please let us know if you require any other information, and also if you need a helping hand to re-write any old functions or just help with the general converting of source. Just drop us the code and we'll see what we can do with it.
Random: Looking at the old VS 6.0 Cover... Even though that's a digital copy it actually looks like there's a layer of dust on it (Same goes for the VB6 splash screen):
http://3.bp.blogspot...l Basic 6.0.gif
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users