Controlling forecolor on wpf datagrid row at app startup
I am using VS2013 express wpf vb.net. On startup, I have the app populate a datagrid bound to an observablecollection, so that the datagrid acts like an activity log. I dynamically add rows to that...
View ArticleSystem.Xaml.XamlObjectWriterException when load an image of Resource
I'm using the .dll WpfAnimatedGif for load a .gif image in my project. I've installed the solution and load the image into the folder of application, in particular: /Image/Caricamento/loader.gif. So,...
View ArticleHow to catch window closing?
I'm trying to intercept the closing of a window and excute a code inside this but I can't. Can someone explain me where is the best solution?
View ArticleHow to insert image near text in wpf DataGrid c#
I made a code that populate a DataGrid. All working good, but now I want add near the field "name" an image. The link of this image is grabbed by a database. The image is on svg format, for this I'm...
View ArticleDataSet VB.net in a WPF-application
Hi all, I'm creating an app in which users can change information concerning existing streets. I will be using an SQL database and I was wondering how I can fill a DataSet and when the app closes,...
View ArticleHow to insert JSON values in DataPicker
I'm creating an application that allows you to manage events of football (football days), so I decided to organize all the games of a season for example 2014/2015 within a calendar. I never used the...
View Articlepls help how to remove xtra column or space in wpf gridview
attach is my image Attached Images Â
View ArticleStack panel of custome controls
i have a simple form with a stack panel docked to full screen size. On my stack panel I have 18 customer controls (square in size) Is it possible to resize the square so they will my form a run time...
View ArticleWhy does mediaplayer() cuts off my sound?
When using mediaplayer() and plays a 12 seconds sound file, it cuts off the sound. I can reproduce the problem this way: Code: Class MainWindow   Private Sub Window_Loaded(sender As Object, e As...
View ArticleWCF - Separation of concerns....
So I am finally catching up with the times and really diving into WCF. As usual, I take nothing slow and dived headlong into a project that requires me to utilize clear separations. So having spent a...
View ArticleWinForm Code to WPF
I have the following code which works in WinForms but I need to redo this in WPF. Can someone either please help me get started or rewrite this for WPF. WPF has a Image not a picturebox. Exactly what...
View ArticleViewBox doesn't display DataGrid correctly
I'm trying to render the entire contents of a DataGrid to any resolution, using the Viewbox, but there is something wrong and I can not understand what I'm doing wrong: Code: <Grid>...
View ArticleConfiguration of a Wcf Service: Web.config maxReceivedMessageSize not working...
To easy reproduce the error i have created a new wcf service called TestService. When i do a loop of 9999 times i get the desired message: The maximum message size quota for incoming messages (65536)...
View Article[RESOLVED] Thread, dispatcher - can't figure it out how to use it
Hi all I'm learning how to start a new thread so my functions and GUI not freezing, but I don't understand how to use it. I have made a small program that says what I put into the textbox, and while...
View ArticleMultiple Sites on WCF Service
Im having problems getting my WCF service to run with 3 possible domains http, https and www I can get it to work with any combination of just two but not all three at once. Currently I have it so I...
View Articletranscode regular WPF application into a MVVM
Hi, I am new to MVVM concept and i would like to figure out how to transcode the regular examples I found around the internet into MVVM coding style. Therefore I will present you a simple example of...
View Articlebinding problem
Hi, I started this week with some testing of wpf and xaml, but there a few things about binding that don't work. I looked on many places on google, but I can't seem to find an awnser on my question or...
View Articlecrossdomain.xml on WCF Service hosted by Windows Service
I am trying to make my Windows Service, which hosts a WCF service cross-domain compatible. After hours and hours of searching I was told that I needed to create another service which will load the...
View Article[RESOLVED] Multiple Sites on WCF Service
Im having problems getting my WCF service to run with 3 possible domains http, https and www I can get it to work with any combination of just two but not all three at once. Currently I have it so I...
View Articlesubscribing resources dictionaries to views
Hello all, I came across the following issue in my MVVM application. This is my MainWindow xaml where I am subcribing the MainWindowResources.xaml in the Window.Resources to obtain my Styles. Code:...
View Article