Skip to content

Not able to load COMCTL32.DLL file

tom

Asked Jun 13, 2008, 9:07 PM EDT1 answer
Share
LinkedInX
Hi All, I am not able to load the COMCTL32.DLL file in my MS visual studio 2005. Whenever I try to add this dll (from: c:\windows\system32), I get a message saying: Unable to load COMCTL32.DLL. Please help. Thanks.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Bechir Bejaoui
    0
    try this way if this assembly already exsists:

    add a reference into your project:

    using System.Reflection;

    then Add this code:
    //Your don't have to add dll as extension
    Assembly myAssembly = Assembly.GetAssembly("COMCTL32");
    0