Profile file not getting created with ProfileOptimization.SetProfileRoot
Hi,I have a wpf plugin based application. For some reason profile is not getting created with SetProfileRoot. I have spent enough time but couldn't get any clue. I was wondering if someone can point...
View ArticleIs WPF dead or going to be
I read this article and not sure if its worth learning WPF in case its not used in future - anyone got any thoughts?http://www.theregister.co.uk/2010/09/09/microsoft_html_5/
View ArticleUpdate a WPF Application
HiIs there no "normal" way, to Update a C#/WPF Application out of the Box? I'm not interested in ClickOnce (I don't want for every user different installations in the User-Appdata). The Programm should...
View ArticlePack URIs does not work in a custom control library
I have created a custom control library.In project folder, i have two folders: themes and styles.In themes folder have 2 files: generic.xaml and newwnd.xamlIn styles folder have some files(colors,...
View ArticleDataGrid Focus from code?
Hi,I have DataGrid as follows;<DataGrid Name="dg_results" CanUserAddRows="False" CanUserDeleteRows="False" CanUserResizeColumns="True" CanUserSortColumns="True" CanUserReorderColumns="True"...
View ArticleUpload to and download from Skydrive account from a WPF app
I am trying to list the folders and files in Skydrive account from a desktop app. I have used web browser control and oauth for authentication. To be able to upload and download files from the account,...
View ArticleLoading XPS file into DocumentViewer
Hi, I'm trying to load one XPS file without success:Dim document As New XpsDocument("c:\puesto\prueba.xps", FileAccess.Read, Packaging.CompressionOption.NotCompressed) Dim fixed As...
View ArticleWin 8.1 / Win Blue DPI - WPF - How to find independent monitor/display's DPI
I have a Win 8.1 system installed on my system. I used to findDPI based on following calculations in my WPF App (Win 7): Matrix m =...
View Articleinserting text, custom tags into a RichTextBox
I am trying to insert a custom tag that I wrote by subclassing the Run class into a RichTextBox's FlowDocument, but cant seem to find out how to do it. Anyone know the anwer this one? Also, how fo you...
View ArticleCreating Custom Tag via Custom Control for WPF RichTextBox
I need to handle custom XML tags inside a RichTextBox and have them display their text adorned with a glyph such as can be done in Adobe InDesign Story Board Editor. My first thought is to subclass a...
View ArticleCustom Controls and Xaml TextDecoration
In the translation (SDL Trados) and publishing (Adobe InDesign) domain when translating or typesetting text one can create and add custom XML tags containing text. When viewed one sees some kind of...
View ArticleSave a picture in the wpf application
I need help about opening a file from the harddrive and be enable to save it into my WPF application without using database.it is okey to save the address to the picture in the database. How should I...
View Articlehow to save/retrieve picture as byte from image control using c#.net wpf and...
how to save/retrieve picture as byte from image control using c#.net wpf and ms Access(object OLE)?
View ArticleBorder with CanResizeWithGrip behavior
How can I add CanResizeWithGrip behavior to a Border control?I have an Image in a Border and want to clip the size of the image by gripping the sides of the border and moving them inward.thanks,
View ArticleLoad Usercontrl by name in WPF
Hi All, I have a WPF page with a contne control on it. Currently I am loading the usercontrols in it, on clicks of two different buttons, in the following way : ContentWindow.Content = new...
View ArticleSave Video with shader effects from webcam
Hello, I am working on a application which is having features to save Images and videos from webcam with shader effects. I am using WPFMediakit for the same. I have done Saving Images with effects,...
View ArticleBinding to custom property's attribute.
Hi. I have a custom attribute with Boolean property and i have a class with a property which has that attribute. All i need is to get access to that attribute's property from xaml. Thanks in advance.
View ArticleEdit Content in Winform ElementHost
Hi all I hope someone can help me to understand ..In my example i have a winform + elementhost If i try to add some object into elementhost it doesn't work and nothing happensHowever if i add some...
View ArticleApplication crash
The application is built base on WPF. The application runs normally but there are five times crash in one year. Some crashes occurred during the application is being used, some are occurred when no...
View ArticleMediaElement high cpu
I'm facing an increase on cpu usage when using MediaElement. The weird is that in one screen I use 4 small MediaElements and the cpu doesn't increase.When I move to another screen where MediaElement is...
View Article