I am creating an Add-in for Outlook 2010. Once the button is clicked, the email and subject will be saved to database (this is fine) and will also redirect to a URL. Could you please tell me how to do the URL redirection for VSTO? Not sure if that is possible. Thanks!
Share
You can use
Process.Start()to open the URL in the user’s default web browser as follows:Process.Start("explorer.exe", @"http://www.google.com");or more simply (as you found out):
Process.Start(@"http://www.google.com");To be clear, you’re not redirecting, just simply browsing to the URL in a new window.