The text of this article is not in this database — only its details are. Read it on the old site: Convert VB6 Form to VB.NET Win Form
20 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Convert VB6 Form to VB.NET Win Form
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Andres ZambranoPosted Sep 25, 2012, 10:53 AM
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, 5:41 PM
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, 1:37 PM
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, 4:02 PM
vai toma no ....
RAZAK ENADPosted Mar 30, 2010, 4:05 PM
thanks
RACHAN ANCHAISREEPosted Feb 15, 2010, 8:29 PM
THANK !
RACHAN ANCHAISREEPosted Feb 15, 2010, 8:28 PM
THANK !
Fernan CabarrubiasPosted Feb 11, 2010, 2:44 AM
Greetings Sir, I tried to run the application but there is an error. Regards, nan
Charles BanksPosted Oct 31, 2009, 1:49 PM
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, 1:39 PM
how to convert vb to .net
nilesh jogdandPosted Sep 23, 2009, 11:52 AM
thank u for the registratin
Satyendra RaiPosted Aug 8, 2009, 12:45 AM
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, 9:15 AM
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, 6:00 AM
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, 10:23 AM
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, 5:04 AM
bundle of thanks for your help
Sangeeetha kasiPosted Jan 28, 2009, 1:31 AM
Hello, I have tried to use the conversion tool but it doesn't even compile on Visual Studio 2003.
shahul hameedPosted Aug 1, 2007, 2:56 AM
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, 3:50 PM
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