Answer Questions
jjeffire Persisting settings
What is the best place to persist settings such as windows sizes, the previously selected values in combo boxes, etc I haven't done much winforms development but my understanding was that before .NET this kind of information was stored in the  ...Show All
Allwyn How can I resolve DataGridView and CDialog bug
To reproduce bug: Insert DataGridView into VC++ CDialog, using CWinFormsControl class. Set Grid::ColumnCount = n to show edit row. Run application. In DataGridView try to input any string into any cell and in edit mode go to an other application (by Alt+Tab or mouse click). When you go back, the DataGridView application will be not responding. If you want minimal sample project, please contact omega-skartashov@comped.it The bug is re ...Show All
Robert Hartley CellVaildating event escaped?
I put my DatagridView validation code in its CellVaildating() event handler and it work well. What I mean by working well is that its stop shifting the focus when invalid input is in that cell. However, I am surprised that an exception exist and I can press the toolbar button and raise the ToolBar_Clicked(), why How should I deal with it Thanks for the reply. Can I force cellvalidating event of datagridview in t ...Show All
Stefano Straus GDI+ Book
Hi I am have been doing GDI+ programming and am know looking to expand my knowledge with a book that goes in depth on how to use GDI+. Any suggestions Thanks Neil http://www.c-sharpcorner.com/Store/Books/0-321-16077-0.asp ...Show All
Rob-Nick Sample code not working in VB.NET ???
Tried to use this sample with the V1.0 Framework and 1.0.25.281 of Terrarium. http://www.windowsforms.net/Terrarium/docs/QuickStart/VBHerbivore.aspx Get the following error. "You must Define 'OrganismClassAttribute" attribute on your assembly". Thanks in Advance Dontec. Also, someth ...Show All
ShaneBough Return Not displayed properly
Hi Guys, I am a VB.net novice and this could be a silly question but here I go. I have played around with the task vision app and taken out the MS Webservice and put in another webservice (just to prove it can be done). After playing ...Show All
_Aristotle_ designer can't load form. Where is 'more information'?
after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or m ...Show All
rokana3 When does DataGridView really lose focus?
I'd like to do some processing on a DataGridView when it loses or gets focus. Normally, I'd hook up to the LostFocus and GotFocus events of the control (the DataGridView) to do this. However, DataGridView also generates those events when an editing control is opened or closed. So how can I tell the difference between a LostFocus due to some other control on the form getting focus vs the DataGridView control opening an editing control ...Show All
shahrul Find the calculated field in the datagridview
Hi In the Footer Section of datagridview i want to show th sum of particulars columns data How ca do this in with th datagridview Thanks in advance thanks for the direction But will u please write some code to understand wat u r suggesting How to find fileds to be calculated Wherre this total textbox will be placed. Thanks in advance What icemart525 mentions is the only way to do this as the DataG ...Show All
howudodat Clickonce vs. Updater Application Block
We have a rather large ERP system in .NET that we are writing. After considerable performance tuning, we have our main forms loading in 4 to 5 seconds on first load and and .5 seconds on second load. Obviously we are taking a big hit on the jit compiling and began looking at the new 2.0 ngen to see if that will increase performance. Ok, here is our problem. After adding clickonce to our application we learn that you can ...Show All
Neo2000 New designers for existing controls.
I'm trying to add new designers to existing controls. It needs a lot of subclassing to make it work: Ex: #if NETCFDESIGNTIME [Designer(typeof(DBDesigner))] #endif public class ComboBox : System.Windows.Forms.ComboBox { public ComboBox() : base() {} } Th ...Show All
Rick Sivernell Address DataGridView via ColunName
I have a bound DataGridView I can't address the columns via ColumnName. For example this fails: dgv("Last_Update_Date", 10).Value="test" Shouldn't that work assuming the cell can accept text dgv(2,10).Value="test" ' works The 2nd and 3rd fails also although s contains the proper string. Dim s As String = dgv.Columns(2).HeaderText Debug.Print(dgv.Columns(s).HeaderText) Debug.Print(dgv.Col ...Show All
Bilal Haider no- touch deployment - Updating dlls
Hi, I have an app that is deployed on an iis server. It contains an exe file and 5 dlls. When i rebuild my app I copy and replace the latest version of the dlls and exe file to the server. When the user goes to run the app b ...Show All
Granted Not Object-oriented solution of DragEventArgs
KeyState property of this Object is simple bitwise combination of <b>int</b> parameters, not enumeration, not collection. It is wrong, especially on the background of clear object-oriented, type-safed realization of most other objects in .NET ...Show All
Alemus Replicating VISIO Functionality (IMPORTANT)
I have to replicate VISIO's ability to create the FLOWCHARTS using VB.NET. Please provide me a basic roadmap, as to how should I proceed . I am new to GDI and am going through the basics through the material and source code availaible ove ...Show All
