473,789 Members | 3,096 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQL Server Client in Workstation

Hi All,

How can we fine if the SQL Server Client is Installed in the System or Not.
(Using VB and/or Delphi)

As My EXE Require SQL Server Client to Work so I have to Check that If the
Client is Installed or not?

Please Suggest How Can I find If SQL Server 2000 Client IS Installed or NOT
Using VB / VB.NET / Delphi. Please Help.

Thanks for any HELP or Suggestions.
Prabhat
Nov 20 '05 #1
2 1722
Tom
As I understand it, it's a question of whether the client has MDAC
installed and perhaps what version. There are three ways that I have
used to determine the version of MDAC.

1) Look in HKEY__LOCAL_MAC HINE\SOFTWARE\M icrosoft\DataAc cess\Version"

2) Look for the proper registration of a critical component of MDAC

MDAC 2#
HKEY_CLASSES_RO OT\TypeLib\{000 00200-0000-0010-8000-00AA006D2EA4}
MDAC 2.1
HKEY_CLASSES_RO OT\TypeLib\{000 00201-0000-0010-8000-00AA006D2EA4}
MDAC 2.5
HKEY_CLASSES_RO OT\TypeLib\{000 00205-0000-0010-8000-00AA006D2EA4}
MDAC 2.6
HKEY_CLASSES_RO OT\TypeLib\{000 00206-0000-0010-8000-00AA006D2EA4}
MDAC 2.7
HKEY_CLASSES_RO OT\TypeLib\{EF5 3050B-882E-4776-B643-EDA472E8E3F2}
MDAC 2.8
HKEY_CLASSES_RO OT\TypeLib\{2A7 5196C-D9EB-4129-B803-931327F72D5C}

3) In VB6 create an ADO connection object and ask it

Dim objConn As Object
Set objConn = CreateObject("A DODB.Connection ")
Debug.Print objConn.Version

HTH
Tom
Prabhat wrote:
Hi All,

How can we fine if the SQL Server Client is Installed in the System or Not.
(Using VB and/or Delphi)

As My EXE Require SQL Server Client to Work so I have to Check that If the
Client is Installed or not?

Please Suggest How Can I find If SQL Server 2000 Client IS Installed or NOT
Using VB / VB.NET / Delphi. Please Help.

Thanks for any HELP or Suggestions.
Prabhat

Nov 20 '05 #2
I am guessing that your app depends on DMO (or something like that) to be
installed by the SQL Server client tools.... The obvious answer would be to
search for isqlw.exe, osql.exe.
This will change when SQL Server 2005 ships, so it might be better to look
for the specific resource file(s) that you need. Or simply show a form
telling (reminding) the user that the SQL Server client tools need to be
installed.

--
Keith
"Prabhat" <no********@hot mail.com> wrote in message
news:uG******** ******@TK2MSFTN GP11.phx.gbl...
Hi All,

How can we fine if the SQL Server Client is Installed in the System or Not. (Using VB and/or Delphi)

As My EXE Require SQL Server Client to Work so I have to Check that If the
Client is Installed or not?

Please Suggest How Can I find If SQL Server 2000 Client IS Installed or NOT Using VB / VB.NET / Delphi. Please Help.

Thanks for any HELP or Suggestions.
Prabhat


Nov 20 '05 #3

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

Similar topics

3
2578
by: Bob Harrison | last post by:
I will be distributing an application that works with our security panel. The application can be loaded on several workstations in a network but only one workstation actually communicates via serial port or tcpip with the security panel. I modified the client chat sample that you have in your .net tcpip samples so that I can send info back and forth between the main (polling) workstation and any other workstations. The info is not keyed...
2
1250
by: emily | last post by:
This might not be a SQL Server question, might be something else. I have a workstation on a LAN that can't connect to the SQL Server. When I try to configure a User DSN to connect to it, the server name I want appears TWICE in the list of possible servers. No matter which one I select, it can't get the connection. The workstation also can't connect through EM or QA. We've checked the user's permissions, we've re-installed some...
14
3401
by: John J. Hughes II | last post by:
I have "Computer A" which is running Win2K3 and MS SQL server. And "Computer B" which is running a service that I have created. If I change the service on "Computer B" to run as a user my program is able to connect to the SQL server on "Computer A" correctly. But if I set the service on "Computer B" to run as a local system then I get an error connecting to the SQL on "Computer A" --- "NT AUTHORITY\ANONYMOUS LOGON". I understand why I...
0
1016
by: Matt C. | last post by:
Just this week I have discovered that my ASP.NET apps do not connect properly to SQL server anymore. If I try to connect to the server by name, I get the error "SQL Server does not exist or access denied." However, if I change the SQL server connection string to use IP address, I can connect successfully. I am using SQL Server Security (not integrated) to connect to the SQL server. I have tried adding "Net=dbmssocn" to the connection...
5
1376
by: wheel | last post by:
I've never tried this but, what if Access (2003) is not installed on the server, in the classic front end back end setup? I know sometimes Jet can process requests on the server, returning less rows. And I know Jet is often or maybe even always already installed on server OS'. But, anyone have formal experience with this? Can the install of Access on the server be skipped?
1
1175
by: PK | last post by:
Hi All, I have developed one application software, and done the deployment as well... by clicking Setup.exe, my application software is able to install. after installation is done, then click the XXX.exe, then able to run the application. my problem is that...... if i got 10 users want to run this application, i got to do the same
5
2917
by: B1ackwater | last post by:
We've fooled around with Access a bit, but only using the single-user store-bought version. It seems to be a good database - versatile and infinitely programmable - and can apparently be used as a front end to SQL server if we ever needed to go that route. But - is there a client/server version of Access ? Looking on the CDW site there is a bewildering variety of packages and licences and such, but we can't figure out just which do...
7
6511
by: Olegus | last post by:
Hello, in order to perform backup/restore MSSQL database using SMO, one needs to reference several namespaces in a backup class : using Microsoft.SqlServer.Management.Common; using Microsoft.SqlServer.Management.Smo; Unfortunately, MSSQL 2005 and MSSQL Express keep them in different place. For MSSQL2005 they are located in C:\Program Files\Microsoft SQL Server \90\SDK\Assemblies and for MSSQL Express you can find them in C:
11
4705
by: Max Vit | last post by:
I have deployed few Access apps splitting it in Front End and Back End. Our environment uses Win XP SP2 for clients, Win 2k3 for servers and Access 2003. The max. number of clients is about 50 (concurrent users is estimated around 10). Whilst the Back End always lives on a server, I am not quite clear where the Front End should live. I have searched the web and find contradicting views.
0
1515
by: 85ssp | last post by:
I am creating a small server client program that is meant for up to 70 connections from 70 different computers on a network. Everything in the program functions correctly except when testing operations with a server crash, the clients go into a disconnected state and wait for the server to come back up. Once the server is up the clients attept to connect. 75% of the time all clients connect and there connect message is accepted and...
0
10408
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10199
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4092
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.