The Origin Forum
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 Origin C
 automation example problem

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
antekb Posted - 02/02/2007 : 09:04:41 AM
Origin Version :7 - SR 2
Operating System:Win XP SP2
Hi
I try to analyze/get familiar=LEARN/ with Origin C so I want automation.c program to run.
I did every step according to tutorial, but when I called the program with:
 "Process %yTutorial\Sample.TXT" 
what I got was:

1> Process %yTutorial\Sample.TXT
Processing file: SAMPLE .......failed to find object during method call
Command Error!


Compiler points just one line below void (with that error)
void Process(string strFileName)
and to:
ffDataFile.ReadString(strSampleID);

What can cause such an error?

Thanks in advance!!
3   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 02/02/2007 : 12:58:17 PM
The Automation example in SR4 is not launched from script window but rather by drag-and-dropping the data files onto Origin's program window. Furthermore, all files involved are in the Samples\Programming\Automation\ subfolder. Apparently your example in SR2 differs from mine in SR4 so I'm afraid I can't help.

Mike Buess
Origin WebRing Member
antekb Posted - 02/02/2007 : 12:20:02 PM
Hi Mike
there is a problem with this-I'm using an academic (network) license.
From what I know - there is a problem with applying SP4 on a network - I have this information from a person who is responsible for this (some problem with licence number...?? ))

But thanks a lot for help!
Mike Buess Posted - 02/02/2007 : 09:26:31 AM
First thing I'd try is update to SR4. Run Help>Check for Updates or go here...

http://www.originlab.com/index.aspx?s=9&lm=76

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 02/02/2007 09:31:32 AM

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000