Silverlight, WPF or +GDI for Winforms?
Hi AllI have a winforms planning project using a datagridview, but I need more features and flexibility since it is going to be used on tablets as well, so I need fastness and graphic effects like...
View ArticleWindows session crashes when the 64K limit for GDI handles are reached.
Hello.I am experiencing Windows session crash when hit 64k limit of GDI handles.After some investigation, I found steps of session crash.1. When hitting the theoretical limit of GDI handles, DWM...
View ArticleImplementing INotifyPropertyChanged with a TabControl
I was reviewing this INotifyPropertyChanged example on MSDN. I have a tab control with multiple tabs. I want to use INotifyPropertyChanged on each tabpage by setting it up so when the user selects the...
View Articlefast grid to handle specific operation (selecting and coloring cells)
I have a task to rewrite in c# a program made in delphi (lost sources). The user creates a grid with a lot of columns and rows (150-200 of each) and paints the grid cells into red (by double clicking...
View ArticleHow to add #include and #define to a Windows Form Application
I created a simple Windows Form Application using Visual Studio 2012. I have successfully added simple functions that I can call from, for example, a button event.Now I want to add more functionality...
View ArticleApp Naming problem
Hello friends when I try to upload the App than at first step at naming there is message comes all the time like"We can't reserve a name at this time. Please try again later". What to do now???
View ArticleHow do i use the backgroundworker can't figure out why it's not working ? Edited
I have this class with this functions inside:using System; using System.Collections.Generic; using System.Linq; using System.Text; using OpenHardwareMonitor.Hardware; using System.Diagnostics; using...
View ArticleBadImageFormatException was unhandled
I got this below error in 64 bit operating system."Could not load file or assembly 'Microsoft.DirectX.DirectSound.dll' or one of its dependencies. is not a valid Win32 application. (Exception from...
View Articleproblem with adding items to combo box
ok i'm using visual studio 2012 vb, i am trying to get a combo box to accept different lists based on a returned value from a variable with a different sub. i have transfered the value of the variable...
View ArticleThe name '' does not exist in the current context.
I have a form with multiple labels that have currency values and I have a button that sums the totals in another label. I am trying to check for null values, but now I can't add the values because the...
View ArticleUse mod musicfile from Resource instead of playing from location on pc and...
To start: I DON'T have much experience with programming, so take it I don't understand a lot easily. refer to...
View ArticleTAB control and custom user control naming
Hello, I will describe the things I did. I added a tab control to the form container. after that, i created a new user control (with 3 textboxs and two buttons). I added the "new user control" to the...
View ArticleHorizontal scrolling in a CEdit without touching the selection
Hi,I have a single line CEdit. The text it contains is longer than the width of the CEdit. If the user selects all of the text and leaves the CEdit then the end of the text is shown.I want to show the...
View ArticleVS2008 in Windows 7 not opening applications Published/Setup
Dear AllI have done all my projects on below configuration :Windows XP SP3 and Visual Studio 2008 SP1Now i have moved to new environment with Windows 7 and Visual Studio 2008 Sp1Whatever i published...
View ArticleTeamviewer like Remode desktop control vb.net
Within my software i want to support the customer with a teamviewer like (with on exception - i want one way control. ie - only from my computer, i want to control the customer's) desktop control. all...
View ArticleHow do I sendkeys to a Metro Application like Netflix?
In VB.net, how do I sendkeys to a metro application like Netflix. I am referencing http://msdn.microsoft.com/en-us/library/ms171548(v=vs.110).aspx which is for the calculator desktop application. How...
View ArticleAnchoring TextBoxes within a Panel causes vertical alignment problems.
I have the following code in a loop which is adding TextBoxes to a Panel. (Note that the first TextBox is intentionally placed in the second slot - to maintain the correct alignment with TextBoxes in...
View ArticleImage Upload
Hi all,I have build Windows application vs2010 with c# DB( MS-Access).I need to insert image file to DB.Please give idea.
View Articledatagridview cell validation problem
I have a datagridview, in that when i press enter key at the last column of the row it creates a new row.First column name is code and last column is datagridviewbuttoncolumn named void. when i click...
View ArticleHow to add a combobox to an existing column of a DataGridView?
Hi all,I need to convert a DataGridView Column to a combobox. I know we can add a column as below DataGridViewComboBoxColumn cmb = new DataGridViewComboBoxColumn(); cmb.HeaderText...
View Article