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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
MadshiCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.