Hi VB Gurus,
I have few applications that where developed in VB 6. its pretty old code which i have developed long back.
We have a public module where we have code like this.
Cn as rdoConnection
Public Sub Main()
Set Cn=en.openconnection(...)
cn.open()
End Sub
We used the RDO library for connections. I guess i need to move on to ADO library for .net. but dont know how i can create a global connection at the begining and use the same connection for all datasets that are used in multiple forms in the whole project.
Now I am trying to migrate this code into .net.
and when i upgraded the project using VS2003 it generated lots of errors and Connection is one of it.
Please help me sort out this problem as this is heart of the project.
Its been long since i used VS.net, honestly saying i dont know anything about it.
Regards
G
I have few applications that where developed in VB 6. its pretty old code which i have developed long back.
We have a public module where we have code like this.
Cn as rdoConnection
Public Sub Main()
Set Cn=en.openconnection(...)
cn.open()
End Sub
We used the RDO library for connections. I guess i need to move on to ADO library for .net. but dont know how i can create a global connection at the begining and use the same connection for all datasets that are used in multiple forms in the whole project.
Now I am trying to migrate this code into .net.
and when i upgraded the project using VS2003 it generated lots of errors and Connection is one of it.
Please help me sort out this problem as this is heart of the project.
Its been long since i used VS.net, honestly saying i dont know anything about it.
Regards
G