Home All Groups Group Topic Archive Search About

at run time database connection

Author
25 Feb 2006 3:45 PM
elwaly
hi there,
I made an application that needs to connect to a server or databases
located in a computer other than the one the application installed on.
i.e.I want the user to define the databases they want to link to
dynamically at run time.
any one know to do so?
thanks

Author
26 Feb 2006 6:46 AM
Cor Ligthert [MVP]
Elwaly,

Can you explain this something more, this sounds for me as "I want something
that rides".

Cor
Author
26 Feb 2006 1:51 PM
elwaly
thanks cor
assume that i have a databases located in some server
and the application is installed on a client computer connected to that
server via network or somthing.
how to code an interface for the client computer to let the user choose
the databases he want to connect to .
(the user will write no connection strings).
Author
26 Feb 2006 3:38 PM
Cor Ligthert [MVP]
Elwaly

The most normal way I have seen is the combobox.

However you can of course never get all databaseServers which are on a lan
(every type is different).

I know that Ken, has searched a while for that. This works partially for SQL
servers.

http://www.vb-tips.com/default.aspx?ID=02624fd2-5f9f-4c36-8218-089d31e2f8ff

I hope this helps,

Cor


Show quoteHide quote
"elwaly" <elmoizw***@mobifree.net> schreef in bericht
news:1140961870.396275.229870@v46g2000cwv.googlegroups.com...
> thanks cor
> assume that i have a databases located in some server
> and the application is installed on a client computer connected to that
> server via network or somthing.
> how to code an interface for the client computer to let the user choose
> the databases he want to connect to .
> (the user will write no connection strings).
>
Author
26 Feb 2006 7:47 PM
elwaly
thank you very much cor
the code i found at
http://www.vb-tips.com/default.aspx?ID=02624fd2-5f9f-4c36-8218-089d31...
worked it out.
thanks again