Showing results 1 to 7 of 7

Thread: ActiveX component can't create object

  1. #1
    Join Date
    14.07.2014
    Posts
    6

    Frage ActiveX component can't create object

    Hello

    So W10 64b / Zenon 7.20 32b

    I get this error when I run a VBA wizard.
    Have registered the OCX files and the standard program but no joy

    Any ideas please?


  2. #2

    Default Re: ActiveX component can't create object

    Hi lss,

    Is this a standard wizard provided with the zenon installation, or is this a specific custom wizard?
    Which OCX components did you need to register?

    Best regards,
    Mark
    Last edited by markclemens : 5th April 2019 at 12:19 Reason: corrected typo

  3. #3
    Join Date
    14.07.2014
    Posts
    6

    Default Re: ActiveX component can't create object

    Hi Mark,

    This is a custom wizard that works in my v6.51 version.

    I had to register these OCX files, see attached.



    Attached Thumbnails Attached Thumbnails Capture.PNG  

  4. #4

    Default Re: ActiveX component can't create object

    Hi lss,

    When you open the VBA IDE in the zenon editor and you try to compile the workspace, do you get any compile errors?

    When you find out which line of code in your custom wizard is causing this error, perhaps this gets you closer to the cause.
    One thing I could imagine, is that there is an issue with MS ADO on this system.

    Best regards,
    Mark

  5. #5
    Join Date
    14.07.2014
    Posts
    6

    Default Re: ActiveX component can't create object

    Hi Mark,

    Compiling gives this error;
    Attached Thumbnails Attached Thumbnails Capture.PNG  

  6. #6

    Default Re: ActiveX component can't create object

    Hi lss,

    It seems you may have found the culprit. Doing an internet search gives you a fair number of hits with people having similar issues.
    Perhaps it works when you use domdocument60 instead of domdocument40, but if not, I would suggest doing some research on your end, to get this custom wizard with third party components, working again on Windows 10.

    Best regards,
    Mark

  7. #7
    Join Date
    14.07.2014
    Posts
    6

    Default Re: ActiveX component can't create object

    ok thanks Mark,

    The slight problem I have is that other peoples installation works fine with the seemingly exact same install as mine, I wont have the option to only change my wizard.

    will try some more research, thanks again.

Similar Threads

  1. Replies: 2
    Last Post: 19th June 2014, 08:09
  2. How to get Object in Screens
    By jorgedatcom in forum VBA
    Replies: 1
    Last Post: 9th January 2012, 00:32
  3. Replies: 1
    Last Post: 24th June 2011, 14:23
  4. Replies: 0
    Last Post: 4th March 2009, 09:50
  5. VBA Object Overview
    By robertf in forum VBA
    Replies: 0
    Last Post: 16th August 2007, 10:18

Posting Rules

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