Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

Oracle via ODBC

Question:
I am using Visual Basic as my front-end tool to read an oracle 7 database residing on an oracle network. I have completed the connection stage. I am using ODBC connection with Data Control to access the database. Whenever I Load a new screen which reads a new table, the ODBC dialog box appears asking the user to login. Is there a way to save the connect string in order to allow the user to only login 1 time ?

Answer:
What you may want to do is to create your own logon box. Then, whenever you know Oracle is going to ask for a password or as you are setting up your data controls, supply the password/user ID to the control in the Connect string. That will, except in cases where the user types the wrong passwd, prevent the Oracle logon box from coming up.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date