Board index » Visual Studio » ODBC Data Source

ODBC Data Source

Visual Studio140
Hello All!

1. I need registry my dll file for adding link to references windows at vb

or other application, how I could do it..

2. I need add my database to System DSN at ODBC Data Source in program.

Where I could read about it or find help example files.

With best regards.

Stas.


-
 

Re:ODBC Data Source

On Wed, 7 Jan 2004 23:17:42 +0300 "Stas" <stsn2000@mail.ru>blurted out:



Quote
Hello All!

1. I need registry my dll file for adding link to references windows at vb

or other application, how I could do it..



You could use the package and deployment wizard to install your app, and it should

handle all of that for you. If you wish to do it manually you can use the program

regsvr32, which should be automatically installed on your system.



You'll need to go to the command prompt, and change to the directory where you're

dll resides. Then type:



regsvr32 <DLLNAME>.dll



to unregister type:



regsvr32 /u <DLLNAME>.dll



Quote
2. I need add my database to System DSN at ODBC Data Source in program.

Where I could read about it or find help example files.



I prefer not to use DSN's but to instead have my applications use a full connection string.

This way I don't have to set up the DSN on target systems. This is just my personal

preference, though.



Andrew Faust



Where are we going and why am I in this handbasket?

-