Results 1 to 5 of 5

Thread: ActiveX Error

  1. #1
    Star Lounger
    Join Date
    Jun 2002
    Location
    London, Gtr London, England
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ActiveX Error

    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??

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: ActiveX Error

    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.
    Charlotte

  3. #3
    Star Lounger
    Join Date
    Jun 2002
    Location
    London, Gtr London, England
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ActiveX Error

    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.

  4. #4
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: ActiveX Error

    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.
    Charlotte

  5. #5
    Star Lounger
    Join Date
    Jun 2002
    Location
    London, Gtr London, England
    Posts
    75
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ActiveX Error

    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

Posting Permissions

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