[Migrated content. Thread originally posted on 25 October 2007]
Below is code that we are trying to use to see the location of Internet Explorer on a PC. Can someone please help me in figuring out what is wrong with it? When it runs we get a WS-STATUS-CODE of "0", we get a WS-RETURN-SIZE of "57" but we get no value in the WS-RETURN-VALUE variable. One other change we have tried is removing the "DISPLAY" from the Call but that had no effect on the outcome.MOVE SPACES TO WS-RETURN-VALUE.
MOVE ZEROS TO WS-STATUS-CODE
PTR.
CALL "DISPLAY_REG_QUERY_VALUE"
USING HKEY_CLASSES_ROOT,
WS-RETURN-VALUE,
WS-RETURN-SIZE,
"\\HTTP\\shell\\open\\command",
GIVING WS-STATUS-CODE.
Thanks for any help.



