CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    2

    Slide Show in C#

    Hi,

    This is extension of my previous question.

    Assume there are 5 or more open winword (microsoft word documents.) are open and minized.

    I need to write a program such that , it displaya the window title of all the open documents. User can select 1 or more documents. The selected documents must be brought to maxised state one by one in a fixed time period.

    Any idea how to do this in c#

  2. #2
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Slide Show in C#

    Actually both your threads have a common solution. You need to go through System.Diagnostics.Process class on MSDN. You can get the currently running processes, their window titles and handles just by using the members that are part of the Process class. You will also have to use ShowWindow API to activate the window.

    Go through the documentation that is provided in the link above and you will have most of it sorted out by yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured