BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How cound I use Microsoft Data Link API?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
blueeye
Guest





PostPosted: Thu Feb 26, 2004 9:17 am    Post subject: How cound I use Microsoft Data Link API? Reply with quote



dear,

Sorry for I post here.
I've searched the web and all articles in borand.public.delphi.database.*


When I put a ADOConnection component on a form.
I double-click it, a dialog appears to let me specify "ConnectionString",
Then I press the "Build.." button, a system DataLink dialog apears.

If I want my program to call this dialog.
for example, click a button on a form to show this DataLink dialog.
How should I do in Delphi? Actually I use BCB.

I searched the web for some hints.
I used keyword "Microsoft Data Link API", "MSDASC.DataLinks",
but just found some example for VB, C#, .Net.

My program really needs the dialog to let user defined their own data
source.
So I post here.
Please forgive me for any bothering.
And any suggestion will be very appreciated.

Jerry, from Taiwan




Back to top
Mike Shkolnik
Guest





PostPosted: Thu Feb 26, 2004 9:15 pm    Post subject: Re: How cound I use Microsoft Data Link API? Reply with quote



Call the PromptDataSource function from ADODB.pas

--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com

"blueeye" <blueeye (AT) blueeye (DOT) org> wrote

Quote:
dear,

Sorry for I post here.
I've searched the web and all articles in borand.public.delphi.database.*


When I put a ADOConnection component on a form.
I double-click it, a dialog appears to let me specify "ConnectionString",
Then I press the "Build.." button, a system DataLink dialog apears.

If I want my program to call this dialog.
for example, click a button on a form to show this DataLink dialog.
How should I do in Delphi? Actually I use BCB.

I searched the web for some hints.
I used keyword "Microsoft Data Link API", "MSDASC.DataLinks",
but just found some example for VB, C#, .Net.

My program really needs the dialog to let user defined their own data
source.
So I post here.
Please forgive me for any bothering.
And any suggestion will be very appreciated.

Jerry, from Taiwan







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.