954,558 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Something with VB

Can VB6 only link to access97 but not work with accessXP?
and can i use vb6 in windowsXP?

laoli
Light Poster
46 posts since Jun 2003
Reputation Points: 12
Solved Threads: 0
 

8) I used to have the same problem too!

Before I give you suggestions, what operating system are you running?

Tekmaven
Software Architect
Moderator
1,274 posts since Feb 2002
Reputation Points: 322
Solved Threads: 28
 

laoli said it already ... WindowsXP

cscgal
The Queen of DaniWeb
Administrator
19,427 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 230
 
Dim 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
Tekmaven
Software Architect
Moderator
1,274 posts since Feb 2002
Reputation Points: 322
Solved Threads: 28
 

You 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

Tekmaven
Software Architect
Moderator
1,274 posts since Feb 2002
Reputation Points: 322
Solved Threads: 28
 

Thank you,you are of great help

laoli
Light Poster
46 posts since Jun 2003
Reputation Points: 12
Solved Threads: 0
 
Can VB6 only link to access97 but not work with accessXP? and can i use vb6 in windowsXP?


It can be, All of them! Just chhose the higher version reference of your DAO or ADO.

jireh
Posting Whiz
316 posts since Jul 2007
Reputation Points: 11
Solved Threads: 49
 
It can be, All of them! Just chhose the higher version reference of your DAO or ADO.

hi! can you help me about ing programming?

cy_spiker18
Newbie Poster
1 post since Jul 2007
Reputation Points: 10
Solved Threads: 0
 
hi! can you help me about ing programming?


What's the problem? why don't you post it here so the people can help you...hehehe I'm not geek! I'm only a beginner:D

jireh
Posting Whiz
316 posts since Jul 2007
Reputation Points: 11
Solved Threads: 49
 

from vb6.0 u can connect to all versions of ACCESS.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

i think i have a solution, instead of using OLEB.4.0 try changing it to OLEDB.3.51 if it works it only means that ur using a lower version of MS Office.

jrkryst07
Newbie Poster
1 post since Jul 2007
Reputation Points: 10
Solved Threads: 0
 
from vb6.0 u can connect to all versions of ACCESS.



Dear Das,
Please ask Laoli what type of Connection (DAO or ADO)
he/she has used to gain access to Access database.conspicuously
he/she is silent after starting the thread.

regards
AV Manoharan

AV Manoharan
Junior Poster
166 posts since Jun 2007
Reputation Points: 10
Solved Threads: 9
 

If dont think any one is still using DAO.
If one does he /she is simply dumb.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

Why? is there any difference how you connect your database? if it is DAO or ADO?

jireh
Posting Whiz
316 posts since Jul 2007
Reputation Points: 11
Solved Threads: 49
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You