Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TeamViewer affects Process.MainWindowTitle
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
TeamViewer affects Process.MainWindowTitle
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01598322
Message ID:
01598322
Views:
55
Likes (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
Reply
Map
View

Click here to load this message in the networking platform