locked
Loading ActiveX control takes long time on some machines RRS feed

  • Question

  • Hi,

    We are having a partner that develops a .Net desktop application, and is using our ActiveX control.

    On the client machine it takes very long time to load the ActiveX control (~6 seconds). The partner reports that it hangs at this location:

    System.Windows.Forms.AxHost.CreateWithLicense(String, Guid)

    What could cause this delay and is there a work-around?

    I got this information on the problematic machine:
    HP Elitebook x360 830 G6 with 16GB RAM, 512GB SSD, i7-8665U processor.
    OS : Windows 10.

    Thursday, November 21, 2019 8:50 AM

Answers

  • Hi Sanctus79, 

    Thank you for posting here.

    According to your description, your issue is more related to ActiveX, so I will move the question to Where is the Forum For…? forum to tell you where to go ask questions.

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Sanctus79 Friday, November 22, 2019 11:03 AM
    Friday, November 22, 2019 7:31 AM
  • System.Windows.Forms.AxHost.CreateWithLicense(String, Guid)

    OS : Windows 10.

    Hello,

    I would say, the ActiveX is a COM component that is not registered (correctly) on the client machine. But I don't know.

    You could ask here:

    https://social.msdn.microsoft.com/Forums/vstudio/en-us/home?forum=csharpgeneral

    Regards, Guido


    • Edited by Guido Franzke Friday, November 22, 2019 7:54 AM
    • Marked as answer by Sanctus79 Friday, November 22, 2019 11:03 AM
    Friday, November 22, 2019 7:53 AM

All replies

  • Hi Sanctus79, 

    Thank you for posting here.

    According to your description, your issue is more related to ActiveX, so I will move the question to Where is the Forum For…? forum to tell you where to go ask questions.

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by Sanctus79 Friday, November 22, 2019 11:03 AM
    Friday, November 22, 2019 7:31 AM
  • System.Windows.Forms.AxHost.CreateWithLicense(String, Guid)

    OS : Windows 10.

    Hello,

    I would say, the ActiveX is a COM component that is not registered (correctly) on the client machine. But I don't know.

    You could ask here:

    https://social.msdn.microsoft.com/Forums/vstudio/en-us/home?forum=csharpgeneral

    Regards, Guido


    • Edited by Guido Franzke Friday, November 22, 2019 7:54 AM
    • Marked as answer by Sanctus79 Friday, November 22, 2019 11:03 AM
    Friday, November 22, 2019 7:53 AM
  • Thank you,

    Could you move the question to:
    https://social.msdn.microsoft.com/Forums/vstudio/en-us/home?forum=csharpgeneral

    Thanks in advance,

    Anders

    Friday, November 22, 2019 11:02 AM
  • Thank you,

    Could you move the question to:
    https://social.msdn.microsoft.com/Forums/vstudio/en-us/home?forum=csharpgeneral

    Thanks in advance,

    Anders

    I'm sorry I'm not a moderator who can move your question. You should ask in the forum again.

    Regards, Guido

    Friday, November 22, 2019 11:06 AM