|
Home > Archive > dBASE Questions and Answers > December 2006 > 2 Monitors
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Rob Rickard 2006-12-04, 5:26 am |
| Hi All
I have to admit l'm stumped.l am trying to write a program that works on 2 monitors.l want 1 exe program on 1 monitor and another exe program on the other monitor. Both are dbase plus programs(2.60). l'm trying to get "live" information from one of the
exe's to display it on screen for a period of time in a container in a continuous loop by using either the sleep() command or a do while X < 1000 command ,then close that container and move onto another container. The trouble is as soon as the exe progr
am looses focus the program locks up and the message program is not responding comes up. The only way to get out of it is to Ctrl-Alt-Del.
Any help or suggestions will be very much appreciated.
Thanks Rob
| |
| bigMike 2006-12-07, 7:14 pm |
| Hi Rob -
I see you have no takers up to now. I'm not much help either and your
question, in fact, may be my question because I have a customer that may
want to do this.
Right now I have two programs (exe's) running at the same time on one
monitor. One is a tracking type program, the other is a scheduling
calendar. Neither one takes up the whole screen area but they overlap each
other somewhat. My users go from one to the other just by clicking on the
one they want to be active at the moment. Both programs share the same
files for the most part.
Are you able to just "touch" the application for each to make them active,
or how are you switching?
bigMike
"Rob Rickard" <rob@calculation.com.au> wrote in message
news:3zzFX$2FHHA.1976@news-server...
> Hi All
> I have to admit l'm stumped.l am trying to write a program that works on
> 2 monitors.l want 1 exe program on 1 monitor and another exe program on
> the other monitor. Both are dbase plus programs(2.60). l'm trying to get
> "live" information from one of the exe's to display it on screen for a
> period of time in a container in a continuous loop by using either the
> sleep() command or a do while X < 1000 command ,then close that container
> and move onto another container. The trouble is as soon as the exe program
> looses focus the program locks up and the message program is not
> responding comes up. The only way to get out of it is to Ctrl-Alt-Del.
> Any help or suggestions will be very much appreciated.
> Thanks Rob
| |
| Rob Rickard 2006-12-07, 7:14 pm |
| Thanks for the reply BigMike
I've developed a POS system and the client wants to run a second screen with adds etc(like a powerpoint but with updateable information) as well as POS.The answer to your question is it doesn't matter whether l alt-tab or change on task bar between scre
ens (on my one monitor). l don't want to (or need to)alternate screens. l just want to have 2 programs running at one time. The one with the adds just locks up and freezes. l really believe it is something todo with the loop/sleep condition.
Thanks Rob
bigMike Wrote:
> Hi Rob -
>
> I see you have no takers up to now. I'm not much help either and your
> question, in fact, may be my question because I have a customer that may
> want to do this.
>
> Right now I have two programs (exe's) running at the same time on one
> monitor. One is a tracking type program, the other is a scheduling
> calendar. Neither one takes up the whole screen area but they overlap each
> other somewhat. My users go from one to the other just by clicking on the
> one they want to be active at the moment. Both programs share the same
> files for the most part.
>
> Are you able to just "touch" the application for each to make them active,
> or how are you switching?
>
> bigMike
>
>
>
>
> "Rob Rickard" <rob@calculation.com.au> wrote in message
> news:3zzFX$2FHHA.1976@news-server...
>
>
| |
| Thorsten Hill 2006-12-08, 5:28 am |
| Rob Rickard Wrote:
>The one with the adds just locks up and freezes. l really believe it is something todo with the loop/sleep condition.
Hello,did you try a timer?
// this goes into the onOpen event of the form
this.timer = new Timer()
this.timer.parent = this
this.timer.onTimer = this.updateClock
this.timer.interval = 10 // 10 seconds, change it to whatever you need
this.timer.enabled = true
// this goes into the onClose event
this.timer.enabled = false
// this goes somewhere to the bottom
function updateClock()
// -> do whatever you want
return
| |
| Rob Rickard 2006-12-09, 5:15 am |
| Thank you Thorsten
Put the timer on form adjusted a few commands and now all is working nicely.
Once again Thank you
Rob
Thorsten Hill Wrote:
> Rob Rickard Wrote:
>
>
> Hello,did you try a timer?
>
> // this goes into the onOpen event of the form
> this.timer = new Timer()
> this.timer.parent = this
> this.timer.onTimer = this.updateClock
> this.timer.interval = 10 // 10 seconds, change it to whatever you need
> this.timer.enabled = true
>
> // this goes into the onClose event
> this.timer.enabled = false
>
> // this goes somewhere to the bottom
> function updateClock()
> // -> do whatever you want
> return
|
|
|
|
|