I am using VB.NET and need to activate a certain window. Is this possible? If so, how?
相关问题
- Generic Generics in Managed C++
- 'System.Threading.ThreadAbortException' in
- Inheritance impossible in Windows Runtime Componen
- how to use special characters like '<'
- how to get running process information in java?
相关文章
- vb.net 关于xps文件操作问题
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Bundling the Windows Mono runtime with an applicat
- Windows 8.1 How to fix this obsolete code?
- Checking for DBNull throws a StrongTypingException
- Using the typical get set properties in C#… with p
You will need to use the Win32 API to do this.
First, find window you want to bring to front by calling FindWindow to obtain its handle, and then use SetForegroundWindow API to bring it to the foreground.
PInvoke contains declarations for these methods.