Unable to load Silverlight project
I am trying to open a existing web application in VS2008. I am unable to load a silver light project. It shows the following error "The project type is not supported by the installation" ...
I am trying to open a existing web application in VS2008. I am unable to load a silver light project. It shows the following error "The project type is not supported by the installation" ...
I have a form: <StackPanel x:Name="LayoutRoot"> <sdk:ValidationSummary /> <sdk:Label Target="{Binding ElementName=Greeting}" /> <TextBox x:Name="Greeting" Text="{Binding Greeting, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}" /> <sdk:Label Target="{Binding ElementName=Name}" /> <Te...
In the /bin/debug folder of my solution I've noticed a slew of what appear to be foreign language folders with names like "ar", "bg", "ca", "cs", "da"... all the way to "zh-Hant". The folders each have copies of these 4 DLLs: System.ComponentModel.DataAnnotations.resources.dll System.Windows.Controls.Data.Input.resources.dll System.W...
I'm porting my application from WPF to Silverlight. The biggest problem is that my application uses RSA encryption and Deflate compression, and both classes are not available in Silverlight. I know that you can view the sourcecode of any .NET class using reflection, so would it be possible to just 'decompile' the RSACryptoService class,...
Is there any way in Phone7 to rename a file? I don't see anything in IsolatedStorageFile that exposes this functionality but perhaps I'm missing something? It seems like the best way to rename a file is to read its contents and write them to another file and then delete the original. ...
I'm using Expression Blend 4 to prototype a Windows Phone 7 app. I have a page that is supposed to display a news story. I'm having difficulty getting it to scroll down all the way in the emulator. I can only scroll the see some of the text box. Sometimes, when I make the ScrollViewer taller, I can actually scroll less in the emulator. ...
I know with Silverlight you can control the width and height of the Silverlight section within the web page. However, it seems like from what I can tell when you are using XBAP you give the entire browser page area over to WPF. Is there a way to have an HTML and have XBAP be embedded within a rectangle of that HTML page? Or is this on...
Okay, so, I've got a Silverlight app, and I'm trying to move an image around on a grid. I found that I could use Grid.Column and Grid.Row in the XAML to place the image in it's initial place. It will place relative to the grid because I have the image inside the grid tags. When I try to do the transformation from the code behind using...
I've been trying to trace down a bug for hours now and it has come down to this: Dim length as Integer = 300 Dim buffer() As Byte = binaryReader.ReadBytes(length) Dim text As String = System.Text.Encoding.UTF8.GetString(buffer, 0, buffer.Length) The problem is the buffer contains 300 bytes but the length of the string 'text' is now 28...
I am passing in a dynamic type into a method and having some issues running the code. Wondering if you are able to pass a dynamic object into as a parameter using the out keyword. Below is the code. dynamic btApp = AutomationFactory.CreateObject("Test.Application"); dynamic btMessages; dynamic btFormat = btApp.Formats.Open("c:\\Temp/...
I am using this class to login to my ria service from a form in Silverlight: System.ServiceModel.DomainServices.Client.ApplicationServices.AuthenticationService However, every time I login with option to persist my login status, it doesn't persist anything and I will loss my status after a IE refresh, and my service doesn't allow me t...
I am attempting to connect to an existing WCF service from silverlight (I have tried silverlight 4 and 3 so an answer for either would be great) that starts up via a windows service (though I am just running it from a command line project for the time being) rather than IIS and I am receiving the following error which looks as if it is c...
Hi, I have read that silverlight application will be downloaded as a XAP file on the browser and then the plug-in on the client machine will take care of executing it( pls correct me if I am wrong). If this is the case, suppose lets say my application has a button, and I have a click event on it. Now, If I clicks that button, will the e...
How i can get Current User. And how i can validate user via Active Directory by user and pass. ...
We have a WinForms application that we're planning to port to Silverlight. Obviously the UI will need to be totally rewritten, but we have a lot of business logic that's well-tested with NUnit tests. We use ReSharper to run the tests inside the IDE, and nunit-console to run the tests on the continuous integration machines. As we start m...
I've got a ChildWindow that rotates 180 degrees when I click a button. I'm also using a ChildWindow.OverlayBrush to dim out the parent window. This of course rotates as well when the ChildWindow rotates. Is there anyway to dim out the parent window without it rotating with the ChildWindow? ...
We have a Silverlight Prism project with complex state information stored in the browser bookmark. This allows us to share bookmarks/links which will restore the application to the exact same visual state. We do not however want trivial bookmark changes (i.e. non-navigation changes) to result in a browser history entry. Otherwise the br...
Within Silverlight 4 printing with the printing API will it "auto-scroll" covered areas? Excuse me if I'm not using the right terminology. For example, If I have a DataGrid and it has 10 items shown and 40 not revealved (but you could scroll to). Is there a way to print the whole DataGrid, rather than just the "screen shot" view. ...
I have a ListBox with an altered datatemplate (it contains a hyperlinkbutton and a textbox for each item). I would like the button to not be visible by default, but to turn visible when the mouse is hovered over that particular list box item. The XAML I have tried so far doesn't work and i can't figure out why (by doesn't work I mean it ...
Hello. I would like to stream videos, and save it to the hard disc using WPF MediaElement. For example, I'm using this code to play a video from the net: <MediaElement Source="http://some.url/video.wmv" /> I need to save somehow streamed media file to the hard disc. Can anyone tell me how this is done? Thanks! ...