I have my C# program. i want my program called teamviewer foreground and write some numbers. this time can call the teamviewer for foreground but can not write to it.
Already tried with senkeys but does not work!! the sendkeys works in notepad and calculator, but teamviewer does not work :/
[DllImport("user32.dll")]
private static extern bool SetForegroundWindow(IntPtr hWnd);
Process p = Process.GetProcessById(processID);
SetForegroundWindow(p.MainWindowHandle);
After this i want to senkeys to teamViewer....
someone can help me ??? Thanks