Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I want to save unused applications which is in idle state(say 30 mins) in Windows Forms application.
From this, how can I save other application(process) using process. I used keystrokes. But its not working when application is minimized. So I tried to bring the application to front as ForeGroundWindow, using ShowWindow() and SetForeGroundWindow(). But Some site says, It'll work only on WinXP., Me & my client using Windows 7. How could I acheive this.? Any help would be appreciated as I don't have any knowledge on this.

Thanks,
N.M.Thyagarajan
Posted
Comments
Style-7 13-Apr-15 8:04am    
SetForeGroundWindow() works on Windows 8 too
Sergey Alexandrovich Kryukov 13-Apr-15 10:03am    
Why doing all that? "I want" is not enough.
—SA
Sinisa Hajnal 14-Apr-15 3:27am    
You could save application state and then on start check the saved state and reinstate it starting new processes along the way as needed.

Also, what have you tried to acoomplish this?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900