-1

I have created windows Application in Visual studio and created a ribbon in outlook. All that is fine now I have to iterate the tabs from ribbon and find the created tab and again iterate inside the tab to find particular button. All this retrieval has to be done with redemption library. Can you please help me how to do it?

Dmitry Streblechenko
  • 62,942
  • 4
  • 53
  • 78
  • It that wen i click on a particular button it should internally iterate through the ribbon to find the required tab . I am not getting how to iterate using redemption library. I have imported the reference-- Microsoft Outlook 14.0 Object library ..anything else i have to import? – Soumya Chiniwar Feb 01 '16 at 15:02

1 Answers1

0

As far as I know Redemption doesn't provide anything for that, nor the Fluent UI. What is the final goal?

You may try to use Accessibility API to get the job done.

Read more about the Fluent UI in the following series of articles:

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
  • Using Outlook Add-in I have created Ribbon and Tab called "MY TAB" inside that tab i have a button called "CONNECT". Now i have one Windows Form application on click of certain button from the Form it should internally iterate through ribbon to find "MY TAB" .This could be done by redemption right? – Soumya Chiniwar Feb 01 '16 at 15:10
  • Why do you need to look for ribbon controls? What exactly do you want to reach in Outlook? Run it progrmmatically? – Eugene Astafiev Feb 01 '16 at 15:17
  • I have to Run through each of the Outlook toolbars and locate toolbar ‘MY TAB’ using Redemption Library. – Soumya Chiniwar Feb 01 '16 at 15:22
  • Yes i have to do this by the action of click of button on the windows form application. – Soumya Chiniwar Feb 01 '16 at 15:25
  • Why do you need to look for a button on the ribbon? What is your goal? – Eugene Astafiev Feb 01 '16 at 20:16
  • I have to connect to different application so my goal in the project is to iterate through toolbars and locate the Button "Connect" if it is there means it is not connected to the application if it not there means already connected. If found it should automatically take the action of click on to button to connect to different application. That is the goal – Soumya Chiniwar Feb 03 '16 at 07:38