Home » Developer & Programmer » Forms » client_host(, NO_SCREEN) still displays windows (Forms 10.1.2.0.2)
client_host(, NO_SCREEN) still displays windows [message #342862] Mon, 25 August 2008 06:40 Go to next message
mcglynnj
Messages: 2
Registered: August 2008
Location: Ireland
Junior Member
Hi,

I have a form which is copying, deleting and printing files on the users Windows p.c. via client_host commands. I have included the NO_SCREEN option, but still a background window appears momentarily.
Due to my form having approx 15 of these client_host commands executing in quick succession, users have requested that the "flashing screens" do not appear.
Is there anyway to do this ?, why does the NO_SCREEN option still cause a background window to appear ?.

The option of grouping all these client_host calls into a single call to a bat file etc... is not an option due to other logic processing within the form between each client_host call.

I look forward to your ideas.

Joe
Re: client_host(, NO_SCREEN) still displays windows [message #342869 is a reply to message #342862] Mon, 25 August 2008 07:18 Go to previous messageGo to next message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

The NO_SCREEN option doesnt work in Client_Host,If you open the webutil.pll file and read the CLIENT_HOST Procedure Body.
Re: client_host(, NO_SCREEN) still displays windows [message #342931 is a reply to message #342862] Mon, 25 August 2008 10:29 Go to previous messageGo to next message
mcglynnj
Messages: 2
Registered: August 2008
Location: Ireland
Junior Member
Thanks mudabbir,

I also tried webutil_host.host
and adding the cmd.exe "/min" option but without success.

-- Example to delete a file called x.txt from c:\ drive
webutil_host.host(cmd /min /c del c:\x.txt);


I'm guessing webutil initiates an encapsulating cmd.exe into which my host command gets executed and I will have no control over how it is launched.
Re: client_host(, NO_SCREEN) still displays windows [message #343036 is a reply to message #342931] Tue, 26 August 2008 00:23 Go to previous message
mudabbir
Messages: 235
Registered: April 2006
Location: Kuwait
Senior Member

Yes,We will have to wait and see in the next release of webutil.
Previous Topic: displaying multiple rows retured from a query
Next Topic: Urgent Query
Goto Forum:
  


Current Time: Mon Feb 03 13:07:53 CST 2025