Hiya folks,
I had a question about adding side bar buttons to the oinsight.ini file. I'm able to add window executables from OIWINEXE easily, but I haven't been able to add direct calls to programs. Is it possible? What would be the proper call?
Thanks in advance!
Cully
Cully,
Sorry, but at this time, the buttons may only launch windows. You could launch an invisible window, run your program from the Create event and then close the window.
Thanks,
Sean
Thanks Sean, I'll try a form based approach.
Hi, Cully. Sorry for the delay in responding, but I thought Sean's answer was correct until I needed to test something myself.
When you configure the sidebar button to launch a window, you typically specify OIWINEXE (for example, OIWINEXECTO_STANDALONE_FORM). I've found that if you instead specify a repository path to a stored procedure, then the stored procedure _will_ be invoked (for example, STPROCEXE**MYPROC). Note that you cannot pass in any parameters or anything, so I don't know if this is an adequate solution to your problem or not, but I thought this information might be useful.
Hope it helps,
- Bryan Shumsky
Revelation Software
It sounds like this is more the 'repository' function instead of just a window… I wonder if a report or other item could be executed the same way… hummm