Open IE via C # & # 8594; mailto fails

I found some strange behavior, i.e. started with Process.Start()(.Net Framework) To reproduce this, follow these steps.

It is required:

  • C # IDE + Compiler
  • outlook (in my situation: Outlook 2010 - other versions should be the same problem, but not verified).
  • ie9 (i.e. 8 or 10 should also be "good")
  • those. should be the default browser (u may come back later ;-))
  • Outlook must be associated with mailto: links

Steps (success):

  • close all instances of IE and Outlook
  • open IE (32bit)
  • open url: mailto:foo@example.com

Result: Outlook launches

Steps (Failure)

  • close all instances of IE and Outlook
  • compile this piece of code System.Diagnostics.Process.Start("http://www.example.org");
  • execute code (IE should start showing an example page)
  • Now print or copy mailto:foo@example.comto your url-bar

: Microsoft Outlook ( - ) - WTF?

:

IE

  • (32 )

? , , , , .

+5
1

. Outlook Addin, .

---------------------------
MS Outlook Extension
---------------------------
The <Outlook Addin Name> MS Outlook Extension can't be loaded because Outlook is currently in use by another application. Please try again later.
---------------------------
OK   
---------------------------

Addin, .

- : http://www.codeproject.com/Articles/4051/Windows-Impersonation-using-C

, Addin, .

0

All Articles