You can’t simulate keyboard input with PostMessage, at least not reliably use SendInput instead.
More Related Contents:
- How to provide user name and password when connecting to a network share
- How do I start a process from C#?
- How do I get output from a command to appear in a control on a Form in real-time?
- How do I determine the owner of a process in C#?
- How can I know if a process is running?
- Kill child process when parent process is killed
- Wait until a process ends
- Win32 API function to programmatically enable/disable device
- Working example of CreateJobObject/SetInformationJobObject pinvoke in .net?
- .NET Events for Process executable start
- How to find if a native DLL file is compiled as x64 or x86?
- Bring a window to the front in WPF
- How can a Windows Service start a process when a Timer event is raised?
- Using Process.Start() to start a process as a different user from within a Windows Service
- Async process start and wait for it to finish
- ShellExecute equivalent in .NET
- Check whether a path is valid
- How to execute a command in a remote computer?
- .NET – WindowStyle = hidden vs. CreateNoWindow = true?
- Is there Windows system event on active window changed?
- Get the active color of Windows 8 automatic color theme
- C# – Making a Process.Start wait until the process has start-up
- Monitor process start in the system
- Error in Process.Start() — The system cannot find the file specified
- What are some alternatives to RegistryKey.OpenBaseKey in .NET 3.5?
- How to check if the system audio is muted?
- Monitor child processes of a process
- To run cmd as administrator along with command?
- Why does StandardOutput.Read() block when StartInfo.RedirectStandardInput is set to true?
- How to kill a process without getting a “process has exited” exception?