|
-
Mar 13th, 2000, 05:27 PM
#1
Thread Starter
New Member
Dear all,
i'm trying to establish a connection to a SQL Server 7. Until that point my application works fine, even the vb errorhandling but as soon as i get an error from the server i've no clue how to handle it. For example a wrong password - then the server pops up with the login dialog and i want to prevent that. P.S. I'm using DAO and VB5
thanks
-
Mar 13th, 2000, 05:58 PM
#2
Hyperactive Member
I don't know much about DAO and VB5 but try using the UID "sa" and leave the password blank. In ADO you could include all this info in a connection string, but as I said I don't know about DAO.
-
Mar 14th, 2000, 04:20 PM
#3
Thread Starter
New Member
Dear Bigley and Clunietp,
thanx alot for your tips but i think they wouldn't fix the problem. My problem cames from the fact that the SQL-Server (not the VB engine) is sending me a login-dialog if i use the wrong password or wrong username. All i want to do is to prevent that and the user don't see that login-dialog.
dbDriverNoPrompt didn't worked because it is only worth if i don't want to see the ODBC-dialog with the diffrent DNS.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|