CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Is it possible to configure the system DSN via a .reg file?

Print topic Send  topic

Author Message
SteveS

Posts: 41
Posted: 03/16/2004, 10:17 AM

Hi, I'm trying to find a solution that allows me to configure the system DSN to my database via a .reg file (for use in distributing my app), rather than manually entering it when you load the app.

Any ideas?

Many thanks, Steve.
View profile  Send private message
DonB
Posted: 03/16/2004, 3:08 PM

I think you should look into the "file dsn" - where you specify the
connection string via a text file. msdn.microsoft.com is a good reference
for making these and using them. Hacking ODBC connections into the registry
is not a trivial task and it's easy to get it wrong.

I always create the connection string directly within my application, rather
than relying on an external definition - that way there is one less thing to
be misconfigured or deleted accdently by someone who doesn't know what it's
for.

--
DonB

http://www.gotodon.com/ccbth


"SteveS" <SteveS@forum.codecharge> wrote in message
news:6405744b76491f@news.codecharge.com...
> Hi, I'm trying to find a solution that allows me to configure the system
DSN to my database via a .reg file (for use in distributing my app), rather
than manually entering it when you load the app.
>
> Any ideas?
>
> Many thanks, Steve.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.