Builing a Database conection dialog... the continuing saga.

From: Henry (hstock_at_onproject.com)
Date: 03/18/05


Date: Fri, 18 Mar 2005 00:20:47 -0500

I have been trying to figure out how to build a database connection dialog
that I can then add to a couple of applications.

In an earlier message I asked if anyone could point to a way to build a list
of servers on the network as a drop-down box similar to what the ODBC
Datasources manager does. Someone pointed me to an article on Code Project
written by Phil Bolduc. The problem is that absent some more info, it does
not work.

His sample code has the following statement:
using NetworkManagement;

My system has no idea about what he is talking about...

I may have to add some external reference to make that work, but whatever it
is, the information was not mentioned in the article.

I want to do two things in my dialog that are difficult:
I want to build a drop-down list of available SQL Servers on a network, and
I want to build a list of database on a specified server when it is selected
from the first control. From that I think I should be able to build a
connection string for my applications, but I getting the information is the
first step...



Relevant Pages

  • Re: What is your network infratructure security ?
    ... But for your users you also have the need to access all applications like SQL, IIS etc. i assume, so with all subnets you have to make sure they can work. ... Network mask: 255.255.0.0 ... Use access control to servers and configure the user workstations to allow or disallow applications and tasks they are able to do. ... Segment the network by zone. ...
    (microsoft.public.windows.server.security)
  • Re: applications not responding when saving
    ... This type of issue is one of those is it desktop / network or backend server ... I would also start using some perfermonce monitor counters on all servers to ... not able to handle the applications running on them. ... still having issues that you think are Sharepoint related. ...
    (microsoft.public.sharepoint.portalserver)
  • SolarWinds Free ipMonitor 9.0
    ... Do you know what's up with your network? ... with all those network devices, servers, and applications that are the ...
    (comp.software.shareware.announce)
  • Re: Help required Urgently: Intermittent connection failures
    ... Are these servers in the same subnet? ... Perhaps the serving box is too busy? ... Are any other applications on this ... we already tested it and the network is stable. ...
    (microsoft.public.sqlserver.connect)
  • Re: Larrabee details: Yes, it is based on the Pentium. :-)
    ... uplinks and mobile applications. ... codecs ... dejittering etc etc can also be pushed to the network edge. ... All the CPE chipsets handle wide frequency response now. ...
    (comp.arch)

Quantcast