Having to run setnet32 for each user logging onto a pc who runs and VB6 application using ODBC.
Posted in 1999
Topics: Connectivity: ODBC / JDBC / .NET
Hi, I have a VB6 application which make a connection to an Informix 7 backend using ODBC. The application runs on NT4 Workstation and many people may use the PC. My problem:- Setnet has to be run for each user who logs on to the PC other wise HKEY_CURRENT_USERS/Software/Informix/Enviroment/INFORMIXSERVER= does not get set and my application cannot connect. Is there a workaround for this that I can use without having to run setnet for every possible user of the application (all user must logon using there own NT logon). Thanks
>Setnet has to be run for each user who logs on to the PC other wise >HKEY_CURRENT_USERS/Software/Informix/Enviroment/INFORMIXSERVER= >does not get set and my application cannot connect. Is there a workaround >for this that I can use without >having to run setnet for every possible user of the application (all user >must logon using there own NT logon). Informix includes a utility called RegCopy.exe to do just that. Bashar Chalabi CTL, London