Is there a way to pop-up programmatically in the Microsoft Silverlight Configuration dialog box?

I create Silverlight 4 and I handle MouseRightButtonDown events and create my own ContextMenu (a class from the Silverlight Toolkit). I would like to add the classic Silverlight element to my menus and give the user the familiar option to launch the Silverlight Silver Configuration dialog. This dialog box allows users to manage application updates, webcams, permissions and storage. Therefore, I need a way to programmatically launch the dialog when I click on a menu item .

I can do it for Flash, and it looks like Microsoft will want to encourage developers to support this option.

Can this be done?

+3
source share
2 answers

Here is the answer that no one likes to give: no. There is currently no way in the Silverlight API to invoke the display of the Silverlight configuration dialog.

I would agree that such a function must exist.

Edit

In response to your additional question. In a raised SL4 OOB application, it may be possible to get a shell of scripts to run Silverlight.Configuration.exe. You will find this file at: -

% programfiles% \ Microsoft Silverlight \ 4.0.50401.0 \ Silverlight.Configuration.exe

+2
source

Please note that http://msdn.microsoft.com/en-us/library/cc645084(v=vs.95).aspx says:

Microsoft Silverlight "" . Windows :

32- : C:\Program Files\Microsoft Silverlight\VersionNumber\Silverlight.Configuration.exe

64- : C:\Program Files (x86)\Microsoft Silverlight\VersionNumber\Silverlight.Configuration.exe

Macintosh , : 1. Finder /Library/Internet Plug-Ins.

  • ( CTRL, ) Silverlight.plugin, .

  • /, Silverlight.Preferences.app.

, , , OOB Mac OS X ( ), , COM-, Silverlight Windows ( OOB, Silverlight 5)

0

Source: https://habr.com/ru/post/1743106/


All Articles