CLIENT_WIN_API_ENVIRONMENT.Read_Registry
478533Jul 4 2006 — edited Jul 6 2006I have the following program unit that works in forms 6i using the win_api_environment.read_registry program unit.
now i'm trying it in the 10.1.2.02
PROCEDURE FPR_RUN_REPORT IS
L_PARAMLIST_ID PARAMLIST;
L_PATH VARCHAR2(1000);
L_START_DATE DATE;
L_END_DATE DATE;
PATH1 VARCHAR2(200) := 'HKEY_CLASSES_ROOT\applications\EXCEL.EXE\shell\Open\Command';
PATH2 VARCHAR2(200) := 'HKEY_CLASSES_ROOT\Excel.Addin\shell\Open\command';
BEGIN
BEGIN
L_PATH := CLIENT_WIN_API_ENVIRONMENT.Read_Registry(PATH1,null,true);
EXCEPTION
WHEN OTHERS THEN
L_PATH := CLIENT_WIN_API_ENVIRONMENT.Read_Registry(PATH2,null,true);
END;
///////******here i'm calling report****************////////////////////////////
when i checked in the javaconsole, it shows asa follows
Loading http://172.16.20.198:8889/forms/java/frmwebutil.jar from JAR cache
Loading http://172.16.20.198:8889/forms/java/frmall_jinit.jar from JAR cache
RegisterWebUtil - Loading WebUtil Version 10.1.2.0
Loading http://172.16.20.198:8889/forms/java/jacob.jar from JAR cache
Loading http://172.16.20.198:8889/forms/java/mygifs.jar from JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
please tell me, where i am wrong?