Re: Using Excel data in a VB6 database
- From: "Henk van Winkoop" <h.van.winkoop@xxxxxx>
- Date: Sun, 3 Sep 2006 17:34:35 +0200
"Duane Arnold" <"Do forget about it"@PleaeDo.BET> schreef in bericht
news:AvAKg.5485$xQ1.2752@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
...............
ok thanks for your comments, I think I understand.
I did use importing comma-delimited files in Access. So I'm familiar with
that.
Now I'm trying to connect my VB6 to an Excel file to use this excel file as
a database.
These are the database-engines listed with VB6:
1 - Microsoft ISAM 1.1 OLE DB Provider
2 - Microsoft Jet 3.51 OLE DB Provider
3 - Microsoft Jet 4.0 OLE DB Provider
4 - Microsoft OLE DB Provider for Indexing Service
5 - Microsoft OLE DB Provider for Internet Publishing
6 - Microsoft OLE DB Provider for ODBC Drivers
7 - Microsoft OLE DB Provider for Oracle
8 - Microsoft OLE DB Provider for SQL Server
9 - Microsoft OLE DB Simple Provider
10 - MSDataShap
11 - OLE DB-provider voor Microsoft Directory Services
Only database engines 4 and 11 accept Excelfiles.
Using a 'Data' object or using 'DataEnvironment' connecting works but ONLY
at DESIGNTIME!. So it seems to be impossible to connect another Excel file
as a database to the VB6-application during runtime.
As in Borland Builder C++ one could easily redirect the 'DataSource' ('Data'
inVB6) property to another file to be used as database.
But maybe there's still some trick to manage this.
Keeping searching....
regards,
Henk
.
- References:
- Using Excel data in a VB6 database
- From: Henk van Winkoop
- Re: Using Excel data in a VB6 database
- From: Duane Arnold
- Re: Using Excel data in a VB6 database
- From: Henk van Winkoop
- Re: Using Excel data in a VB6 database
- From: Henk van Winkoop
- Re: Using Excel data in a VB6 database
- From: Duane Arnold
- Using Excel data in a VB6 database
- Prev by Date: Re: Dijkstra's algorithm for shortest paths
- Next by Date: Re: modulo
- Previous by thread: Re: Using Excel data in a VB6 database
- Next by thread: Re: Using Excel data in a VB6 database
- Index(es):
Relevant Pages
|