Prev Previous Post   Next Post Next

DSN installed

Posted: 10-13-2003, 02:14 PM
I wrote some templates for Word97 under WinNT/2K which were connection to a
remote database using ADO through a system DSN installed on the machine. The
setup package I created was supposed to install also the DSN, so the easiest
way I could find was to go into the registry and export into a .reg file the
key containing the information about my DSN
(HKEY_LOCAL_MACHINE\Software\ODBC\ODBC.INI\MY_DSN) . Running this .reg file
during set up, would insert all the necassary information in the registry,
and the code would work as well (even if the DSN cannot be found in Control
Panel>ODBC>DSN)

Now we moved to WinXP and the code is not working anymore: it failing in the
connection cos it cannot find the DSN!!!!

Any reason why? Any other solution? Any hint?

Thanks,
Gandalf


Reply With Quote

Responses to "DSN installed"

 
LinkBack Thread Tools Display Modes
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scanner is installed but Scanner Center says no scanner installed SheridanChico Windows Vista Printers & Scanners 0 11-22-2006 08:34 PM
Pre-Installed OS LJK Windows XP Configuration & Management 1 08-29-2004 09:41 PM
Pre-installed John River Windows XP Basics 6 07-08-2003 03:34 AM
Pre-installed John River Windows XP 5 07-07-2003 02:57 PM
Pre-installed John River Windows XP Security & Administration 4 07-07-2003 02:57 PM