locked
Microsoft.Windows.ActCtx RRS feed

  • Question

  • These days I'm very much busy on developing an activex/com application. Some of our customers are working under heavily restricted windows environments. So i decided to make my application regfree. I found genman32.exe which can easily create manifests (also mt.exe is useful). Everything went fine but when i tried to execute my application from wsh(vbs or js) -which is obligated for my the situation because the application works on a com server-

    set o = CreateObject("Application.Interface")

    // No object reference

    Because "CreateObject" looks to the registery and there is no registery entry :) then i searched and found the thing that is "actctx". It is very easy to implement in a dot.net environment. But i must execute my application from wsh(vbs or js) ;) so i decided to search a little then found

    set o = CreateObject("Microsoft.Windows.ActCtx")
    o.manifest = "L:\\Application.dll.manifest"
    set app = o.CreateObject("Application.Interface")
    app.Launch() // which is my executing function

    Problem - "Microsoft.Windows.ActCtx" interface is not available in Windows Xp machines even in SP3, Is there any solution to that problem? Do You know any other methods or windows update that creates that interface?
    • Edited by bgoral Wednesday, June 17, 2009 5:41 AM
    Wednesday, June 17, 2009 5:38 AM