473,388 Members | 1,215 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,388 software developers and data experts.

SQLDMO.DLL on machine without SQL Installed ??

Hi There,

I was wondering what the process is (if there is one) to get a .NET
application that uses the below code and the SQLDMO.DLL reference to
work on a PC without SQL2000 installed on it (to search for an SQL
database installed on another PC on the same network). I've tried a few
things already and the code below works for my PC (has SQL installed),
but not my other PC (without SQL installed). I've also tried to use the
Microsoft Knowledge Base Article - 258157 article, but no success...

Please help.

*************************************
Dim i As Integer
Dim oNames As SQLDMO.NameList
Dim oSQLApp As SQLDMO.Application

Set oSQLApp = New SQLDMO.Application
Set oNames = oSQLApp.ListAvailableSQLServers()

For i = 1 To oNames.Count
' do something with oNames.Item(i)
Next i
***************************************
Soulcode.

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #1
1 1244
Google SQLDMO in these newsgroups. We had this discussion not long ago.

Also check out www.sqldev.net

Essentially YOU have to install DMO on any machine where you make the call.

"soulcode" <ce*****@soulcode.net> wrote in message
news:ed**************@TK2MSFTNGP09.phx.gbl...
Hi There,

I was wondering what the process is (if there is one) to get a .NET
application that uses the below code and the SQLDMO.DLL reference to
work on a PC without SQL2000 installed on it (to search for an SQL
database installed on another PC on the same network). I've tried a few
things already and the code below works for my PC (has SQL installed),
but not my other PC (without SQL installed). I've also tried to use the
Microsoft Knowledge Base Article - 258157 article, but no success...

Please help.

*************************************
Dim i As Integer
Dim oNames As SQLDMO.NameList
Dim oSQLApp As SQLDMO.Application

Set oSQLApp = New SQLDMO.Application
Set oNames = oSQLApp.ListAvailableSQLServers()

For i = 1 To oNames.Count
' do something with oNames.Item(i)
Next i
***************************************
Soulcode.

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 20 '05 #2

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

Similar topics

2
by: ewm | last post by:
Using InstallShield Developer 7.04. Does anyone know of a good way to detect if SQLDMO is installed? TIA mcpoo
2
by: John Dalberg | last post by:
I have an application that's giving an error during installation. "Error 1935. An error occured during the installation of assembly interop.sqldmo, version 8.0.0.0, PublicKeyToken........" I am...
1
by: Brian Henry | last post by:
How do you guys deploy a project with SQLDMO.DLL references? do you just let the dependencey checker handle it or do you have to include anything special? I created an Interop.SQLDMO.Dll file that...
2
by: Neo Chou | last post by:
Greetings! I'm converting a project written in VC6 to VS.NET 2003. When I built the solution that was generated automatically from VC6 workspace (.dsw), some errors occurred. "sqlole.h",...
6
by: Craig G | last post by:
how the hell do i get this to register?!?!? my test pc is running XP & MDAC 2.8 but still it wont register SQLDMO.dll and is therefore preventing my application from running and i dont want...
1
by: Mark Hollander | last post by:
Hi All, We have written a service that will sit on one or more servers and the client software that will interface with this service will be installed on many workstations. What we are trying...
4
by: Juan | last post by:
Helo, I'me developing a proyect wich gets connected to SQL Server. I wished to show a list of SQL Servers on my networks if the configuration file couldn't be found... I can do this using...
2
by: Alex | last post by:
Hi, I am new to the mysteries of SQLDMO. I have written a program whereby the user can select which SQL server to connect to on the Network and this works fine. I am using the...
7
by: warlord | last post by:
I'm playing with the SQLDMO Interop to try to create an SQL database on a server (sql 2000/2005) without as little user interaction as possible. Logon, password and server name is about all I need....
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: 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: 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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.