Ok it seems having MDAC on WIN95 doesnt nessessary mean the DataLinkDir will
exist so it pays
to use foredirectories first e.g

Forcedirectories(DataLinkDIR());
CreateUDLFile(DataLinkDIR()
+'\mydb.udl','Microsoft.jet.OLEDB.4.0','Data\mydb.mdb');

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to