Read xml File with counter
I have a question, but I posted it on the wrong forum. This is the...
View ArticlePRISM with multiple Shell
Hi,I am using PRISM 5.0 with Unity.Currently I had one Shell with different region layout and user controls. These user controls are loaded in region.Now I want to create another Shell with completely...
View ArticleHow to create a custom listview with a specific listview item style?
Hi everybody, I am trying to implement a custom image gallery. It has a very distinct design though, It supports drag and drop reordering. Each item has a button on the left and a thumbnail. The drag...
View ArticleXBAP HostScript new Window
I'm running into an unusual one that I can't explain and hoping someone can enlighten me. I've got an XBAP app that interacts with the default.aspx (ASP.NET) page through the...
View ArticleHow To Add Buttons To Specific Cells Of Grid In WPF
I want to add buttons to specific cells in a grid with 7 rows and 7 columns.I tried to do it like in C# but it's not working out.I did:for(i=0;i<=7;i++) for(j=0;j<=7;j++){Button b=new...
View ArticleUsing LocalDB as file-based data persistence in Windows Application
Hello,We have a large Windows application (MFC C++) that has traditionally been file-based (using a non-Microsoft file-based database technology). We are migrating it to be a multi-user enterprise...
View ArticleHow to notify TreeView about the changes in PropertyGrid
I would like to implement this solution. When I select an item in the TreeView it is available for editing in the PropertyGrid. When I make changes using the PropertyGrid these changes will...
View ArticleShortcut only in some cases
hi! I have 2 buttons (btnDelete and btnClear), which are activated when an item of a listview is selected. Each button has a quick access.<Window.InputBindings><KeyBinding Command="{Binding...
View Articleprint Dotmatrix printer in C#.NET in VS
i want to print in dot matrix printer the bill i created in c# .NET...Whats the code
View Articlehow to work a integrated camera on my computer in wpf(c#)?
Hi all,I have need to open/access integrated camera on my computer through pragmatically using .Net classes. and give raw data to manipulation it.Same work done in windows phone by usingPhotoCamera...
View ArticleGet stuck to Drag&Drop in this case
Hello,i am developing a Form where the user need to drag and drop between Grid,StackPanel etc. some data you can see the code below :<Grid...
View ArticleHow to extract data from .xltm file in a (dataset, datatable or a list) using...
Hi all,As we can get data from .xls, .xlsx file in a dataset. Now i want to read all the entire data from .xltm file.I also want to get all sheets name from .xltm file. I am using .Net framework 4.5,...
View ArticleHow to Format DataTable Column after load Datatable without extra loop ??
How to Format Column after load Datatable without extra loop ??I dont want to do extra logic which can cause performance thing.I have datatable which get fill from Dataset after database query, now i...
View ArticleVS C#.net Windows Application Project Cant connect Database on another System.
I Developed a Library Management System On VS in C#.NET as Windows Application.its Three tire Architecture...the BackEnd is MS SQL Server 2008 R2...When I give the following as Connection String,db is...
View Article[wpf]how to get merged column headers in datagrid?
like this , top header includes some headers ?how can we get that?
View ArticleI don't hope group also sort by clicking head in datagrid
Hi all,I create a datagrid, binding with ViewModel. Then set the SortMemberPath to the property in ViewModel. At this time, everything is ok.Then I add group for the rows. The question is that the...
View ArticleRemoving TabControl's Selected TabItem's bottom border
Hi, Please let me know how can i remove the selected tab item's bottom border of my tab control.I tried with the below code but it did not work.<Trigger Property="IsSelected" Value="true">...
View ArticleWPF Button Images (Left/Middle/Right) ... How?
in WPF, I am trying to create variable width buttons with left, middle and right images.Example: http://i.imgur.com/3qtSHBW.jpgThe left/right image width will be fixed, but the middle section will fill...
View ArticleProblem Hosting an ActiveX which starts VB6 Forms in WPF
We need to “host” an older application written in VB6 into a WPF Shell. We need to make sure that this app is part of the new WPF shell.The older app consists of:1)ActiveX component that shows a grid...
View Article" Exception has been thrown by the target of an invocation "
hello everybody i have problem with new entity version 6.1.2 when i use it and run my program after running visual program show me " Exception has been thrown by the target of an invocation " could you...
View Article