Avatar billede peer Nybegynder
11. december 2002 - 10:49 Der er 5 kommentarer og
1 løsning

Odbc datakilder

Et kort og kontant spørgsmål er access-driveren (i ODBC datakilder) med ved en ren installation af windows 98/ME/2000 og xp uden at access er installeret.

Dvs. kan jeg tilgå en access database fra VB uden at have installeret access?
Avatar billede terry Ekspert
11. december 2002 - 10:55 #1
You should be able to , if not you can download MDAC from Microsoft.
Avatar billede terry Ekspert
11. december 2002 - 10:56 #2
You do NOT need access to open an Access database.
Avatar billede terry Ekspert
11. december 2002 - 10:58 #3
In VB you can (should be able to) choose DAO or ADO in the Project References.
Avatar billede peer Nybegynder
11. december 2002 - 11:04 #4
Hi terry...

To be more specific... im developing a cd-rom with a website. The site is programmed in VB-script. I open the database as followed:

set MyDB = CreateObject("ADODB.Connection")
MyDB.Open "knudedan"

Now i want to write an installation-application that makes a new ODBC datasource named knudedan. I don't think this could be a problem. Now i wonder. What if the pc im running the application on is a win98 without access-installed. Does windows 98 then have the ODBC datasource "application-thing"
Avatar billede terry Ekspert
11. december 2002 - 11:57 #5
First, I must say that I dont know much at all about ASP, as I think this is what we are talking about isnt it?
Next, your application you are making. If this IS a web based application then your database will be located on a server which MUST support access (ASP). Because the database is on a server then it must b ethe server which has the ODBC source set up and NOT the client. I hope you are aware of this?
You can also make a DSN-less connection so you don NOT need to set up the data source.
Avatar billede peer Nybegynder
15. januar 2003 - 08:58 #6
Thank.. and sorry about the late answer.
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Computerworld tilbyder specialiserede kurser i database-management

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester



Seneste spørgsmål Seneste aktivitet
I dag 14:04 Pixeline cd’er til PC Af Mathilde i Windows
I dag 01:14 Windows 10 - IIS 10 Af bsn i Windows
I går 20:39 Boot fra USB Af poulmadsen i Windows
I går 11:43 Gmail-ikon på skrivebordet Win 10 Af ErikHg i Fri debat
I går 09:22 Lopslag Af Luffe i Excel