• ActiveX Error

    Author
    Topic
    #353340

    Hello, I am receiving the following error message in a runtime application. It states that “You don’t have the license required to use this ActoveX control”. I have followed Microsofts help, including running the 0delic.exe, but still am having no joy. The control in question is the Common Dialogue control, comdlg32.ocx.

    Can anyone please help??

    Viewing 0 reply threads
    Author
    Replies
    • #516621

      Well, do you have a license for it? Is this a runtime you developed? Is it running on your machine or someone elses? How did you setup/install/register the control on the machine having the problems?

      If you have VB Professional or Visual Studio or the Office Developer edition, you have a license for this control, otherwise you don’t.

      • #516639

        I believe I do have a license for the control and it is a runtime that i developed. The app runs fine on a couple of PCs, all with ODE tools installed, but does not work on a PC without ODE. I think I may have “setup/install/register” the control incorrectly (if at all). Please can you help with how to do this properly.

        Thanks.

        • #516694

          If I understand your problem, then, it runs on machines that have the license for the control because they have the developer’s edition installed. But it doesn’t run on other machines. That means your setup isn’t correct. When you created the setup for the application (you did, didn’t you, rather than just copying the database to another machine?), you must not have included the ocx as one of the files.

          I don’t use this control because it does seem to misbehave in distributed applications. Instead, I use a class wrapper around the Windows API calls that underlie the common dialog control and that avoids the problems.

          • #516842

            I did create a set up and I did include the ocx file in the runtime. I have tried to create the runtime again, but with no success.
            The app contains other ActiveX controls (that work fine). I noticed that with the other controls, susbsequent support files were needed. Do I need anything else for my ActiveX other than comdlg32.ocx?

            Also, I do not understand your method using the class wrapper. Where can I find info about this?

            Thanks,

            Jonathon

    Viewing 0 reply threads
    Reply To: ActiveX Error

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: