Monday, May 11, 2009

conversion from VB6 to Visual Studio .NET 2008

.NET has much more power than VB6 and this provides a very good reason to convert the existing VB6 projects to VS 2008 .NET .
Start with opening Visual Studio 2008 IDE.
open the existing VB6 vbp file. The converiosn wizard will guide you through the steps to convert all the VB6 files to the .NET files. It will also create a report and a back up folder in case you want to revert back to the old version.

If Microsoft.Sqlserver.MSXML6 was used in VB6 code then it will give compilation error in the .NET. you can replace it with System.NET namespace and use the HttpWebRequest class.
Dim oHTTP As System.Net.HttpWebRequest ( this is a replacement for Dim oHTTP As Microsoft.SqlServer.MSXML6.ServerXMLHTTP in the Vb6 code).

Morr posts will follow on this article.
Thanks
-Abhinaw

No comments:

Post a Comment