i need to find user dsn in asp.net . detailed discussion with code in text
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
hello frnds, i used this code writen below for the purpose to get user dSN. Dim oReg As Microsoft.Win32.Registry Dim oRegKey As Microsoft.Win32.RegistryKey Dim sValue() As String oRegKey = oReg.CurrentUser.OpenSubKey("SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources") sValue = oRegKey.GetValueNames() ////////////////////////////// same code is working in vb.net but problem is that when i used in asp.net "oRegKey = oReg.CurrentUser.OpenSubKey("SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources")" is geting nothing value it is working till the folder " oRegKey = oReg.CurrentUser.OpenSubKey("SOFTWARE")" plz help me out. i need to read till "oRegKey = oReg.CurrentUser.OpenSubKey("SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources")" thanx in advance ashu