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?
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.