Answer Questions
gnunezr Changing control's property -> Repaint!
I have a problem. If I change control's property (for example, Location, Size, Region, etc), I shall have twinkling. I need the following code: void Freeze() { // PLEASE CODE HERE } void Unfreeze() { // PLEASE CODE HERE } ... ... Freeze(); Location = someLocation; Size = someSize; Region = someRegion; // etc. Unfreeze(); ----------------------------------- Example o ...Show All
Brian Brashear User Control Problem
Hi all. I added a user control to my vs2005 project. Now, I want to use it on the forms that I need. The question is, shouldn't the user control appear in the toolbox I cant see the user control there, where can I find it, and how can I add it to a form on the same project Am I missing something Thanks in advance for your help Regards LFS Hi all. I found the solution ...Show All
Arasu Controls : avoid seeing my controls painting
Hi, Well, I built my own derived control from the Panel provided by Microsoft. Inside, I added various heavy controls, including graphics, complex grid etc... The matter is that when I update data, which is involving a graphic update, the user can see my child controls painting themselves. I'm looking for a trick in order to hide the painting of all my child controls and printing on the screen the final result. I hope you unterstand my english ...Show All
Remy Baek Customize Tabpage
Is there a bind a inherited tabpage to a inherited tabcontrol (the designer uses allways the standart tabpage...) Regards Hansjorg http://www.dotnetrix.co.uk/tabcontrols.html --> TabControl using custom TabPages. ...Show All
Warren POiD Overriding OnPaint in ToolStrip
Hey there, When trying to implement custom background painting in a ToolStrip control (System.Windows.Forms.ToolStrip) , I find myself having to add a bit of hack design. When the ToolStrip control's RenderMode property is System , there is always a grey line drawn at the bottom edge of the control. When RenderMode is instead set to Professional , there is a blueish thinner rounded line at the bottom and right edges. These lines seem to ...Show All
Gustavo Carrazoni DataGrid.CurrentCell between different datasource refreshes
Hello, I am using.. DNF 1.1 VS 2003 Windows.Forms.DataGrid (grd) System.Data.DataTable (dt, dt1) as a datasource Pseudo code looks like this Line1: grd.DataSource = dt Now click on any cell in grid to take it in edit mode Line2: grd.DataSource = dt1 // refresh datagrid with different datasource At this point, the cell from first datasource (which was in edit mode) still stays on screen. Any idea on how to completely clear dataGrid between e ...Show All
Idan Hollander Image on MDI Form
Hi EveryBody I have an Image on the MDI FOrm. When i show a child form of this MDI Form Image remains Front of the child form. I want to show child form front of the image. Is there anyway. Plz Help me Thanx ...Show All
JoeJ2 How can I check for Null dataset
I wanted to check for an empty dataset which is being returned from a datagrid. How can I do that Dim myDataSet As DataSet ' this code returns the dataset of datagrid dgmonth. myDataSet = CType(dgmonth.DataSource, DataSet) so I wanted to write if myD ...Show All
glenrm keypress events trap on datagridviewcell
I try to build a control to trap the keypress events when the user edit the cell in a DataGridView. However they are not generated. How I can make in order to control what key the customer presses sorry for the English language. check out this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=76290&SiteID=1 -mark DataGridView Program Manager Microsoft This post is provided ...Show All
Staehff Dynamic Connection String
I am writing a database application that is using an .mdb file on the back end. I want the connectionstring property to be dynamic and not hardcoded, so what I have done is binded that property to the .config file and default the key ...Show All
TommyB83 how to populate a datagridview?
how can i populate a datagridview without a database i'd like to use it as a list. You need to manually create the columns for the datagridview at either design time, or runtime. Check out msdn resources for "Unbound Datagridview" You'll also have to create the rows programatically. Here is the C# version //Create a New DataTable to store the Data DataTable People = new ...Show All
Ralph11234 Master/Detail Combobox in DataGridView (VS.NET 2005 Beta 2)
I want to create 2 combobox in DataGirdView which have relate Master/Detail together. Ex : 1. I have three tables in Database : Customer, City, District. - Customer (n-1) District by DistrictID. - District (n-1) City by CityID. 2. DataGirdView have 3 column : CustomerID, CustomerName, CityID, DistrictID. 3. In this DataGirdView i have 2 combobox which display City, District and they have Master/Detail Relation. This is my code ( ...Show All
Pparl0627 WSUS Install Failed
I am trying to install WSUS on Windows 2000 server. I installed database MSDE 2000 release A, then I installed SQL Server 2000 (32-bit) security patch. The install was a success. I checked to make sure the services are running before installing WSUS. When I try to install WSUS I receive an error A DATABASE SERVER COULD NOT BE DETECTED. I rebooted before I tried installing WSUS as well. Any Ideas ...Show All
Antal Pak Issues with MyApp.exe.config
Greetings, I have a VS2005 solution that contains a main executable and a number of auxillary projects (class libraries, etc). One of the libraries is a collection of business objects and their service agents, which use web services to marshall data between the client and the server. The issue we're running into is even though our web references' URLs are set to Dynamic, we are unable to modify them via the application's configuration fi ...Show All
superporky Stop DataGridView from re-drawing itself?
Hey everyone. I know this is probably a stupid question but it's been bugging me for several days now and I could really use some help. OK. I have a DataGridView on a windows form listing student names, majors, etc. If the user double-clicks on that datagrid, a separate form opens up with the fields for the user to be able to edit that record. Here is the code I use to fill the datagridview (on the main form): Public Sub GetStudentList( ...Show All
