File Exchange
Try Origin for Free
The Origin Forum
Home
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
|
Send File to Tech support
All Forums
Origin Forum for Programming
Forum for Automation Server/COM and LabVIEW
Does COM automation work with Origin 8?
Note:
Only the poster of this message, and the Moderator can edit the message.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Anti-Spam Code:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Forum:
Forum for Automation Server/COM and LabVIEW
Subject:
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
Origin Ver. and Service Release: 8 I have developed a VBA program that uses COM automation to import data to Origin, and generate a plot. The program works with my version of Origin, which is 2023. However, another user tried to use this program with Origin 8 and experienced an error. Specifically, the following error message was displayed: Run-time error '-2147417851 (80010105)' Automation error The server threw an exception. The line of code that triggered this error was: LayerCount = wbk.Layers.Count Based on this, I suspect the issue is that COM automation does not work with Origin 8, and the user needs to upgrade to a more recent version of Origin. However, I just wanted to double check this: Please would you advise me if COM is unavailable for Origin 8, or if you think there may be a different cause for this error?
Check here to subscribe to this topic.
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000