Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. i need to find user dsn in asp.net . detailed discussion with code in text

i need to find user dsn in asp.net . detailed discussion with code in text

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netwindows-admin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SharmaAshutosh
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups