Answer Questions
Gabriel Petrovay Where are windows forms controls icons stored?
Hi all... I have a custom control that I want to assign an icon that is similar to the icon of a control already present in VS 2005 toolbox but with a little change so I need to create a copy of it and made the modifications. I was searching for all Windows.Forms DLL's but I couldn't find them. Can you point me to the right file that stores these resources Thanks Jaime Get the reflector: http://www.aisto.com/roeder/dotnet/ ...Show All
Alex Bogli Need help using a Component I licensed am stuck.
Hi I created a component and set a License for it. And then added it to my Toolbox. When I drag it onto my form it tells me that I need to contact the Control developer. Great lol thats me. How do I use a control that  ...Show All
specialk92282 Host Designer
I'm following the article http://www.divil.co.uk/net/articles/designers/hosting.asp Ok well it's a pretty simple question. lets say I have a control with a Child_Form property ok, how to I select another form if only one is loaded in the host at a time. I f ...Show All
Vasco Marques Arithmetic operation resulted in an overflow Error
Hi All, I am developing Windows Application.I inherited one form.The main form is not displaying. Error is "Arithmetic operation resulted in an overflow". Please solve this problem. Thanks & Regards Srikanth You will need to provide some more information. See http://blogs.msdn.com/shawnfa/archive/2005/08/31/458507.aspx ...Show All
Florain GDI plus in .net 2.0 advantages
I have a winforms app in .net 1.1 that extensively uses GDI instead of controls on forms, as there is lot of content. Now, we are migrating to VS 2005 on .net 2.0. What are the features of the GDI+ in .net 2.0 that I should look at leveraging How different is it from the GDI of 1.1 Mattias is right. In fact, there has been a move away from GDI+ for rendering text in controls. A lot of controls have a new prop ...Show All
Tony Marzullo DataGridViewCell - ForeColor based on cell value
Hi, I have an unbound DataGridView and I need cells that contain double values to change their ForeColor based on a specific value in the cell. So, naturally, I'm inheriting my own cell from DataGridViewCell, add a couple properties and override GetFormattedValue. So, whenever GetFormattedValue is called, I check the value and give appropriate ForeColor. This works fine, except when I want to use a custom DefaultCellStyle.Format for my own DataG ...Show All
noiseunion Implementing copy and paste for multiple cells in datagrid
Is there a way to implement copy and paste for multiple cells ie. like excel, where I can select a group of cells and paste it into another spreadsheet. I'm looking for some way to maybe copy a set of data from an excel spreadsheet then pasting it into my datagrid in my form. When I do that now, it pastes all the data into one cell and not over the required number of cells. Any help would be greatly appreciated. Thank you. ...Show All
MMikhail Start Up Form
Ok, another easy one.... How do you change which form begins when the program first runs Thanks, Zath Yes, that's the first place I looked, in the form properties but can't find anything there. I am using VS.Net 2003, windows application project, and C#. Thanks, Zath Thanks! All the coding I have done, should have thought about the main(). Zat ...Show All
Sculli can't understand error...
Hi, This is what I'm doing: DataTable consTable = new DataTable("Table1"); consTable = this.dataSet.Tables["Table1"].Copy(); DataRow[] consRow = consTable.Select("ID<>'"+Int32.Parse(this.idForm.idLabel.Text)+"'"); foreach(DataRow row in consRow) { row.Delete(); } this.consultasForm.SetDataBindings(consTable); I copy ...Show All
LtCondor TextBox's efficiency
Hi, there I put a string in a TextBox, the string.Length is 60000. It spends 10 seconds, Label is the same. why Thanks... Probably the call to MeasureString would be my guess. ...Show All
Christian Malatesti Exception Handling
A Try-Catch block in 'OnThreadException' does not execute the 'Catch'. Instead an unhandled exception 'Send Report' dialog pops up. What am I missing or doing wrong The code looks like this: static void OnThreadException( object sender, ThreadExceptionEventArgs t){ try { Exception e = t.Exception; string message = e.Message; if (e.InnerException != null ) message += Environment .NewLine + Environment .NewLine; ...Show All
Display Name&#42; How to change size of a datagrid width to the size of a tabelstyles in Visual C# 2003 .NET?
Hello Someone out there to tell me how I change the size of my datagrid to the size of the table styles Then I not have a area in the datagrid with no data or columns, but so the datagrid width customize with the table styles width, how to do that Someone to help me or give me a hint Thanks spot ...Show All
Hardi showdialog, modal.
Hi, I have a menuForm that launchs appForms. appForms are totally independent forms, the user can work in several appForms at the same time. My problem is when one of the appForms shows a MessageBox or any modal form, all other appForms and mainForm are blocked. i'd like only the form that show the MessageBox blocked, so user can work in others appForms. I use a system to imitate modality so only the parent form is blocked. Using the activ ...Show All
Juan Escalante Outlook EMail Synchronization
Hi, I've got a program in VB.NET which is run by a Windows Service. Since this is deployed along with the service on the file server which has an SMTP Service running and also has a mail client, as in Outlook 2000 - I wanted to w ...Show All
CDL update TextBox bound to DataView
Good morning, I have some TextBoxes bound to a DataView. If the user makes any changes in the TextBoxes, I prompt to save or cancel before moving to another record. Here is the code if the user chooses cancel: else if (this.bolChangedAcct ==& ...Show All
