Setting Value of combobox different than text
Hi,I populate a dropdown from a recordset of names. I need for the NAME to display but the value to be another column called PERNO. Here's how I populate it.ds = new SqlDataAdapter("select distinct...
View Articlewindow auto sizing issue
i have a window application , i want to run it any in resolution, an i also it won't alter position and space between controls.this is snap shot in first case but after changing the resolution it...
View ArticleOpen form
I want to close and open the same form again. My code is Form2 fm = new Form2(); this.Hide(); fm.ShowDialog(ParentForm); this.Close();The problem is that...
View ArticleCompare two datatable ..ignore case sensivity,,
Hi friends,,How to compare two datatable columns and ignore the case sensitivity..in c# windows application..
View ArticleI want to display a field from my current table and a field from other table...
I have three tables, appointment, prescription and medication. appointment table have relationship with prescription and prescription have relationship with medication. I already can get the field...
View ArticleBackgroundWorker for OnPaint stuff
I have OnPaint() function that does some rendering custom controls. But unfortunately it lags as i add more and more controls. Is there anyway i can make the OnPaint() as a background worker? For eg i...
View Articlei wan to merge two images getting from the openfiledialog and then new single...
i need your replies. Thanks in advance
View ArticleVery Strange Behavior Adding User Controls to a Panel
A NumericUpDown, when the value is increased, adds a user control to a panel. The same user control is added to a generic List. The Location of the user control is based on the Count of the List. If...
View ArticleHow to protect and license my Application?
I'm going to release a desktop application built in C# VS2008 Pro to my customer. I want to protect my application from copy abuse. My application is a SETUP.exe file that contain both the .exe and db...
View ArticleHow to protect my app?
How can i protect my application from Dissamblers/Decompilers??Some programs can decompile my app and show real code! but i know there are a way to protect from it, HOW?? thanks
View ArticleInstallation prerequisites for x64 and x86 in windows forms
hello a query to make an installer in windows forms 2010 installer project prerequisites can add 32 and 64 bits? and if so the installer itself to run on x86 and x64 processor you are installing the...
View ArticleHow to design a form?
Hi! How can I change the form design ? For example How to change the Close,Maximize,Minimize and other default buttons like DevComponents ?
View ArticleItunes gives Microsoft Visual c++ Runtime Library Error r6034
When I try to open iTunes, I get the Microsoft Visual C++ Runtime Library Error R6034. I tried to repair iTunes, but received the same error. I uninstalled iTunes and tried to re-install it, but am...
View ArticleWindows Forms and SQL Database Issue
When I publish my application, and install it on another computer (which hasn't got SQL server management installed) Will my datasets work?I have a .mdf file ?(which probably wasn't the best choice as...
View ArticleHow to implement IProtectFocus to keep CDHtmlDialog from drawing focus from...
I know IProtectFocus interface AllowFocusChange function could solve the "focus steal issue" when CDHtmlDialog excute the navigate() functions, but I don't quite clear about how to implement...
View Articlewhat is the best and optimised way to load controls dynamically in winforms C#?
I am building a winform Application. I have to create buttons dynamically based on data fetched from database. I followed following stepsCreated UserControlOn UserControl_Load event I fetched data from...
View ArticleFill Tree View dynamically from SQL Database using C#
Hi Guys! Please help me to populate a tree view from SQL database dynamically. I am very new to C# and step by step processes are welcome. I have two table formats given in the picture...
View Articlehow to show custom message on empty datagridview
in my window form, i showing details of category to users using datagridview but i also want to show a custom message when in my table there is no record found , then i want to show a custom message...
View ArticleNeed Help.. !! Problem With Windows 8.1 Dual Boot... !!
Hello... I have a problem with dual boot windows 8.1 pro and kali linux. GRUB is in MBR. i want windows to be in MRB. I want first windows to open and select the OS but at first kali opens. How to...
View ArticleWebbrowser control - Default Browser when IE7 retires
WebBrowser Control defaults the application to IE7, I wanted to understand how will it behave when IE7 retires.1) Will it default to IE82) Will it stop workingCan any one help me understand...
View Article