Groups | Blog | Home


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 > august 2005 > threads for august 29 - 31, 2005

Filter by week: 1 2 3 4 5

HTMLElement reference object
Posted by JT Thompson at 8/31/2005 6:58:02 PM
I can't seem to get the HTMLElement class to reference an object When I try: Dim HtmlElement1 As New HtmlElement I get a "type ... has no constructors" When I try: Dim HtmlElement1 As HtmlElement and I try to hook into it's click event it throws an exception of: System.NullReferenceE...more >>


Suppressing ISupportInitialize
Posted by Nima at 8/31/2005 12:18:03 PM
I have a property of a type that implements ISupportInitialize. Is there an Attribute that I can place on the property that will cause the designer to ignore it and not call BeginInit() and EndInit() on it? Thanks, Nima ...more >>

Datagrid multiple select
Posted by Gav at 8/31/2005 11:08:23 AM
Hi all, I have put some code in the mouseup event for my datagrid in order to select the entire row. Does anybody know how I can get multiple selection to work on my datagrid? thanks Gav ...more >>

Keys enumeration and lower case
Posted by Brad Wood
Is it possible to compare user input against the Keys enum if the user input is lower case?...more >>

TreeView - ObjectDisposedException
Posted by Bill at 8/31/2005 10:22:01 AM
I posted this in the "framework" group yesterday & got no nibbbles. So I have a form with a TreeView control. When the user chooses a leaf node an "AfterSelect" event is triggered where I take some info from the leaf's tag, Create and show a new form, and call this.Close() on the treeview for...more >>

Is there some published design guidelines?
Posted by Michael at 8/31/2005 9:15:04 AM
Hello, Are there some published design guidelines for windows forms? From Microsoft would be best. Design guidelines like, what should be the spacing between buttons and the border of the form, which button between "Cancel" and "Save" should be on the right-side, what size should buttons be...more >>

Icon in ListView has a black shadow
Posted by chjossi NO[at]SPAM gmx.ch at 8/31/2005 7:43:12 AM
Hy guys I am using a ListView that displays files from the file system. I succeeded in loading the icons from the system. But when the Items are displayed, the have are very nasty black shadow at the right. Do you know, how this can be solved? Thanks for your advice. Chris...more >>

Loading a form 'cleanly'
Posted by Buzz at 8/31/2005 1:52:04 AM
I was not quite able to find good search terms so sorry if this is redundant. What I am trying to do is have my form load cleanly. I have many controls and I literally watch the form draw before my eyes. This happens on several test machines with ngenned code. We use VB.NET. I load the val...more >>



3rd attempt: Exception in Timer.Tick/JIT debugging
Posted by Armin Zingler at 8/31/2005 12:00:00 AM
Hi, as nobdoy answered again, again the short version: 1. Add a Timer (System.Windows.Forms.Timer) to a new WindowsApplication. 2. Set the timer's Enabled property = True. 3. In the timer's tick event, write: Throw New Exception 4. Start How can I have the IDE handle the exception? T...more >>

my doubt that the winform now and the xaml futhure ?
Posted by Kylin at 8/31/2005 12:00:00 AM
as I know that there is a little diffrient about C/S and B/S in LongHorn , is it meaning that it's no usefull to learn winform now , and just study the xaml in longhorn ? -- FireCrow Studio Kylin Garden QQ:462042991 MSN:GaoTianpu@hotmail.com http://spaces.msn.com/members/gaotianpu/ I...more >>

Kerning changes - why?
Posted by Axel Dahmen at 8/31/2005 12:00:00 AM
Hi, in one of my Windows Forms I've got a label displaying URLs. When the URL displayed becomes too long, the letters' kerning changes, i.e. the letter spacing gets bigger. Did I set some property wrong? Or what makes the letter spacing change? TIA, Axel Dahmen ...more >>

font dialog window..
Posted by Ollie Riches at 8/31/2005 12:00:00 AM
Is there a font dialog winforms control at all or am I going to have to create one? Cheers Ollie Riches ...more >>

Drag & Drop puzzled
Posted by Lloyd Dupont at 8/31/2005 12:00:00 AM
I already had implemented Drag & DRop successfully it's why I'm flabergasted... I have a ome made control which accept Drag&Drop. OnDragEnter(), OnDragOver() & OnDragLeave(), are called correctly. However OnDragDrop() is never called!! (if I drop the dragged stuff, I mean). What's puzzlin...more >>

