Convert VB6 Form to VB.NET Win Form
VB .NET has changed the way developer used to program in VB6, GUI of VB6 used to hide most of the internals working from the developer but with VB.NET every aspect of programming is open GUI controls and all. The language it self got changed with VB.NET.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Convert VB6 Form to VB.NET Win Form

Andres ZambranoPosted Sep 25, 2012, 6:53 AM EDT
I'm trying to open the project in visual studio 2010 but it does not run, I am gettin varios erros that I thinl have to do with the references: - Microsoft.win32.interop - System.diagnostic - System.winforms - System.winforms.design - System.xml.serialization I have been looking for this references in my framework bot have not find them, any sugestions?
Luciano AlvesPosted Aug 7, 2010, 1:41 PM EDT
Goot Night Pramod, i was trying to using your tool, but it doesnt worked, I thing becouse of version system.XML The DocumentNavigate was not found on this namespace. Then the assemblies not building I Try Framework 1.1, 2.0 ,3.5, and 4 but i had not sucess. Thanks
Abdul Hafeez Abdul AzizPosted May 31, 2010, 9:37 AM EDT
Hello I am VB6 Developer and I have developed many good projects in VB6. I want to convert my project from vb6 to vb.net. Pls advice me how I can do it. Thanks
azeroth dalaranPosted May 23, 2010, 12:02 PM EDT
vai toma no ....
RAZAK ENADPosted Mar 30, 2010, 12:05 PM EDT
thanks
RACHAN ANCHAISREEPosted Feb 15, 2010, 3:29 PM EST
THANK !
RACHAN ANCHAISREEPosted Feb 15, 2010, 3:28 PM EST
THANK !
Fernan CabarrubiasPosted Feb 10, 2010, 9:44 PM EST
Greetings Sir, I tried to run the application but there is an error. Regards, nan
Charles BanksPosted Oct 31, 2009, 9:49 AM EDT
I don't get it. Is it me or is something missing? I have about 36 errors about missing subs, like main. Charles Banks [email protected]
nishanth karimbilPosted Oct 13, 2009, 9:39 AM EDT
how to convert vb to .net
nilesh jogdandPosted Sep 23, 2009, 7:52 AM EDT
thank u for the registratin
Satyendra RaiPosted Aug 7, 2009, 8:45 PM EDT
Hi I Vb 6 developer I want to convert vb Projrct in VB.Net . Please step wise process give me . I wait to your advice. Thanking
mohd zaidanPosted Apr 28, 2009, 5:15 AM EDT
kindly i would like to convert form vb6 to vb.net2005 Public cn As New ADODB.Connection Public Declare Function RegCreateKey Lib "advapi32.dll" Alias "RegCreateKeyA" (ByVal hkey As Long, ByVal lpSubKey As String, phkResult As Long) As Long Public Declare Function RegOpenKeyEx Lib "advapi32.dll" Alias "RegOpenKeyExA" (ByVal hkey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As Long Public Declare Function RegCloseKey Lib "advapi32.dll" (ByVal hkey As Long) As Long Public Declare Function RegSetValueEx Lib "advapi32.dll" Alias "RegSetValueExA" (ByVal hkey As Long, ByVal lpValueName As String, ByVal Reserved As Long, ByVal dwType As Long, ByVal lpData As String, ByVal cbData As Long) As Long Public Declare Function RegQueryValueEx Lib "advapi32.dll" Alias "RegQueryValueExA" (ByVal hkey As Long, ByVal lpValueName As String, ByVal lpReserved As Long, lpType As Long, ByVal lpData As String, lpcbData As Long) As Long Public Sub MyConnect() On Error Resume Next cn.ConnectionString = "Driver={MySQL ODBC 3.51 Driver}; Server=al-km.com; Port=3306; Database=admin_eledb; User=zx; Password=xc ;Option=3;" cn.Open End Sub Public Sub CreateKey(SubKey As String) Dim hkey As Long, rtn As Long rtn = RegCreateKey(&H80000001, SubKey, hkey) rtn = RegCloseKey(hkey) End Sub Public Sub SetStringValue(SubKey As String, Entry As String, Value As String) Dim rtn As Long, hkey As Long Const REG_SZ = 1&, KEY_WRITE = &H20006 rtn = RegOpenKeyEx(&H80000001, SubKey, 0, KEY_WRITE, hkey) rtn = RegSetValueEx(hkey, Entry, 0, REG_SZ, ByVal Value, Len(Value)) rtn = RegCloseKey(hkey) End Sub Public Function GetString(strPath As String, strValue As String) As String Dim keyhand As Long, datatype As Long, lResult As Long Dim strBuf As String Dim lDataBufSize As Long, lValueType As Long, r As Long r = RegCreateKey(&H80000001, strPath, keyhand) lResult = RegQueryValueEx(keyhand, strValue, 0&, lValueType, ByVal 0, lDataBufSize) strBuf = String(lDataBufSize, " ") lResult = RegQueryValueEx(keyhand, strValue, 0&, 0&, ByVal strBuf, lDataBufSize) GetString = strBuf End Function
May MaungPosted Apr 27, 2009, 2:00 AM EDT
hi, I'm a novice in programming. I tried to use your Files in converting vb6 to vb.net. However, as I use VS2005, the versions are not compatible. What setting do I need to do in order to convert the vb6 code to vb.net windows application in VS2005? What functions should I use in order to convert MSComm from vb6 to vb.net? I know that variant is no longer available in vb.net. If so, when converting from vb6 to vb.net, which is the nearest type to 'variant'? Thank you.
xzena lostPosted Apr 9, 2009, 6:23 AM EDT
i don't understand anything of this application,plz help me. i have a project : convert vb6 to vb,net2005,i have lot of problems in vb6,because never try it,but i'm so well in vb.net2005 So,if anybody can help me,plz contact me and thanks
haider aliPosted Feb 21, 2009, 12:04 AM EST
bundle of thanks for your help
Sangeeetha kasiPosted Jan 27, 2009, 8:31 PM EST
Hello, I have tried to use the conversion tool but it doesn't even compile on Visual Studio 2003.
shahul hameedPosted Jul 31, 2007, 10:56 PM EDT
Hello, I have tried to use the conversion tool but it doesn't even compile on Visual Studio 2003. Also, there are dependencies that I can't find. Where does XmlNavigator class come from?
Jean Michel BezeauPosted Aug 25, 2006, 11:50 AM EDT
Hello, I have tried to use the conversion tool but it doesn't even compile on Visual Studio 2003. Also, there are dependencies that I can't find. Where does XmlNavigator class come from? Thanks Jean-Michel