you mean WSH?

--- On Sat, 5/23/09, Harold Wood & Meyuni Gani <[email protected]> wrote:


From: Harold Wood & Meyuni Gani <[email protected]>
Subject: RE: [nsbasic-ce] Return Value from Running NSB
To: [email protected]
Date: Saturday, May 23, 2009, 10:54 AM








George
Scripthost can return a code. I don't know about vb though.

Harold Wood & Meyuni Gani



From: George Henne <[email protected]>
Sent: Saturday, May 23, 2009 3:40 AM
To: nsbasic...@yahoogro upscom <nsbasic...@yahoogro ups.com>
Subject: Re: [nsbasic-ce] Return Value from Running NSB







NS Basic's exe files are simply an executable stub, with your program
saved as a resource in it. The stub extracts the resource and it gets
passed as a NS Basic document (.nsb) to the actual executable, which is
Basic.exe.

I'm not sure there is a simple solution to what you are trying to do. NS
Basic apps do not return an error code.

George Henne
NS BASIC Corporation
http://www.nsbasic. com

>Hi All,
>
>I'm launching my NSB-created executable from another application using
>that app's "Run" method which launches an external application. One of
>the parameters to this method is a "wait time" that let's you pause that
>application until the one you called is finished. I know this works
>because I've tested it by launching other apps like calculator and
>notepad. For some reason, the other application doesn't realize my NSB-
>created app is still running. Does this have to do with the whole NSB
>base executable issue again? (see http://tech. groups.yahoo. com/group/
>nsbasic-ce/ message/19320 for another example of this) Or is it something
>else this time?
>
>Also, the Run method returns an exit code. Whenever I look at this
>value after running an NSB app, it's always 0. Do NSB apps not use this
>return for anything?
>
>Thanks,
>Shaun
>
>
>
>----------- --------- --------- -------
>
>Yahoo! Groups Links
>
>
>


















      
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to