Re: RemoteApp Dialogs Disappear

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Does this happen with all applications, even standard ones like
notepad, or just your own (in-house developed?) application?

I've read here sporadically about a similar problem with
applications developed with Delphi. From a previous post:

dialog box looses focus when showmodal is used. It's called Windows
Ghosting.
There's a procedure to disable it: "disablewindowsghosting"
Delphi is not TS compatible.
We did tests using delphi 4 -> delphi 2005 and it's still the same
problem.
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

=?Utf-8?B?c2hk?= <shd@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote on 17 nov
2008 in microsoft.public.windows.terminal_services:

Hi,

We are publishing our app through RemoteApp (Terminal Services
on a Win 2008 server) and we have some issues. Most of the
issues are painting problems, but adding some code alleviates
those. One issue though is more problematic.

Whenever our application shows a dialog (messagebox, or custom)
we can hear the beep of the dialog opening but no dialog
actually shows. This is not a painting issue because even if you
hover the mouse over where the dialog should be, the cursor
won't change, also pressing enter (default button) or ESC
(cancel button) won't do anything. Also maximizing another app
on top and bringing back published app to front won't change
anything.

If we kill the mstsc process and reconnect again, then we will
get the instance of the application we were just running, WITH
the dialog showing as it should have originally. It appears as
though the dialog is showing up in the server machine, not sure
why.

Also, this behavior varies between clients. There is one XP Sp3
client where this happens every single time a dialog is invoked.
In most of the other XP Sp3 clients this happens very
sporadically. I checked the clients and they are all running
same exact version of mstsc, IE7, and the activex dll loaded
from IE7.

Any ideas? Any knowledge of similar issues? Any help is very
much appreciated...Thanks
.



Relevant Pages

  • Re: Best Practice for storing keys
    ... and make it available to your app, it can by definition be retrieved by ... nothing but this key in it so the asp pages and applications would have ... that is easy to consume and have some nice built in stuff for encrypting ... for instance) as the information is on the Sql Server. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Error creating window handle when restoring form
    ... I have two different applications, one a server app and the other is the ... This has worked for months on several clients and the server. ... understand how it can fail to create a window. ...
    (microsoft.public.dotnet.languages.csharp)
  • Error creating window handle when restoring form
    ... I have two different applications, one a server app and the other is the ... This has worked for months on several clients and the server. ... understand how it can fail to create a window. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: startmenu
    ... NT clients. ... >> typical applications and others use other applications. ... >> some are installed on the server. ... Windows 2003 server ...
    (microsoft.public.windows.group_policy)
  • TcpClient BeginRead not spawning new thread
    ... I have a server app that uses System.Net.Sockets.TcpClient to allow ... The server listens for message from the clients and performs an action ... function was being executed on the same thread that called BeginRead ...
    (microsoft.public.dotnet.framework)