473,387 Members | 3,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

LIST all available db2 server in my farm lan

I know the way to list all SQL server in my lan using dmo based the
cdoe above... but is possible to have the same result with DB2
server.?

Option Explicit
Sub LIST_SQL()
Dim sqlApp As New SQLDMO.Application
Dim NameList As SQLDMO.NameList
Dim index As Long

Set NameList = sqlApp.ListAvailableSQLServers
Me.ComboBox1.Clear
' local SQL Server must be added manually
Me.ComboBox1.AddItem "."
For index = 1 To NameList.Count
Me.ComboBox1.AddItem NameList.Item(index)
Next
End Sub
Private Sub UserForm_Initialize()
Call LIST_SQL
End Sub
Jun 27 '08 #1
0 1303

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Piotrek Stachowicz | last post by:
Hi, I'd like to display list of all MS SQL servers which are available on the network (I write application which uses database located on one of the machines in my LAN). Has anyone got any idea...
4
by: Peter Gloor | last post by:
I'm writing an application that requires some dns queries (MX etc) not provided by System.Net.Dns. So far I managed to write my own dns class with methods to query a given dns server. There is...
1
by: Paul Emory Sullivan | last post by:
I anticipate a problem that may occur when we deploy our reports on web farms. We have reports that generate both tabular and graphic output in a single Recordset pass. Each report page request...
2
by: Christopher D. Wiederspan | last post by:
I've got an ASP.NET web application that runs on a server farm (it should end up being about 10 servers). I'm trying to find a simple, easy way to keep the ASP.NET content replicated across the 10...
2
by: senfo | last post by:
I'm just curious, what happens to the current Context if you're running your ASP.NET application in a web farm and transfer values from one page to the next with the Server.Transfer() method? It...
1
by: =?Utf-8?B?Skw=?= | last post by:
I am doingn dual-server installation. The reporting services is installed on the Application-Tier. Since we already have a report server farm, we would like to utilize that farm to house all the...
1
by: =?Utf-8?B?VmlqYXkgQ2hpa3Rl?= | last post by:
Hi Experts, With Session Affinity and Web Server Farm on ISA Server 2006 accessing 2 backend IIS servers, I’m getting error “Validation of ViewState MAC failed. If this application is hosted...
6
by: BA | last post by:
Hi Everyone, I have an application that sits behind a server farm, the application needs to pass its NLB IP address in the message that it sends to another service. From C# code, how can I...
0
by: satish | last post by:
Jagadeesh satish@globalinfotechinc.com 217-241-2015 SUMMARY * Over Six years of experience in analysis, design, development, testing and maintenance of object-oriented programming and software...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.