CDaoDatabase Class // Get Ref

  • Thread starter Thread starter Julien
  • Start date Start date
J

Julien

How do I set reference to a Foundation Class Library from
VB.net?

I'd like to get access to the CDaoDatabase Class...
Dose anyone know if I can even do it with VB.net

Small code snip would be cool... Remember VB code not C

Thanks
 
Hi Julien,

Why you want to do that, I only had problems trying to use DAO in VB.net,
maybe there is an alternative?

Cor
 
DAO drivers are the fastest drivers I’ve seen... They kick ass to old
ADO and are still faster then new drivers...

I could load a 2G table with 2,000,000 records in seconds with DAO...The
old ADO could only load 100,000...And would take a very long time or
crash the computer...

The new .net DataSet can load more but they are sluggish...

I know I can add COM ref to DAO but what about CDaoDatabase is it not
the same?

It’s really has to do with building an installation program...If the
CDaoDatabase class is part of .Net then I would not need to add COM ref
to DAO...

Why would Microsoft give me Chart of CObject when I cant access them?

I just find DAO to be faster and simpler to use then having to change
data drivers every 3 years...
 
Hi Julien,

But do not complain when Microsoft delete DAO compatibility in future from a
new OS.

Some things that were needed could probably not done with DAO,

The fastest to retrieve data is streamreading a textfile with lines from 1
charachters from a disk I think.

Just a thought

Cor
 
Back
Top