Please help. . .VB6 connect to MS Access 2003

Reply

Join Date: Aug 2008
Posts: 77
Reputation: nagatron is an unknown quantity at this point 
Solved Threads: 0
nagatron nagatron is offline Offline
Junior Poster in Training

Please help. . .VB6 connect to MS Access 2003

 
0
  #1
Aug 1st, 2008
Hello to all, I have a problem in connecting VB6 to MS Access 2003. I have tried all the instruction posted here in forum until the message appear every time I run the program "Supplied Provider is different from the one already in use." What does it mean? I am using DAO 3.6 as what is being required in MS 2003. This is the provider code I made:

con.ConnectionString = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\RecordKeeperDatabase.mdb"

can you help me what seems to be the problem in this part. . .pls

email me at: crumple_05@yahoo.com
or post in here so others may also read. . .

neil
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 471
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 24
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

Re: Please help. . .VB6 connect to MS Access 2003

 
0
  #2
Aug 1st, 2008
U need service pack 6 for visual basic. then u can use ms access 2003 in vb6. download it from here
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 77
Reputation: nagatron is an unknown quantity at this point 
Solved Threads: 0
nagatron nagatron is offline Offline
Junior Poster in Training

Re: Please help. . .VB6 connect to MS Access 2003

 
0
  #3
Aug 3rd, 2008
Thank you for the help. . .it works so far, i analyze you post then I come up with a good idea. . . .it is a big help. . .by the way, do you know how to use sort and refresh command in VB? I am using MSFlexGrid and I want to sort my data inside MSFlexGrid according to name from A-Z but i don't have any idea on how to do it. . .can you help me?
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 471
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 24
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

Re: Please help. . .VB6 connect to MS Access 2003

 
0
  #4
Aug 4th, 2008
to sort your data please change sort property. set true.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 1
Reputation: yathish86 is an unknown quantity at this point 
Solved Threads: 0
yathish86 yathish86 is offline Offline
Newbie Poster

Re: Please help. . .VB6 connect to MS Access 2003

 
0
  #5
Oct 22nd, 2008
i m new to VB and i dont how to connect the MSFlexgrid in VB to MSaccess ie when i m clicking the data in VB i need to access the datas from other forms also... giv me a solution to dis....
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 300
Reputation: jireh is an unknown quantity at this point 
Solved Threads: 42
jireh's Avatar
jireh jireh is offline Offline
Posting Whiz

Re: Please help. . .VB6 connect to MS Access 2003

 
0
  #6
Oct 23rd, 2008
nagatron & yathish86 the problem on this thread is about connection and it seems already solved. Please post your other problem as another thread. As what I know about posting a problem here is one post one problem...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC