I am working on 2 virtual machines to test legacy application functionality on new platforms, with an OS & DB upgrade. The application that is being tested on the new client (Win7Prox64) was written in VB6. (It's pretty old!) When the application launches, it opens a form that allows users to login. The old DB it connected to was 11G on Server2003SP2 32bit box and the app ran on a 32bit XP client. (The new VM for the new server for test is 2008R2x64).
The legacy app has the the following declared: ("frmLogin.frm") (The app checks the registry for the location of tnsnames by assigning the correct directory paths to these Const's)
Private Const MODULE_NAME = "frmLogin"
Private Const REG_APP_KEY = "Software\ORACLE\HOME"
Private Const REG_APP_PATH = "Oracle_Home"
Private Const REG_ALL_HOMES = "Software\Oracle\ALL_HOMES"
Private Const REG_LAST_HOME = "LAST_HOME"
Private Const REG_MYAPP_KEY = "Software\company\myapp"
Private Const MYAPP_APP_KEY = "Database Host Name"
I assume I have to change these constants to the new hierarchy found with 11GR2 to make it work correctly, how do I check and update these? I'm not sure it's as easy as just changing the directories above, but I could be wrong.
Any tips welcome.
EDIT: I notice 11GR2 on Win7 64 registry entries are alot different to XP 32bit with 11G. Both in layout and content. LAST_HOME for example doesn't seem to exist on Win7, any advice?
I hard coded a reference to the location of tnsnames.ora into the app, and I know that it runs (and seems to run well) on the new 64bit client, but I cannot hardcode it for each and every client machine it will reside on, so need to re-point the directories correctly.