silverlight

Peripheral interaction via a web portal

Ok, I'm pretty sure this is a stupid question so I apologise in advance. I have never done anything with ActiveX, nor have I really got stuck in with what you can do with Flash/Silverlight, but what I am wondering is can either of these technologies be used to talk to external devices that are connected to a machine? I guess what I am...

using Siliverlight to animate one listbox sliding out and another sliding in ala iPhone

I want to slide listBox1 out and listBox2 in in much the same way as the iPhone Ui navigates in Mail from accounts to folders, to messages etc. I get the idea of recording storyboards in Blend, and triggering the play. What I'm stumped on at the moment is moving listBox1 out along the X axis, obviously I can change it's location but tha...

WCF Service and Silverlight 3 debug

Dear all, I have a WCF Service that I've added to a Silverlight project and is now hosting in Visual Studio's ASP.NET Dev Server. But tyring to run it I get the following error: System.ServiceModel.CommunicationException was unhandled by user code Message="An error occurred while trying to make a request to URI 'http://localhost:51...

Silverlight Video Player that plays .MP4 & .FLV

I am currently using the Silverlight 2 Video Player to stream videos. I have been very pleased with it but it only seems to stream .WMV files. Does anyone know if there is a good Silverlight video player that will stream other types of video files, especially .MP4 & .FLV? I would be happy to use Silverlight 3 if necessary. EDIT: Beca...

Best method for Website Automation?

Let me rephrase the question... Here's the scenario: As an insurance agent you are constantly working with multiple insurance websites. For each website I need to login and pull up a client. I am looking to automate this process. I currently have a solution built for iMacros but that requires a download/installation. I'm looking fo...

Silverlight/C# array of events

I am trying to create an array of textblocks. And I am trying to create a new event for each textblock that is created. I have no problem creating the array of text blocks however I am not sure how to create a "list" of events to go along with it. Here is the code I have so far. List<TextBlock> myList = new List<TextBlock>(); int ...

Siverlight talk to server using WCF

Hey I am doing an simple Siverlight app talk to server using WCF.When I run the app in visual studio,it works fine .However,when I hosted unders IIS,the data from the server will never returned. Can anyone shine some light on this and how can I debug silverlight app with WCF? ...

Incorporating a Windows Mobile, a Silverlight and a Web project under a common DAL (Ria Services)

I am in the beginning of my thesis, and I have to implement a solution about aggregating reports, obtained by a Windows Mobile application, to a central storage. Then, the available data are going to be presented through an Entity Framework model, using RIA services as a data access layer, for the Silverlight project. Can I utilize the R...

Silverlight Pixel Api

Lets say I have a black and white .jpeg image. How could I change the white pixels in the jpeg image to red using the hexidecimal format (ie going from #FFFFFFFF to #FFFF4F4B)? ...

How complex an object can be passed to silverlight from server, using WCF?

hello, Please note that my experience in Silverlight/.Net and WCF is about two weeks of googling and deciphering tutorials. I need to attempt and provide feedback to a client on if Silverlight will be a possible solution to their application needing a RIA front end. The client has a rather large .Net based application with a UI layer bu...

Upload a PDF file through Silverlight

I'm trying to piece together a library-like intranet website with silverlight. Is it possible to upload a pdf file from the client PC to the server? Also, I'd like to show the first page of the pdf file.. can I open the file on the server, take a snapshot of the title page and save it as a jpg/png thumbnail? How about get other informat...

Embedded images not showing when in a UserControl

I have an Image control that contains a path to an embedded image (build action 'resource'). <Image Source="Assets/images/image.png" Stretch="None" /> If I add that to a container in my MainPage.xaml the image appears fine. When having the same image in a UserControl as shown below, and then adding an instance of that UserControl on M...

Silverlight: Label does not evaluate Binding of custom DependencyProperty

Hi everyone! I have a Silverlight 3 Label which I connect to a ComboBox using the Target Property of the Label. According to MSDN the Label class iterates through the targets bindings and searches the sources for meta data to determine the content of the Label. This actually works as long as the target is a standard control. But if I u...

Entity Framework: "The member in the conceptual model is not present in the OSpace"

I'm using RIA Services July CTP in a Silverlight app and when I change the name of a navigation property I get the following error: Error 119 The Member 'TestUsers' in the conceptual model type 'MyModel.UserGroup' is not present in the OSpace type 'MyApp.Web.UserGroup'. Is there an extra step when changing the name to a navigation p...

Is it good practice to have a table referenced by two different entities?

I am building a application with these patterns: Silverlight, RIA, EF, Prism, SL Unit Testing. This project will have lots of entities and lots of modules referencing those entities. Each entity is in its own RIA Service Library along with the RIA domain service and associated metadata. I am running into problems when I reference a ce...

Using different versions of DLL in one application

I have a Silverlight Class Library that is being used by both Silverlight application and a regular C# WCF Service. The Silverlight application calls the WCF service to read/write some data. They both use the common library to manipulate the data being passed. Everything compiles fine, but when we run the application, the webservice t...

Need example of Flex or silverlight application that enables interactive drawing on a video

Hi, I am trying to evaluate which technology is best for my needs. I need to display a video I get from some remote device, and let a user interactively draw on it lines, polygons etc. I searched and couldn't find any existing applications with this ability (all the flash applications only displayed video). Could anyone point me to su...

Silverlight - Button Content does not refresh when binding to same instance but modified

I have a Button and the button content is binded to a custom class called MyClass Button button = new Button(); MyClass myClass = new MyClass() { A = 1, B = 2 }; button.Content = myClass; stackPanel.Children.Add(button); .... // later, on my running code Button button = (Button)stackPanel.Children[0]; MyClass myClass = (MyClass)button...

How to differenciate between Silverlight v2.0 and v3.0 assemblies.

I see that assemblies compiled with Silverlight SDK v2.0 as well as v3.0 both reference v2.0.5.0 of mscorlib.dll, system.dll, etc. How do I determine that assembly X is a v2.0/v3.0 assembly? ...

Silverlight 3 Browser Zoom Support, UI Stops rendering during zoom changes

Silverlight 3 now contains built in browser zoom support. The current problem I am facing is that it seems as if the Silverlight UI doesn't update (re-render) during multiple zoom level changes involving the (Ctrl+Mouse Wheel) or (Ctrl+) and (Ctrl-). This was found when testing with the IE8 browser, on a Windows XP SP2. At first I t...