Results 1 to 5 of 5

Thread: ocx component

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2002
    Posts
    43

    ocx component

    why ocx cannot be removed while in used..

    n how do i register the same ocx in different path..

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    1) Remove all instances of the ocx from your forms & modules.
    2) The the regsvr32 program
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3
    Member
    Join Date
    Nov 2002
    Location
    Barberton Ohio
    Posts
    42
    plenderj,

    I register my .dll's, ocx's, etc. by dragging and dropping them on regsvr32, but I have never 'unregistered' one. Do you have to use the command line? And what is the proper command to put on the command line?
    What is the KeyCode for the 'ANY' Key? - Bill Gates

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    You would use the "/u" switch :

    regsvr32 /u myOCX.ocx
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  5. #5
    Member
    Join Date
    Nov 2002
    Location
    Barberton Ohio
    Posts
    42
    Thank you.
    What is the KeyCode for the 'ANY' Key? - Bill Gates

Posting Permissions

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



Click Here to Expand Forum to Full Width