Answer Questions
Hari M Application icon
I want to place a self made application icon in the top left corner (left to the name of the application). On a design form I choose a path to icon, but the system does not recognize it. The icon is .ico file. What is a problem and how can I place an icon there When you say the system doesn't recognize it, what do you mean Have you tried opening the icon itself using Visual Studio, or another Icon Editor ...Show All
garrywilliam Problem using custom DataGridColumnStyles with DataGridTableStyle
I have a user control which includes a Datagrid that needs one column for each hour of the day for five categories... so my datagrid would have 5 rows and 25 columns. The 1st column is the category name and is no problem. Columns 2-25 store the hourly figures and what I want to do is use a custom DataGridColumnStyle on these but when I try to cast the DataGridTaleStyles.GridColumnStyles for each of these columns to m ...Show All
Christophe Lusardi how to give value to parameter in a query of dataset in C#.net2005?
I am in C#.net2005 I have a listbox bound to a dataset, in the dataset, I built a new query: SELECT ServiceID, ProductDetails, ServiceNotes, ServiceCharge, DeliveredDate, CustomerName FROM [Freedom Scooter Service Reminder] WHERE CustomerName = "@CNAME" AND DeliveredDate IS NULL in Code, I want to give value to this parameter "@CNAME" , so that the listbox will show the records with given CustomerName. by the way, the value of ...Show All
Kimber20 xml to propertygrid...
I know this is quite a large question, but I have been looking on google for ages to find a tutorial / example to cover this, and had no joy. I was wondering if anyone has got an example of how to populate / create properties&nbs ...Show All
C#2006 Radiobutton Databinding Driving Me Nuts
I'm two days into trying to solve issues with databinding radiobuttons and I'm really hoping someone (anyone) can help. As a newcomer to VB, this is proving to be the most challenging issue I've come across. Hopefully it's an easy fix for the more experienced. Here's my problem: I have two radiobuttons on a form. One radiobutton is labeled "Yes" and the other "No". I databound the checked property of the "Yes" radiobutton ...Show All
scndsky CheckedListBox Only Check One Time
I know this is an easy thing but instead of coding a work around is there an intrinsic method to force the CheckedListBox to only allow one time to be selected Or has anyone already coded a workaround Thanks. I'm go ...Show All
zenguitar Application.DoEvents is Evil ...Help
I have two progress bar to show two background process...to keep form responsive i used Application.DoEvents but its not worth it. When I start my first background process the form is responsive due to Application.DoEvents() so i start another process ....but it stops 1st thread and starts the second one....after completing second one it starts first one.. How to run them simultaneously....with form remaining respnsive. i guess ...Show All
PaulFila DataGridView and TabControl bug?
I've come across some odd behavior involving DataGridView controls and TabControls. Have I stumbled across a bug, or is there something I don't understand about these controls My app uses a TabControl with five TabPages. Each TabPage has its own DataGridView, which I bind to DataTables in the main window's FormLoad event. I set the HeaderText property of each column of the DataGridViews at run time, because I don't know in advan ...Show All
Humayun Shabbir Refresh DataGridView after sorting
Hello, I am dealing with a really strange behaviour after sorting a bound column on a DataGridView. I have debugged everything and the Sort procedure is working just fine, the thing is that if I perform the Sort the grid is not updated, but if I ALT+TAB to get out of the application and then ALT+TAB back to it, the data is now sorted . Somehow, I need to refresh the Grid or the BindingSource. Any ideas private void dataGridView_ColumnHead ...Show All
MariaR form object not displaying
Hi. I'm writing a chat program that involves sockets and windows forms. I have a socket object that connects to a server (TCP/IP), listens for any messages from the server, and instantiates a new windows form object (upon receiving a special message e.g.: BEGIN_CONVERSATION). The socket object continues to listen for more messages from the server. I have written a simple windows forms class ( public class ConversationGUI : System.Windows.F ...Show All
percramer hold a key...
is there a way to "codely" press and hold down a key for x amount of seconds I think the functionkey is a special key really. You could maybe try {fn} here is the documentation, with some examples and scenarios, of the sendkey's class http://msdn2.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx Great explaination and examples! One thing not in here is a way to effectively ...Show All
Kristofer Liljeblad Code Snippet: System.Component Model Namespace
This is simple stuff but I had to search the web for days before I figured out how to document my UserControls and Components properly. This Public Property will show up in the Properties dialog box under the "Ape Functionality" category, ...Show All
Mundru master Detail relation in datagrid
Hi all I have a Datagrid on the windows form. I created a two datatables and bind them to the datagrid.These are master Child tables. Now when I bind the Main table to the Datagrid. I get the + sign on the left which can be expanded to&nbs ...Show All
DPOMT Smart Client Application
hi frnds, I dont know if this is the right forum for my query , but i want 2 know abt the Smart Client Application and any links related to that . Thanx in advance. ya the link s helpful thank u for that The below link is to the MS Smart Client Developer Center. It should have all the resources you're looking for... http://msdn.microsoft.com/smartclient/ Good luck ...Show All
Mike B. ... cannot be set on a data-bound DataGridView control
Hello, I am begginer and i Have application that is displaying querries in datagridview. But in some part of application i want to display more custom data (SUMS, SUM of certain column where only negative numbers are summed etc.). I am displaying more simple data with : grdDataAll.AutoGenerateColumns = True grdDataAll.DataSource = objDataSet grdDataAll.DataMember = "my table" and more custom data with manually filling same dat ...Show All
