Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet windows forms > october 2004 > threads for thursday october 14

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

background images sooo slow
Posted by Andreas van de Sand at 10/14/2004 11:00:51 PM
Hi all, I'm working on an application and want to use background images for forms and controls. Using the images itself is not a problem, but when I run my application it becomes really slow and my CPU usage goes up to 100% for a time... Is there a better way of setting background images?...more >>


tabPage.Focus() doesn't work?
Posted by Torben Philippsen at 10/14/2004 9:42:17 PM
Hi, I have a TabControl in a WinForm witn two tabs. At some point I want to switch focus from the first TabPage to the second TabPage. The documentation says that any control (which seems to be the case for the TabControl) that derives from Panel aren't selectable. Since I think this is ...more >>

Key Handling, Alt+Down Arrow
Posted by jason at 10/14/2004 8:55:26 PM
hi, I need to trap combination keys Alt+DownArrow in KeyDown events, but without any success. Here is the code : private void myTextBox_KeyDown(object sender, KeyEventArgs e) { if(e.KeyCode == Keys.Down && e.Alt) { MessageBox.Show("Pressed"); } } Thanks. ...more >>

simple binding of controls to object properties - refresh controls
Posted by Rua Haszard Morris at 10/14/2004 4:13:05 PM
I have a dialog with controls bound to class properties, e.g. : numericUpDownPort.DataBindings.Add("Value", localOptions, "Port"); textBoxDatabaseName.DataBindings.Add("Text", localOptions, "DatabaseName"); textBoxDataUsername.DataBindings.Add("Text", localOptions, "DataUsername"); - i.e. loca...more >>

Change Windows Class Name
Posted by petalsidhu NO[at]SPAM hotmail.com at 10/14/2004 4:03:03 PM
Is there a way to override the forms default window class name .. (WindowsForms10.Window.8.....) ? I tried to override CreateParams but got an exception System.ComponentModel.Win32Exception "Invalid window class name" Can someone please help as my app needs to be located by a c++ app which...more >>

ComboBoxes and the sorted property
Posted by ScottBH NO[at]SPAM online.nospam at 10/14/2004 4:01:06 PM
Discovered a fun one that I thought I should share, and hopefully catch Microsoft's attention to update some documentation. I'm a bit new to VB.NET, and was struggling with getting a combo box to work. I was attempting to take advantage of the cool way to load a combo box via a datasource, ...more >>

DataGrid
Posted by Newbe at 10/14/2004 3:45:08 PM
I need help in a bad way. I have a form with a datagrid in it coming for a Access DB. I have 3 columns, StudentName, Address, Phone. I am using Me.bindingcontext(School11, "Student") to bind buttons like first, next ect... I have a button Add/Edit and Update to Disk and Insert I have no i...more >>

Strangeness in OnPaint
Posted by dominique at 10/14/2004 3:24:18 PM
Hi, In windows forms (vb.net), i use my own controls subclassed from base controls and i override the Onxxx methods. for example: Public Class MyBouton Inherits System.Windows.Forms.Button .. Protected Overrides Sub OnPaint(ByVal pe As System.Windows.Forms.PaintEventArgs) ...more >>



Event log is full
Posted by YBraker at 10/14/2004 3:04:02 PM
I have an app that catches errors with Try Catch blocks as follows: Catch ex As Exception Dim Event1 As New EventLog Event1.Log = "Application" Event1.Source = "QuickCheck" Event1.WriteEntry("Error in PlayBalance_EnterEvent. Message is: " &...more >>

DataGrid - Not allowing additions?
Posted by Chris Ashley at 10/14/2004 3:02:57 PM
Is there any way to stop users from being able to add new rows to my datagrid while still letting them edit existing rows? ...more >>

how to change the cursor to arrow when hovering over selected text?
Posted by assaf at 10/14/2004 11:40:46 AM
hi all i wrote a simple text editor. i am able to select text, and drag/drop it onto other text editors. however, when the mouse hovers over the selected text, before draging it, it remains an IBeam. this is not desireable behaviour. users expect the cursor to change into an arrow, wh...more >>

Question about WinForms Timers and calling Control.invoke
Posted by Ken Varn at 10/14/2004 11:26:13 AM
I have read a few messages concerning the use of windows timers and have some questions concerning them. One of the messages hat I read stated that timers are called on a separate thread. If this is true, is it necessary to call Invoke when accessing forms controls within the timer function? ...more >>

ShowDialog() problems
Posted by Tom Stratford at 10/14/2004 10:45:03 AM
In efforts to upgrade dev environment to VS.Net 2003 w/FW 1.1, I have done the following: On a new computer (leaving old environment alone): -Installed the SourceSafe Client (with NetSetup) -Set a label across all objects in the archive marking where dev environment is being upgraged -In...more >>

Tab Control Question
Posted by Fred Herring at 10/14/2004 9:47:01 AM
I use tabs quite a bit in my application. I need to be able to highlight or change the background color of not the tab sheet but the tab button or tab buttons. Is there anyway to do this or is there a third party managed code component with this feature. Fred...more >>

Easy way to datatype validate TextBoxes
Posted by Frank M at 10/14/2004 9:19:03 AM
In a form I have a number of textboxes that is to receive different types of data from the user. I can of course validate what has been typed in when the user press the Ok button by parsing through the contents of the individual textboxes. However, the .NET framework being so extensive, I was ...more >>

Can't wait for other process to finish
Posted by Brad at 10/14/2004 8:42:17 AM
I want to start another process in code, wait for it to finish, then continue. No problem, I do the following: prcs := System.Diagnostics.Process.Start('E:\blah.txt'); if assigned(prcs) then begin prcs.WaitForExit; prcs.Close; end; This works fine if my default applic...more >>

Autocomplete combobox with dropdownstyle set to dropdownlist
Posted by venugopal.M at 10/14/2004 2:45:01 AM
Hi, I have seen many autocomplete comboboxes but with dropdownstyle set to dropdown. But i want an autocomplete combobox with dropdownstle set to DropDownList. Any help will be appreciated. Thanks in advance. regards, Venu....more >>

Parse method never called when data binding from class property to textedit
Posted by webstuff NO[at]SPAM urbanperspective.net at 10/14/2004 1:08:29 AM
I'm using C# and having problems getting the 'Parse' EventHandler of my binding object to be called. Interestingly, the 'Format' method is always called however. A code snippet: (rdDocument is a private member field of the class and has a string-type property called 'Name') Binding bName = ...more >>


DevelopmentNow Blog