For Programmers: Free Programming Magazines  


Home > Archive > Clarion > September 2004 > hide counsel window that pops up when using RUN(









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]

 

Author hide counsel window that pops up when using RUN(
Scott Tabor

2004-09-09, 3:55 pm

I am using clarion 5.5. and I use the run command to run some exe's that I pass command line stuff to and it does a simple function, and requires no further user input. So what happens is it runs and a black dos window pops up until it has finished doping its processing.

My problem is this procedure is on a timed matter and on a workstation that is used all day, this black box can't keep popping up every 30 seconds on this machine. Is here a way to get the code to execute and fully execute without having a DOS window pop up? or at least hide the window and not make it visible?

I have seen posts suggesting different add-ons, but it's my companies policy that the apps we distribute include no 3rd party anything.

What I am hoping for is someone to lead me in the right direction like IE 'first you have to get the handle on this, you do this by doing this, and then you set this parameter here, wah-lah!' I'm asking for a miracle I know. But everyone's help is greatly appreciated, as I have seen more and more posts pertaining to this, and very few solutions that don't include a 3rd party tool. Some of us programmers are on a TIGHT budget <g>



Thanks a lot!

Scott Tabo

Frank

2004-09-09, 3:55 pm

Have you tried using the WinExec() API instead of RUN?

At least you can control the state of display.

Just a thought

Frank Uhlik
Brisbane Australia


David S. Beggs

2004-09-09, 3:55 pm

Scott,
check out Power Run - it's free - and soes what you need I think.
http://www.berthume.com/powerrun.htm
HTH
Dave Beggs
Australia
www.dsbglobal.com/dosprinter
"Scott Tabor" <scottsinjail@aol.com> wrote in message news:10jhl1unj1n9la3@corp.supernews.com...
I am using clarion 5.5. and I use the run command to run some exe's that I pass command line stuff to and it does a simple function, and requires no further user input. So what happens is it runs and a black dos window pops up until it has finished doping its processing.

My problem is this procedure is on a timed matter and on a workstation that is used all day, this black box can't keep popping up every 30 seconds on this machine. Is here a way to get the code to execute and fully execute without having a DOS window pop up? or at least hide the window and not make it visible?

I have seen posts suggesting different add-ons, but it's my companies policy that the apps we distribute include no 3rd party anything.

What I am hoping for is someone to lead me in the right direction like IE 'first you have to get the handle on this, you do this by doing this, and then you set this parameter here, wah-lah!' I'm asking for a miracle I know. But everyone's help is greatly appreciated, as I have seen more and more posts pertaining to this, and very few solutions that don't include a 3rd party tool. Some of us programmers are on a TIGHT budget <g>



Thanks a lot!

Scott Tabo

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com