Problem with RUNWIN (OpenInsight 16-Bit Specific)
At 20 NOV 2002 04:58:42AM Colin Rule wrote:
I have a help file called Guide.CHM
When I run this via
COMMAND=Guide.chm"CALL UTILITY("RUNWIN",COMMAND,"")It works, the first time I run it.
If I run it again, it does not run.
If I open a screen in my app, and then try again, it works once.
I am running XP, but I think other OS's do the same.
Any ideas?
At 20 NOV 2002 05:37AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
What happens if you create a shortcut to the program and call the shortcut?
Steve
World Leaders in all things RevSoft
At 20 NOV 2002 06:36AM Colin Rule wrote:
This works fine from a shortcut.
I even put the two lines of code in a button on a form, and got the same results, ie works first time, but not second time.
It wont run any CHM file twice, by the looks of it, unless you open another window. This does not have to be one of my application windows, any OI screen being opened seems to clear the problem and allows you another go at running the CHM file.
One of our guys seems to think it may be associated with Winoldapp.mod which is in the task manager.
At 20 NOV 2002 11:46AM Pat McNerthney wrote:
What happens if you try to invoke "Guide.chm" twice from a command prompt window?
Pat
At 20 NOV 2002 12:13PM Oystein Reigem wrote:
Pat -
I was able to reproduce Colin's problem with OI16 (3.7.1) on XP.
With OI32 (4.0.3) on XP there was no problem. (I therefore assume Start | Run will work just fine too.)
Btw - there is one way I can get a chm file to run twice in a row. I just don't close the first instance. Not very useful of course, but perhaps it tells something about the cause.
- Oystein -
At 20 NOV 2002 12:31PM Pat McNerthney wrote:
I missed the "16-Bit Specific" qualifier…the answer is obvious then!
Pat
At 21 NOV 2002 04:01AM Colin Rule wrote:
Yes, 16 bit specific.
No, not obvious, why OI16 would not run the chm file twice, unless you open another form, is not obvious to me.
Its not a huge issue, I can always call a hidden window and close it automatically, or do some other workaround to resolve, but its not the point.
At 21 NOV 2002 05:30AM Oystein Reigem wrote:
Colin,
I've found Sprezzatura's Utility32 very useful in my 16-bit apps, and very reliable. If I had this problem I would try to run the chm file with this product's RUNWIN instead. (I haven't taken the time to actually try it now.)
- oystein -