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
 Bypass Attention Message

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
kemcelroy Posted - 01/26/2004 : 9:32:12 PM
I am using Origin C to automate an NLSF task. Under certain conditions I get an error/attention message box which causes the program to stop until I hit OK. This means that I have to babysit the program while it runs, which (partially) defeats the purpose of automating the task. The error is one that the program is designed to overlook, so I always just press OK to acknowledge the error. Is there any way to bypass this break by, say, making Origin think that a user pressed OK?

(In case you need specifics...)

-commands-
NLSF.Fit(numPoints)
//Attention message happens here is numPoints is zero.
//My program later checks if numPoints is zero,
//so I have no use for this message.
-more commands-

MESSAGE:
Attention!
Error! Parameter(s) A, B is(are) not properly initialized. Check their values.
<OK>
2   L A T E S T    R E P L I E S    (Newest First)
kemcelroy Posted - 01/27/2004 : 5:00:44 PM
Thanks. It works great.
Mike Buess Posted - 01/26/2004 : 9:56:19 PM
You might try nlsf.msgprompt=0.

Mike Buess
Origin WebRing Member

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