"ALESSANDRO Baraldi" <(E-Mail Removed)> wrote in message
news:c5bur3$s64$(E-Mail Removed)...
>
> "Alex Dybenko" <(E-Mail Removed)> ha scritto nel messaggio
> news:%(E-Mail Removed)...
> > Cao Alessandro,
> > to get SystemPath you can use this API function:
> > http://www.mvps.org/access/api/api0010.htm
> >
> > --
> > Alex Dybenko (MVP)
> > http://Alex.Dybenko.com
> > http://www.PointLtd.com
>
>
> Ciao Alex Grazie.
>
> Work perfect the DAO setting, but to Remove
> ADO i have some problem.
> I need to check if DAO are just set, but until i
> don't remove ADO i have some difficulties because
> the CODE don't have EXPLICIT DAO.OBJECT
> declaretion......!!!
To remove the ADO reference, try:
Dim refCurr As Reference
For Each refCurr In Application.References
If refCurr.Name = "ADODB" Then
Application.References.Remove refCurr
Exit For
End If
Next refCurr
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(No private e-mails, please)