>Hi Morys,
>To Q1:
>No You don't have to place your ActiveX in Windows/System. Just register where it is: Regsvr32 c:\somedir\myactivex.ocx
>
>To Q2: Use GETE():
>
>win_system = GETE("windir") + "\SYSTEM"
Wrong way to do this; the system directory isn't necessarily there (e.g. NT uses the SYSTEM32 directory.) Best practice is to either use the Win32 API call GetSystemDir() - there's code for this in the FAQ under Win32 and Other APIs. You can also get the information from the Wscipt.Shell's SpecialFolders collection if you've got the Windows Scripting Host available.