Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

define a connection in a dll/ocx?

Status
Not open for further replies.

shqiptar

Programmer
Apr 8, 2003
9
BE
Hi,

I am using Business Objects (5.1) for reporting on a SQLServer db. Within BO I am using some VBA macroes, which connect to the db using ADO 2.8 . The VB macroes perform a few requests and fill the BO prompts with values.

My question is: How can I connect to the db without hardcoding the user/password in the macro ? (this solution is not accepted for security reasons).

The direction I'm looking at for the moment is this one: Is it possible to have the definition of the connection compiled in a dll or ocx and get the results through this connection, without letting anyone find out what the connection user/password is?

(If you see other ways of doing let me know as well)

Thank you,

Toni
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top