Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TeamViewer affects Process.MainWindowTitle
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
TeamViewer affects Process.MainWindowTitle
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01598322
Message ID:
01598322
Vues:
54
J'aime (1)
On two Windows 7 Pro computers I noticed that with the TeamViewer client running the following code stops working.
var wordProcess = Process.GetProcessesByName("winword")
    .FirstOrDefault(process => process.MainWindowTitle.Contains(documentName));
Setting a breakpoint and inspecting single running WINWORD process reveals that Process.MainWindowTitle property is blank most of the times. While WinWord windows taskbar icon clearly shows the title.

Exiting TeamViewer restores the things back to normal: Process.MainWindowTitle every time becomes properly populated.

* * *
Tested with:
TeamViewer 9 ver. 9.0.27339, set for unattended access
MS Word 2007
Répondre
Fil
Voir

Click here to load this message in the networking platform