Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 23rd, 2006, 09:49 AM
Registered User
 
Join Date: Feb 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default odbc user dsn in asp.net problem with code

dear sir,
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.IN I\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.IN I\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.IN I\ODBC Data Sources")"






Similar Threads
Thread Thread Starter Forum Replies Last Post
odbc system dsn problem hope you can help jeremy1048 Access 5 May 9th, 2007 01:19 PM
odbc system dsn problem hope you can help jeremy1048 BOOK: Access 2003 VBA Programmer's Reference 0 May 7th, 2007 11:24 PM
ODBC DSN connection atoyot BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 2 December 14th, 2006 06:40 PM
Another ODBC DSN Question reyboy SQL Server 2000 2 June 20th, 2005 07:06 PM
Help Configuring ODBC (DSN) reyboy SQL Language 1 June 10th, 2005 04:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.