How can one get OI to run a certain window automatically at startup? (OpenInsight Specific)
At 25 AUG 2000 05:49:24AM Oystein Reigem wrote:
How can one get OI to run a certain window automatically at startup?
With runtime mode one can use File - Application Properties - Setup Entry Point. But how does one do it with developer mode?
I know one can specify a startup procedure in field 32 of the application's SYSENV row. Is that the way to do it? Can somebody supply some syntax and save me from further failed experiments (one "nothing happened" and one hang so far)?
- Oystein -
At 25 AUG 2000 09:32AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Field32 it is. 2 param subroutine.
If not in SYSPROG, you must use *APPNAME to run.
You can use START_WINDOW in this program.
World leaders in all things RevSoft
At 25 AUG 2000 03:58PM Richard Hunt wrote:
This is the way I do it.
1) At the "OpenInsight for Workgroups" application manager window, click "file", application properties.
2) Application properties window appears. In the lower left corner is a group box called "Entry Point". Click the button "Setup entry point".
3) The "Setup application main entry point" window appears. Select the window you wish. poof! done!
At 25 AUG 2000 05:58PM Oystein Reigem wrote:
Sprezzatura,
Field32 it is.
OK.
2 param subroutine.
Huh???
If not in SYSPROG, you must use *APPNAME to run.
OK.
You can use START_WINDOW in this program
OK.
- Oystein -
At 25 AUG 2000 06:00PM Oystein Reigem wrote:
Richard,
But this only works for OI in runtime mode, not developer mode. (As I said in my posting.)
- Oystein -
At 25 AUG 2000 06:24PM Richard Hunt wrote:
Geee… I must be confused on what is a "developer mode" maybe. My OI is a "developer mode" and it works in it. I am capable of deploying applications with it. And I can cause it to bring up a certain window at startup.
I have deployed a barcode scanning / inventory application and the runtime version works too.
See, in my "developer mode" I have created this window that comes up at startup using the noted proceedure. Hmmmm my version is 3.7
Well sorry it doesn't work for you.
At 26 AUG 2000 06:45AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Richard,
I believe what Oystein meant by developer mode was launching OINSIGHT.EXE with the /DV command line switch.
If you include this switch when you launch OpenInsight any window you specify as an Application Startup Point won't run automatically.
The Official Sprezzatura Group
[/i]World leaders in all things RevSoft[/i]
At 26 AUG 2000 06:55AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Oystein,
Here's an example of a startup program we use on OICGI systems:
Compile Subroutine Start_Gateway( Param1, Param2 ) Call Start_Window( "INET_GATEWAY", "", "", 0, "" ) ReturnParam1 appears to be a boolean flag - If it's the first time the program is called it should be TRUE$, otherwise it's FALSE$.
Param2 allows you to set @Station to a value you want.
To use you put the name of the program in field 32 of your app's SYSENV environment record. Don't forget to add in the appname too!
eg
START_GATEWAY*REGIMUS
The Official Sprezzatura Group
[/i]World leaders in all things RevSoft[/i]
At 28 AUG 2000 04:15AM Oystein Reigem wrote:
Sprezzatura,
Brilliant! Thanks to you I can sleep well tonight! (Drawing: (C) My daughter.)
- Oystein -
At 28 AUG 2000 04:18AM Oystein Reigem wrote:
At 28 AUG 2000 04:20AM Oystein Reigem wrote:
Richard,
As Sprezzatura says I start the system with the /DV option. Sorry for the confusion.
- Oystein -
At 28 AUG 2000 04:40AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Excellent piccy ….
BTW, Is that your teddy bear then?
[/i]World leaders in all things RevSoft[/i]
At 28 AUG 2000 04:55AM Oystein Reigem wrote:
No, I prefer this bear (beer). (Let me see if I can get it right the first time this time.)
- Oystein -