Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > Which library?


Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2005, 03:03 PM
wicko3's Avatar
wicko3 wicko3 is offline
Junior Contributor
 
Join Date: Dec 2003
Location: England
Posts: 254
Default Which library?


Is there any difference between Microsoft ActiveX Data Objects 2.8 Library and Microsoft ActiveX Data Objects 2.7 Library?

I am only using ADO to execute commands of the following types:

Code:
myCon.ConnectionString = "....." myCon.Open myCon.Execute "SQL Statement here" Set myRec = myCon.Execute("SQL Statement here") myCon.Close

I've been using the 2.8 library at home, but school only has the 2.7 library. I'm just trying to find out in advance whether my program will still work. Will I need to adapt any code, to allow for the different libraries?

John
__________________
Error - keyboard not detected. Press F1 to continue.
Reply With Quote
  #2  
Old 01-21-2005, 03:41 PM
HardCode's Avatar
HardCode HardCode is offline
Ultimate Contributor

Forum Leader
* Expert *
 
Join Date: Feb 2004
Location: New Jersey
Posts: 3,338
Default

You always want to make sure that the PC running the app has the correct ADO version as the program using ADO. If you need to create apps at home and at school, then you can download ADO2.7 from Microsoft and install it on your home PC and reference 2.7. You can have all of the ADO versions installed at the same time on a PC. When searching MS, the file name will decievingly be "MDAC_type.exe" with no version info. Change the .exe name to include the correct version for future reference.
__________________
DON'T CLICK HERE

Useful forum tags: [VB][/VB], [CODE][/CODE], [HTML][/HTML]
Reply With Quote
  #3  
Old 01-21-2005, 05:10 PM
MKoslof's Avatar
MKoslof MKoslof is offline
Cum Grano Salis

Retired Moderator
* Guru *
 
Join Date: Jul 2002
Location: Baltimore, Maryland
Posts: 14,636
Default

To add to what HardCode has said, with every new version of MDAC, typically something is improved or removed . For example, with the release of version 2.8, support for the old MSDASQL drivers has depreciated. These database drivers are no longer supported and it is advised to use native OLEDB providers instead.

Basically, it is always good to have the latest and greatest MDAC.
__________________
"Artificial Intelligence is no match for natural stupidity." ~unknown
Reply With Quote
  #4  
Old 01-22-2005, 01:48 AM
wicko3's Avatar
wicko3 wicko3 is offline
Junior Contributor
 
Join Date: Dec 2003
Location: England
Posts: 254
Default

thank you
__________________
Error - keyboard not detected. Press F1 to continue.
Reply With Quote
  #5  
Old 01-24-2005, 04:38 PM
MKoslof's Avatar
MKoslof MKoslof is offline
Cum Grano Salis

Retired Moderator
* Guru *
 
Join Date: Jul 2002
Location: Baltimore, Maryland
Posts: 14,636
Default

Good luck, let us know if you have any more questions
__________________
"Artificial Intelligence is no match for natural stupidity." ~unknown
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->