Starting the System Editor from a form. (OpenInsight Specific)
At 06 NOV 1997 12:06:51PM Steve Carlson wrote:
I would like to start the system editor from a form.
I have a button with a click quickevent of
APP*WINEXE*DWB. I need to know what "message" and
"parameters" I need to provide the quickevent.
Using just the "message" of EXECUTE I get a dialog
box of "invalid password" and the editor fails
to load.
Thanks.. Steve Carlson
At 07 NOV 1997 11:12AM Don Bakke wrote:
Steve,
If I'm not mistaken, you're going to have problems loading the System Editor this way because OpenEngine can only process one item at a time. That is, since OpenEngine is currently occupied running your event, it cannot at the same time launch System Editor as well. Usually this produces the message: Engine is busy, or something similar.
Hopefully I'm wrong on this.
dbakke@srpcs.com
At 07 NOV 1997 06:00PM Steve Carlson wrote:
That doesn' seem right since I can load
System Editor, Form Designer, and Report Designer
all at one time. How bought it REVSOFT. TECHS
.
.
Steve C.
At 07 NOV 1997 11:56PM Don Bakke wrote:
That doesn' seem right since I can load System Editor, Form Designer, and Report Designer all at one time.
That's because you are not using OpenEngine to launch these applications from the Application Manager. The problem exists when you try to use Basic+ or an event to perform this action.
Reporter has a special procedure for launching reports in code, but I'm not a user of Reporter so I can't remember what that is. For the other tools I believe you have to launch them through an IDLEPROC launched subroutine.
dbakke@srpcs.com
At 09 NOV 1997 04:03PM Aaron Kaplan wrote:
From the IDLEPROC entry in Basic+ Reference Help:
Applies to System.
Description Value is an @FM-delimited array:
Value Description
IdleProcStructure Procedure Name.
IdleProcStructure (optional) Parameter.
IdleProcStructure (optional) Time of activating (hh:mm:ss), defaults to as soon as OpenEngine is idle.
IdleProcStructure (optional) Day of activating (mm/dd/yy), defaults to today.
Remarks
An exclamation point in front of procedure name allows you to start external Windows applications (rather than stored procedures).
As soon as the indicated procedure is being activated Presentation Server resets the IDLEPROC property to null.
To run OpenInsight tools from BASIC+, you cannot use Utility("RUNWIN") since the engine is busy executing your BASIC+ script and will not respond to the tool as it opens. In order to run a tool when the engine is not busy, use the IDLEPROC property. The following code runs the Database Manager:
Cmd=!LB.EXE /AP=: @appid: " /UN=: @username
Set_Property("SYSTEM", "ILEPROC", Cmd)
Restriction
len(IdleProcStructure) Sprezzatura Ltd[/url]
At 10 NOV 1997 02:51PM Steve Carlson wrote:
Thanks.. IDLEPROC worked great.. I just had to
add the /PW=password parameter to start the
DWB.EXE system editor. Steve Carlson. Austin,TX