MediaElement password limitation?
We have a WPF application that uses MediaElement to open stream URL on the network. It works perfectly until we point to URLs with basic password authentication. And the stream will not play with...
View ArticleHow to detect duplicate data that is not a primary key
I have a situation where a table represented by EF (database-first) contains a primary key and another field that can be left blank but cannot be duplicated. How do I validate that non-primary key...
View ArticleWPF and C# based Windows Application Software Registration and Licensing...
How to create 30 days trial version software and unique license key for single user Desktop/PC which will run for a year using C# and WPF.Musakkhir Sayyed.
View ArticleDataGrid Resize causes Ex: An ItemsControl is inconsistent with its items source
I have a DataGrid with ItemsSource bound to an ObservableCollection. I modify properties on objects in the ObservableCollection on another thread but I use Dispatcher.BeginInvoke to make those changes....
View ArticleHow to bind the viewModel to view
I have created wpf code in the main window ,now I want to use MVVM. I have copied all the data from the xaml main window to user control and created new class on the view model folder with the code...
View ArticleHow to bind check box, radio button and combo box in datagrid using WCF,C#...
I am using Datagrid to edit and delete the row from a Datagrid. I designed checkbox, radio button and combo box using datagrid Template Column, for e.g. <DataGridTemplateColumn>...
View ArticleUsing MVVM instead of main window for the following code
I'm using the following code which is copy pasted from the main window whichwas working as expected ,I have created View which is user control and put the code of the code from the main window XAMLIn...
View Articlehow to enable xaml browser application through problematically vb.net for...
Dear Exports,Below code is not working after deployment. we are using VS 2012 WPF browse application with VB scriptsDim i As Integer = -1 Dim s1 As String =...
View ArticleHWndHost BuildWindowCore and threads
In the docs for HWndHost.BuildWindowCore http://msdn.microsoft.com/en-us/library/system.windows.interop.hwndhost.buildwindowcore%28v=vs.110%29.aspx, which is the method you override to create your...
View ArticleQuestion about sorting a detail table
I originally posted this question here and was referred to this forum. I'm just going to start fresh here and ask this question again. Using WPF and EF, I used the EF wizard to create a master/detail...
View ArticleDefault Font in Pages
I have a WPF application with a frame and pages. I have a resource dictionary set in my app.xaml but cannot get the default styles in my resource dictionary to apply to my Pages. In the resource...
View ArticleHow to create dynamic event handler for MEF component events using only...
I have an application that is comprised of MEF components that are configured as a complete application at run time. The components have events that need to be reported to the main window's code. Since...
View Articleupload multiple image and video files at once using wpf with c# application
Dear All, How to upload multiple image and video files at once using c# with WPF application
View ArticleHow to return to the previous page, and keep previous page content.
Helloi having a search page, that sends the search term to the results page when search is pressed,i have seen it is possible to use NavigationService.Navigate to navigate around pages, however this...
View ArticleRibbonComboBox SelectionChanged not firing
I'm developing an app in .NET 4.5.1 WPF/C#. I have added the Microsoft RibbonBar to the main window. On it, I have a RibbonComboBox which I populate at runtime with labels. Wen the user selects an item...
View Articlevisual studio 2013 cannot find reference "Microsoft.ReportViewer.WinForms"
visual studio 2013 cannot find reference "Microsoft.ReportViewer.WinForms"
View ArticleQuestion about sorting Detail table
Someone posted almost the exact same question here. I attempted to use that answer in my situation but am not sure how to form the syntax. I'm using WPF and EF.I, too, have a master/detail situation...
View ArticleAnimate ListBox Items - Silverlight
Hello,I have been struggling with this for months and months now and can't seem to get my head around this.I have a Silverlight application with a listbox and a button in the app bar. The listbox has...
View ArticleProblem with saving InlineUIContainer items in a FlowDocument
Hi Everyone,The following code is displaying correctly in a RichTextBox but when I save it and reload it, the InlineUIContainer item is missing (other text and formatting is displayed as normal):Line...
View ArticleDatagrid colmun width * question
hii have a WPF app , in my main view i have a stack panel with 2 group boxes , each group box have a datagrid inside it look like this when i try to change the width of the last column "notesColumn2"...
View Article