eptgrant
eptgrant

Reputation: 119

Tray icon not showing for application when running as Remote App

I've created an application in C# that displays an icon in the tray, this works fine running on my local desktop.

When I run the application as a "RemoteApp" the tray icon never appears. Is there something I've done wrong, or is this even possible?

Upvotes: 2

Views: 2266

Answers (1)

Miles B.
Miles B.

Reputation: 600

I do not think it is possible for an application running through remote app to display a tray icon on the client computer. Windows remote apps are just a specialized form of Remote Desktop Connection (try hitting Alt-Ctrl-End on one and you'll see the logout/task manager options for the server the app is actually running on). As such your application does not have access to the operating system services of the client computer, and thus can't put an icon in the system tray.

We have something similar at my office. We have an ERP system setup as a remote app on one of our servers that everyone uses and we have to install a program on each of the client computers to allow the program running through Remote App to access the client computer's hard-drive. And even then, when you go to save a file on the app, the "c" drive that comes up is the "c" drive on the server (they have to select their local hard drive separately).

Upvotes: 1

Related Questions