Scale transform and texture bitmaps
Posted by Alejandro Serrano at 8/31/2005 12:00:00 AM
I've got a GDI+ image made of squares, circles and basic shapes. When I make an ScaleTransform on it, everything works fine, but texture bitmaps are also scaled, so it looks horrible!! Is there any way to scale the image but not the textures brush? Thanks in advance, Alejandro Serrano...more >>

Tabbing on to a Combobox in a DataGrid
Posted by Dave at 8/30/2005 9:48:01 AM
I have a DataGrid that has a ComboBox for a field. For simplicity sake Column 1: Text Column 2: ComboBox Column 3: Text If I "Click" on the cell in column 2 for a pre-existing row, the ComboBox appears and allows me to select what I want. Life is Good.... Until... I am on the c...more >>

TextBox stops appending text
Posted by ronaldo1 at 8/30/2005 9:09:11 AM
Been using a System.Windows.Forms.TextBox in a standard System.Windows.Forms.Form. This TextBox gets written to quite frequently during the app lifecycle with myTextBox.AppendText(msgText + System.Environment.NewLine); On occasion it seems to stop appending text, and I have to quit out of t...more >>

VB6 Form Upgrade to .Net Error
Posted by Kirk at 8/30/2005 6:31:03 AM
I am upgrading a VB6 application to VB.NET. In the VB6 application I have a form with a sub called ShowScreen that takes arguements. This has always worked with no problem/ When I try to upgrade I get the Buil error "'ShowScreen' is not a member of 'System.Windows.Forms.Form'". How do I res...more >>

Modifier Keys, Ctrl+Shift, can't trap this event
Posted by Tim_Mac at 8/30/2005 3:43:16 AM
hi, i have a keydown event in my user control, and i want to trap Ctrl+Shift+v. if(Control.ModifierKeys == (Keys.Control & Keys.Shift)) if(e.KeyCode == Keys.V) this.htmlEditor1.Paste(); it never gets past the first condition. i have also tried: if((Control.ModifierKeys & Keys.Control &...more >>

DragDrop registration failed in IE hosted control
Posted by Will Holley at 8/30/2005 3:07:02 AM
Hi, We have written a simple user control which we are hosting in IE which allows users to upload files by browsing or drag / droping files onto it. We have done a fair amount of work before with hosted controls in IE and have an MSI which is installed for all users which gives Full Trust t...more >>

Starting a Form App Hidden and Minimized - It shouldn't be this difficult!
Posted by Terry at 8/29/2005 2:01:43 PM
I've seen several people post ideas about this, but I haven't seen anything that actually works for what I'm trying to do. (Or I just haven't searched on the right thing) This problem is very easy to reproduce, create a Form application. Leaving everything default, add the following two li...more >>

count lines of text in a label control
Posted by moondaddy at 8/29/2005 12:24:15 PM
I'm writing a winforms app in vb.net 1.1 and need to get the number of lines of text in a label control. How can this be done? Thanks. -- moondaddy@nospam.nospam ...more >>

Fetching data from DropDownList
Posted by John Cosmas at 8/29/2005 12:18:41 PM
I have a drop down list that I have bound to a table. When I pick the dropdownlist, I would like to fetch the following: - Index, which I can achieve through the SelectedIndex - Value, which I can get from the SelectedValue - Column, a specific column value from the bound data ...more >>

capture webbrowser event / element ID
Posted by JT Thompson at 8/29/2005 9:44:14 AM
I'm new to .net so please be gentle. I'm using vs.2005 beta 2 and attempting to develop a vb app that will require the capturing of html element ids that are clicked on within a webbrowser control. As an example, to try an understand the process, I've created a new project with only have ...more >>

raise event when any control changed in form
Posted by Oren101 at 8/29/2005 12:53:40 AM
is there any event that raise when any control changes in the form or should i check the change event for each control? Regards OreN101...more >>

Load all tabpages when the tabcontrol load
Posted by Si Jingnan at 8/29/2005 12:00:00 AM
Hi, I am creating a small window form with a tab control in it, I found the tab page's Load event fire only when the tab page is become visible, I remember in the MFC we can set the PropertyPage to initialize when the PropertyDialog create,no need to wait for become visible. Could we get ...more >>

Form.afterOnLoad event???
Posted by SharpCoderMP at 8/29/2005 12:00:00 AM
hi, when form is loaded i would like to popup a message box to the user after the form is shown to him/her. there is onLoad event but it occurs just before form is displayed. how can i popup message box just after form is displayed?...more >>


DevelopmentNow Blog