|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
why doesn't this code work in vb project in visual studio 2005
i tried this code in vb6 and it worked just fine,what do i need to change? it gives an error in the (rs.source) line Code:
CN.Open(" Provider=Microsoft.Jet.OLEDB.4.0 ; Data Source=sour.MDB;")
RS.ActiveConnection = CN
RS.Source = "so"
RS.CursorType = ADODB.CursorTypeEnum.adOpenDynamic
RS.LockType = ADODB.LockTypeEnum.adLockOptimistic
RS.CursorLocation = ADODB.CursorLocationEnum.adUseClient
RS.Open()
does any one know a site that shows the difference between vb6 and vb.net |
|
#2
|
||||
|
||||
|
About the only thing the same between VB6 and VB.NET is the name. I'd start by going to http://www.asp101.com/lessons/
__________________
Wolffy ------------------------ Teaching people to fish. |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Why doesn't this code work |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|