判断是否安装,只需要去查是否有对应的注册表值即可
Dim path As Stringpath = Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Setup","SQLPath",Nothing)msgbox(path)
http://www.foxtable.com/help/topics/2051.htm