none
How to know Acrobat Reader Running Instance ? RRS feed

  • Question

  • I would like to know how to detect through c# programming if Acrobat Reader or Adobe Acrobat Professional is actually running.

    Thanks a lot.
    SVT Gdwl
    Friday, May 15, 2009 8:52 AM

Answers

  • string proc = "Adobe";
    
    Process[] processes=Process.GetProcessesByName(proc);
    
    
            if (processes.Length > 1)
            {
                   MessageBox.Show("Adobe is running");
            }
    



    Thanks,
    A.m.a.L
    .Net Goodies
    Remember to click "mark as answered" when you get a correct reply to your question
    • Marked as answer by Harry Zhu Tuesday, May 19, 2009 4:36 AM
    Friday, May 15, 2009 8:57 AM

All replies

  • string proc = "Adobe";
    
    Process[] processes=Process.GetProcessesByName(proc);
    
    
            if (processes.Length > 1)
            {
                   MessageBox.Show("Adobe is running");
            }
    



    Thanks,
    A.m.a.L
    .Net Goodies
    Remember to click "mark as answered" when you get a correct reply to your question
    • Marked as answer by Harry Zhu Tuesday, May 19, 2009 4:36 AM
    Friday, May 15, 2009 8:57 AM
  • can we get the reference of the file for which the AcroRd32.exe is applied. If so, How?
    SVT Gdwl
    Friday, May 15, 2009 11:16 AM
  • Hi,

    The question relating to files opened by AcroRd32.exe is beyond the scope of this forum.
    You might need to refer to the support of the product.

    Harry


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Tuesday, May 19, 2009 4:39 AM