CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > .NET Programming > C-Sharp Programming
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    C-Sharp Programming Post questions, answers, and comments about C#.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old November 6th, 2009, 06:37 AM
    tramchand tramchand is offline
    Junior Member
     
    Join Date: May 2009
    Posts: 2
    tramchand is an unknown quantity at this point (<10)
    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#
    Reply With Quote
      #2    
    Old November 6th, 2009, 04:44 PM
    Shuja Ali's Avatar
    Shuja Ali Shuja Ali is offline
    Super Mod
    Power Poster
     
    Join Date: Jun 2004
    Location: Kashmir, India
    Posts: 6,803
    Shuja Ali has a reputation beyond repute (3000+)Shuja Ali has a reputation beyond repute (3000+)Shuja Ali has a reputation beyond repute (3000+)Shuja Ali has a reputation beyond repute (3000+)Shuja Ali has a reputation beyond repute (3000+)Shuja Ali has a reputation beyond repute (3000+)Shuja Ali has a reputation beyond repute (3000+)Shuja Ali has a reputation beyond repute (3000+)Shuja Ali has a reputation beyond repute (3000+)Shuja Ali has a reputation beyond repute (3000+)Shuja Ali has a reputation beyond repute (3000+)
    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.
    __________________
    Use [code]your code here[/code] tags when you post source code
    Search here before you post your question, someone might have already asked it before.

    My Articles
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > .NET Programming > C-Sharp Programming


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 02:49 AM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009