Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using COM with Silverlight 4
Message
From
24/08/2010 21:27:18
 
 
General information
Forum:
ASP.NET
Category:
Silverlight
Environment versions
Environment:
C# 4.0
OS:
Windows XP
Miscellaneous
Thread ID:
01478069
Message ID:
01478278
Views:
42
Viv
>
>Have you set ElevatedPermisions :
>
>  <OutOfBrowserSettings.SecuritySettings>  
>    <SecuritySettings ElevatedPermissions="Required"/>         
>  </OutOfBrowserSettings.SecuritySettings> 
Yes I did. These are the settings:
<OutOfBrowserSettings ShortName="SL4Com Application" EnableGPUAcceleration="True" ShowInstallMenuItem="True">
  <OutOfBrowserSettings.Blurb>SL4Com Application on your desktop; at home, at work or on the go.</OutOfBrowserSettings.Blurb>
  <OutOfBrowserSettings.WindowSettings>
    <WindowSettings Title="SL4Com Application" />
  </OutOfBrowserSettings.WindowSettings>
  <OutOfBrowserSettings.SecuritySettings>
    <SecuritySettings ElevatedPermissions="Required" />
  </OutOfBrowserSettings.SecuritySettings>
  <OutOfBrowserSettings.Icons />
</OutOfBrowserSettings>


>
Even then I think you're limited to where you can write:
>http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/11/18/silverlight-4-rough-notes-trusted-applications.aspx
>
Craig mentioned this and that was the reason. Once I changed the path to c:\temp the sample worked.

>>
>>Now if I can only find an example of using XML data from a web service in a silverlight grid....
>

>Any particular difficulty ?

Basically i want to be able to read an XML file either on disk or passed to a method from a web service.

The reason is I am looking at implementing this control:
http://silverlightcoverflow.codeplex.com/
into a Silverlight OOB app.

The sample shows getting the data from the Apple website, and using a web service to download the images. But I want to be able to point the app to any folder on my local hard disk (or remote storage for that matter), with images, and it will then read in the list of images in that folder and generate the XMl and feed it to the control in the XML format required by the app.

Most similar code I found use a hard coded array pre filled or access a web service and is not generic enough for my needs.

Since I have only just recently started looking at Silverlight, this is beyond me, so was looking for some sample code to do what I want.

Thanks

Bernard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform