DECLARE INTEGER GetSystemDirectory IN Win32API ; STRING @cLocation, ; INTEGER nSize LOCAL cLocation, nSize cLocation = SPACE(256) nSize = GetSystemDirectory(@cLocation, 256) IF nSize > 0 * * Got it - it's the size of the return * cLocation = LEFT(cLocation,nSize) ELSE * * An error occurred when retrieving the value - return the null string * cLocation = '' ENDIF> I'm interested to know about the System vs. System32 subdirectory because if an OCX is missing, I will need to register it via program code. I believe that in order to do that, I have to place the ocx file into the appropriate subdirectory. So I need to know which is the appropriate subdirectory--System or System32. It's confusing because there are ocx's in both.