What can we help you with today?

Log in and chat with an Applications Engineer now! Check out our chat button in the bottom right corner!

What can we help you with today?

Log in and chat with an Applications Engineer now! Check out our chat button in the bottom right corner!

COM objects missing

Comments

9 comments

  • Paul Bloom
    Paul Bloom

    Do you have E3.Tools installed?   If so, the help file in the install folder appears to have some good information

    Was this Helpful?

    1
  • bob larranaga
    bob larranaga

    Hi Michele,

    The E3.Tools help guide Section 1.1 states that if "When E3.Tools is instantiated from a 64 Bit process, the system displays the following error: 'Cannot create ActiveX Object'. When starting the script from within E3.series, E3.Tools performs as on a 32 Bit operating system."

    Maybe this is your problem?

    If you're creating VBScript, you might be able to create a *.cmd file as a wrapper to your VBScript code.

    For example, to run the IODialogExample.vbs in the E3 Tools Examples folders, create a new file in the same directory as target VBScript. The file will contain the following line:

    %windir%\syswow64\wscript.exe "IODialogExample.vbs"

    Save the file with the extension of *.cmd and check if it runs.

    Hopefully this wrapper approach will run the *.vbs files contained in the E3.Tools Examples folder. One of the Zuken A/Es showed me this trick.

    BL

    Was this Helpful?

    2
  • Michele Mura
    Michele Mura

    Thanks both for your support. I have found the setup of E3.Tool so I think this is my problem.. Simply I cannot create the object since I do not have the right COM installed.

    Anyway I have a very simple question (and I think I already know the answer)

    If I develop a script and I use objects coming from E3.Tool (like Dialog).. The user I give the script to, must have the same E3.Tool installed, right?

    Thanks again!

    (Sorry for my questions but I am a E3 rookie - I started last year on October...)

     

    BR

    Was this Helpful?

    0
  • bob larranaga
    bob larranaga

    The E3.Tools would also need to be installed.

    I believe E3.Tools was created so that E3 VBScripts could provide a user interface using windows forms/dialogs.

    VBScripts without dialogs would be very limited.

    If you are proficient with either VB.NET or C#, you can always design your own forms/dialogs for your E3 application.

     

    Was this Helpful?

    0
  • Michele Mura
    Michele Mura

    Yes, I think you're right. The standard VB gives the opportunity to display simple MsgBox and InputBox... Not too much for a standard user interface.


    I will test E3.Tools but, anyway, since I'm much more proficient with .NET and C#, I will design apps and plug-in using this approach. Scripting is very good when you're in a hurry, you do not need any UI or when customers asked for source codes and they do not have any development environment.

     

    Thanks again!

    Was this Helpful?

    0
  • Andrey
    Andrey
    Hi Bob, can you please tell me how to fix this error? Where can I create a specific file?

    Was this Helpful?

    0
  • Michele Mura
    Michele Mura

    Hi Andrey,

    I must admit that I don't understand your post... Can you give to us more information?

    Thanks

    Was this Helpful?

    0
  • Andrey
    Andrey

    good afternoon Michele

    Installed E3 on a new graphics station, when working with a standard script I get the following error

    Was this Helpful?

    0
  • Michele Mura
    Michele Mura

    Unfortunately I don't understand russian.. (is it russian, right?) but maybe you have to register the ActiveX component?

    If I remember you can do it by starting E3 with Admin rights or by adding once the option "/register" to command line which start the application.

    But better wait for an answer from someone with more experience than me.

    Was this Helpful?

    0

Please sign in to leave a comment.