How can i grab information about the server pack

I have client/server app and i send query to the server about giving me information , what release is servicepack on the machine "NT"

i will be able to get this in listbox
karen021897Asked:
Who is Participating?
 
MadshiConnect With a Mentor Commented:
Why reading in the registry? You can use the SysUtils variable Win32CSDVersion (which BTW isn't read from the registry, it is filled from a call to the win32 API GetVersionEx).

Regards, Madshi.
0
 
JaymolCommented:
Karen,

Assuming that you know how to read registry entries, read the value of the following key...

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CSDVersion

That should hold a value of "Service Pack x" (x being the release number.)

Hope this helps,

John.
0
 
JaymolCommented:
By the way, there should be a space between the Windows and NT in the key name.

John.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
karen021897Author Commented:
Great Madshi, how about Internet Explorer and Netscape
0
 
karen021897Author Commented:
Great Madshi, how about Internet Explorer and Netscape
0
 
JaymolCommented:
Good luck Madshi...
0
 
MadshiCommented:
AFAIK, there's no API for that. Both IE and NetScape are simple applications (though IE is quite integrated to the system). You can even have IE3, IE4, IE5, NS2, NS3, NS4 installed at the same time!
0
 
karen021897Author Commented:
Thanks
0
All Courses

From novice to tech pro — start learning today.