I would like a C# sharp code to check if Microsoft SQL Server 05 or 08 is installed and then show as a result yes or no. I have seen that i can go through the registry but i am not certain as to the code...if there are other options i wouldnt mind either. thanks in advance for any help