locked
mscomct2.ocx installation

Answers

  • Louverril,

     

    As the document Support Statement for Visual Basic 6.0 on Windows® Vista™ described, mscomct2.ocx and VB 6 is supported on Vista. You can use the control properly in the privilege user account on necessary.

     

    Since the operating system is Windows XP, you can consider to use RegSvr32.exe to register the ocx in the system registry to register the control in the operating system. In .NET Framework development, you can add the reference for the ocx control, then use in your Toolbox for the windows application or use as the components for other applications.

     

    The following article shows you an example on the issue:

     

    How To Programmatically Register and Unregister .OCX Files

    Hope that can help you.

    Monday, November 05, 2007 5:33 AM

All replies

  • Louverril,

     

    As the document Support Statement for Visual Basic 6.0 on Windows® Vista™ described, mscomct2.ocx and VB 6 is supported on Vista. You can use the control properly in the privilege user account on necessary.

     

    Since the operating system is Windows XP, you can consider to use RegSvr32.exe to register the ocx in the system registry to register the control in the operating system. In .NET Framework development, you can add the reference for the ocx control, then use in your Toolbox for the windows application or use as the components for other applications.

     

    The following article shows you an example on the issue:

     

    How To Programmatically Register and Unregister .OCX Files

    Hope that can help you.

    Monday, November 05, 2007 5:33 AM
  • That mean that when you disable UAC on Vista or Win7 you are an admin and the same code with no changes and no reg changes works.

    But if UAC is on and you do not ask for admin privileges via code then you get this error.

    It's a pity that this error message does not say it.

    Sunday, March 21, 2010 7:32 AM