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
 Problem with script after istalling Origin8 from 7

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
mortenhuse Posted - 09/02/2009 : 04:14:05 AM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Dear Origin,

After upgrading to Origin8 from 7.5 my scripts stopped working. It cannot load the ImportWiz.ocw file from the following script:

----start---------
%a=system.path.program$;
i=run.loadoc(%aOriginC\OriginLab\ImportWiz.ocw);
if( 0 != i )
{
type -b Could not load import wizard workspace!;
return;
};
-----end---------

I have tried to change the path but without success. Do you have any idea?

PLEAS HELP ME?

KIND REGARDS

Morten

3   L A T E S T    R E P L I E S    (Newest First)
mortenhuse Posted - 09/03/2009 : 10:16:23 AM
Hi guys,

Thank you a lot guys. That explained why things went wrong.

Kind regards

Morten
easwar Posted - 09/03/2009 : 10:02:13 AM
Hi Morten,

Please see this page:
http://wiki.originlab.com/~originla/wiki/index.php?title=Changes_to_Import_Data_With_a_Pre-defined_Filter_in_Script

If you have further problems, please contact our tech support department.

Easwar
OriginLab
greg Posted - 09/02/2009 : 12:20:18 PM
You do not say it in your post so I assume you mean that your script just outputs
Could not load import wizard workspace!
and returns.
This should work without a problem in 8 and I'm not sure why it isn't in your case. Hopefully by "upgrading to Origin8 from 7.5" you do not mean you installed 8 "on top of" 7.5 which could result in problems.

You could try opening Code Builder and running the script again to see if you can identify the problem, but since you have Origin 8, I recommend a re-write using the new 'impfile' X-Function that will eliminate the need to do any compiling.

Here is an example:
http://wiki.originlab.com/~originla/wiki/index.php?title=LabTalk:Data_Import#impFile_X-Function_with_Sample_Filter

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