Consulting

Results 1 to 3 of 3

Thread: question on 'Install or Uninstall ActiveX Controls (.ocx, .dll files)'

  1. #1
    VBAX Newbie
    Joined
    Sep 2007
    Posts
    2
    Location

    question on 'Install or Uninstall ActiveX Controls (.ocx, .dll files)'

    hello

    I have a custom control, which when I register it with admin rights it shows up in Excel/VBA/Tools Reference and on a UserForm/Tools/Additional Controls.

    But trying KBase 'Install or Uninstall ActiveX Controls (.ocx, .dll files)' with user rights, I can not write to C:\windows\system. Ok, so I tried writing to my %TEMP% folder which worked, but then my control did show up in Excel/VBA/Tools/Reference but not in UserForm/Tools/Additional Controls.

    So, my task is to deploy a custom control (OCX) and get it programmatically added to a userform, is this possible.

    rgds Anders

  2. #2
    Administrator
    Chat VP
    VBAX Guru johnske's Avatar
    Joined
    Jul 2004
    Location
    Townsville, Australia
    Posts
    2,872
    Location
    Sorry, I just noticed I haven't changed that entry (it was Win98 specific) try this
    You know you're really in trouble when the light at the end of the tunnel turns out to be the headlight of a train hurtling towards you

    The major part of getting the right answer lies in asking the right question...


    Made your code more readable, use VBA tags (this automatically inserts [vba] at the start of your code, and [/vba ] at the end of your code) | Help those helping you by marking your thread solved when it is.

  3. #3
    VBAX Newbie
    Joined
    Sep 2007
    Posts
    2
    Location
    thanks,

    but my problem unfortunately is not yet solved.
    My users do not have rights to copy to or create in c:\windows\system32\.
    And it seems that a control has to be registered from c:\windows\system32\ to be visible in Excel/UserForm/Tools/Additional Controls dialogbox.

    I have to find a program that can compile a real DLL, perhaps it works better that way.

    rgds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •