ODBC and automatic login

TColeman

Member
Using V9.1A on Windows 2000. Using ODBC to connect a C++ application to a Progress Database.

Problem is the first time C++ opens a database table a login screen pops up. Is a big problem since the C++ is running in the background and is to have no user interaction. Does anyone know how to get around this?

Thanks,
 

jamesmc

Member
Hi there,

do you have the source for the c++ program? If it is in GUI (where I have used it before) you can assign the datasource with a default login name ans password and tell it not to show the login dialog box. If you don't have the source then I don't think I can help.

HTH,
James.
 

jamesmc

Member
Although you are writing a background app you must still be including the datasource object if you are accessing an external data source. If you are you should be able to change the properties of this and assign the datasource a username and a password. (this is going back to my Delphi/Pascal/C++ days though).

HTH,

James.
 
Top