Forms Delphi

Title: Data link Dialog
Question: How to run the Microsoft Data link Dialog (such udl files)
Answer:
with this code u can run the dialog & create connection string :
var
connstring: Widestring ;
begin
connstring:=PromptDataSource(Form1.Handle,connstring) ;
end ;
result of this function is connection string & can use with ADO & the second parameter in function is default connection string