Can VB6 only link to access97 but not work with accessXP?
and can i use vb6 in windowsXP?
laoli 0 Light Poster
Recommended Answers
Jump to Post8) I used to have the same problem too!
Before I give you suggestions, what operating system are you running?
Jump to Postlaoli said it already ... WindowsXP
Jump to PostDim CN As New ADODB.Connection Dim RS As New ADODB.Recordset Dim F1 as string CN.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\temp\db1.mdb;Persist Security Info=False" CN.Open RS.Open "select * from Tablename", CN, adOpenKeyset, adLockOptimistic F1 = Rs(0) ' first field value in the first record
Jump to PostYou also may need to download Visual Studio 6 Support Pack 5
Available here: http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/default.aspx
All 13 Replies
Tekmaven 258 Software Architect Team Colleague
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
Tekmaven 258 Software Architect Team Colleague
Tekmaven 258 Software Architect Team Colleague
laoli 0 Light Poster
jireh 3 Posting Whiz
cy_spiker18 0 Newbie Poster
jireh 3 Posting Whiz
debasisdas 580 Posting Genius Featured Poster
jrkryst07 0 Newbie Poster
AV Manoharan 0 Junior Poster
debasisdas 580 Posting Genius Featured Poster
jireh 3 Posting Whiz
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.