Re: Run ADO/OLE DB from a CD-R
From: Hugh Smith (HughSmith_at_discussions.microsoft.com)
Date: 01/19/05
- Next message: Kevin: "Delete Data Row"
- Previous message: NIGL: "Retrieve table names and aliases of a complex select query"
- In reply to: Christoph Basedau: "Re: Run ADO/OLE DB from a CD-R"
- Next in thread: Christoph Basedau: "Re: Run ADO/OLE DB from a CD-R"
- Reply: Christoph Basedau: "Re: Run ADO/OLE DB from a CD-R"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 19 Jan 2005 11:47:03 -0800
Christoph,
Thanks for posting your reply on the Microsoft ADO forum to my cry for help
about running an app. using ADO/OLE Db from a CD. If you have the time I
would like to follow up and ask a few more in-depth questions.
Firstly, let me set the stage:
I need to get my VB6 app. using ADO/OLE DB to run directly from a CD without
installing any files onto the host machine, or making any registry entries of
changes in the host machine. The database file will be at a location that the
user points the app. towards, and will be at a location that is both readable
and writable (since the CD is read only). The database file will be an ACCESS
2000 .MDB file.
Now I can get this to work using DAO inside the app. and as long as I'm
using Jet 4.0, I can get to the ACCESS file.
The newer ADO/OLE DB combination in the app. also works when the CD is on my
development machine (i.e. Visual Studio installed) or on other machines that
also have had Visual Studio installed, however on all other machines, the ADO
control does not even become active on the VB form when it runs.
I've tried to include all possible files on the CD (MDAC, ADO, Jet, etc etc)
I even, in desperation tried including my entire set of DLLs from the
System32 folder...still no joy.
Now, your reply said that I "......need AD0 2.8., Jet Replication-Objects,
MSChart, Common Controls and SSTab. As long as these components are installed
on the target machine and as long there is no need write into the App-Dir, I
can see no problem running an App from CD."
As I understand it the MSChart, Common Controls and SSTab files will be for
some function of a VB form, the data access items being ADO 2.8 and Jet
Replication Objects.
Now I'm using ADO SDK 2.8 and Jet 4.0....are you saying that the JRO is what
I should use instead of Jet 4.0 or........???
Any further ideas would be appreciated.....but I cannot interfere with the
host machine, it must run from the CD with the MBD file elsewhere in a
location that can be read from and written to.
Thanks...I owe you,
Hugh Smith
"Christoph Basedau" wrote:
> 18.01.2005 20:43, Hugh Smith schrieb:
> > Bill,
> > thanks for the response...we're trying to get a VB6/ADO/OLE DB application
> > to run from a CD without installation on the machine. The ACCESS 2000 (Jet
> > 4.0) database is available at a location that the user has read and write
> > privileges. We can get this to work very well using 'older' technology (i.e.
> > DAO) together with Jet 4.0, however we would prefer to use ADO/OLE DB if that
> > is possible.
>
> My VB-6 App works if I start it from CD.
> It needs AD0 2.8., Jet.Replication-Objects, MSChart, Common Controls and SSTab.
> As long as these components are installed on the target machine and as long
> there is no need write into the the App-Dir, I can see no problem running
> an App from CD.
>
> --
> Gruesse, Christoph
>
> Rio Riay Riayo - Gordon Sumner, 1979
>
- Next message: Kevin: "Delete Data Row"
- Previous message: NIGL: "Retrieve table names and aliases of a complex select query"
- In reply to: Christoph Basedau: "Re: Run ADO/OLE DB from a CD-R"
- Next in thread: Christoph Basedau: "Re: Run ADO/OLE DB from a CD-R"
- Reply: Christoph Basedau: "Re: Run ADO/OLE DB from a CD-R"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|