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 > november 2005 > threads for november 1 - 7, 2005

Filter by week: 1 2 3 4 5

VS 2005 RTM + & Command in text {e.g. &Cancel}
Posted by Morgan at 11/7/2005 7:58:42 PM
If I try to use &Cancel for the text on a button, the hotkey underline doesn't show. UseMnemonic is set to true. Could someone else try it and see if it work for them? Thanks, Morgan ...more >>

MessageBox (or equiv) while background thread completing long operation.
Posted by Lloyd at 11/7/2005 6:59:13 PM
I have a windows forms application (.net 1.1) and I want to have a msgbox like window blocking the main thread while a long operation completes in a background thread. Is there a way to do this using MessageBox.Show() and somehow closing it from the other thread? Or will I need to make a bas...more >>

ListView
Posted by Z at 11/7/2005 5:57:08 PM
Hi, Is there a way to be notified when the user resizes the columns of a ListView (Details view) Thank you...more >>

Latest Framework 2.0 version number
Posted by Thomas, Mark at 11/7/2005 2:33:07 PM
Visual Studio 2005 is releasing today. If anybody knows the final version number of framework 2.0. We currently have 2.0.50727 (Beta). Thanks in advance,Mark ...more >>

Stack overflow problem when using ArrayList with windows form
Posted by lizzly at 11/7/2005 2:17:33 PM
I had a parent class which has a static member "frm1" Inside it. When I open any other forms, I call the frm1's add-form-point function through the parent class. So I can use frm1 to control all the opened forms. The function is like: ArrayList *AryForm(); AryForm=new ArrayList();//this is...more >>

Winforms Repeater Container
Posted by Pete Zappulla at 11/7/2005 1:04:02 PM
Hello, I'm developing an application using the 2.0 framework, and I am in desperate need of some kind of WinForms Repeater Control. I have a user control which contains a number of textboxes, buttons, labels, etc. The control represents one line item within a quote (which could contain up t...more >>

I'm writing SideBar component
Posted by Sergey at 11/7/2005 12:25:14 PM
Hello, I'm writing SideBar conmonent and there are some problems with this. SideBar is inherited from Panel i.e. Then I add button (i.e. close button) to my SideBar. SideBar has posibility to expand and collapse. That I'm trying handle by using OnMouseEnter and OnMouseLeave. The biggest problem...more >>

can i bind datetimepicker to checkbox.checked property
Posted by garrettrichards NO[at]SPAM gmail.com at 11/7/2005 10:00:10 AM
Can you bind datetimepicker.enabled to a checkbox ???? ...more >>



Scope of Focus
Posted by JezB at 11/7/2005 9:40:33 AM
In one Form if you move Focus (programatically or via user interaction) from one control to another, the control you have moved FROM automatically loses Focus and fires the Leave event. What I want to do is always maintain a Focus within a specific container (a Panel in my case). Within the...more >>

AutoScale in .net version 2.0???
Posted by RFlaugher at 11/7/2005 8:07:03 AM
I have an app created in VS 2003 which I am trying to upgrade to .net 2.0 and VS 2005. I have read all the new documentation I can find but I can not get the auto scale to work correctly no matter what I try. AutoScale is true, AutoScaleMode = Font, however, AutoScaleFactor is always 1.0, 1...more >>

Troubles with associating a Toolbox Bitmap with a Custom Control..
Posted by lhummel NO[at]SPAM lhummel.com at 11/7/2005 6:15:30 AM
Hi everybody, I have a problem with a custom control developed in C#, and the bitmap which I want to associate with it. The custom control is functionally complete and working well; However, I now wish to associate a bitmap other than the default "gear wheel", when the control is placed on ...more >>

Child form controls not displayed when using Show()
Posted by emzyme20 NO[at]SPAM hotmail.com at 11/7/2005 5:48:25 AM
Hi there, I have a form that when you click on a button it does some work that can take a lot of time. I decided to create a new form with a progress bar that would keep the user updated that the application is actually doing something. The problem I have is that none of the other controls ...more >>

Reread of .config
Posted by Martin at 11/7/2005 4:41:01 AM
Hi I have learned that the .config for a Windows form application i read once and never more since an application is started. I would like to know if there isn't a methode for reading it once again to make a reload of the data. This would make it possible to change the values in .config and u...more >>

use a .NET Windows Control in VB6.0 ???
Posted by (cmrchs NO[at]SPAM yahoo.com) at 11/7/2005 3:29:00 AM
Hi, How do you use a .NET Windows Control in VB6.0 ? Here's what I did so far : - I've created a .NET Windows Control in Visual Studio.NET - in the project properties I set the build setting : 'Register for COM Interop' - build and registration OK (I've checked in the registry and the Cont...more >>

Reach components on ComponentTray at Run-time?
Posted by Ă–zden Irmak at 11/6/2005 10:43:57 PM
Hello, Is it possible to reach the components at run-time which are placed into component-tray at design-time? If yes, can anybody lead me a way to do this? Regards, Özden Irmak ...more >>

Accept a RETURN on a TextBox, to act as a TAB
Posted by JezB at 11/6/2005 10:20:44 PM
I simply want the RETURN key, when hit on a TextBox control, to act like a TAB key, ie. move focus to the next control and fire the Validate event on this control. Instead in just beeps at me and doesn't move. ...more >>

Is there a simpler way to do this?
Posted by B. Chernick at 11/6/2005 4:10:58 PM
I wish to dynamically create a context menu of uncertain length, the uncertainty depending on the number of records in a database. As of right now what I am doing is adding a number of instances of menuItem to the context menu cm1. Each instance, when added, is linked to the handler menuIt...more >>

Designer won't let me look at two forms' design view
Posted by dennist685 at 11/6/2005 8:31:52 AM
Designer won't let me look at two forms' design view I submitted this to the 2005 newsgroups. There have been 86 views but no answers so I hope you folks can help me. I successfully rebuilt a windowsforms application(from beta2 to vs2005 final). However, whenever I try to look at either ...more >>

Combobox databinding bug in VS.Net 2005
Posted by Grant Morgan at 11/6/2005 12:00:00 AM
Hi Using the RTM version of VS.Net Professional 2005 downloaded from MSDN. Designing a windows form app in Visual Basic. I have the following data structure: Orders Table: ========= OrderID OrderTypeID Date etc... OrderType Table: ============= OrderTypeID OrderTypeDescription ...more >>

Insatiate form from another project
Posted by Stephen at 11/4/2005 12:55:21 PM
I am fairly new to .net winform programming. How do I open an instance of a form in a different project/namespace? I assume I have to create a ref to the namespace the other form is in but I am unsure how to do this. ...more >>

Bug: Web browser still leaks under framework 2.0 & studio 2005
Posted by Willie jan at 11/4/2005 11:49:29 AM
Why is this bug STILL NOT resolved! Every time the webbrowser is loaded, navigate2 called and unloaded there is another handle disappearing... causing my application to hang after a while. Willie. //declaration Public WebObject As AxSHDocVw.AxWebBrowser //Load procudure WebObject ...more >>

ListView formatting problem
Posted by Steve at 11/4/2005 10:38:01 AM
I have a list view and when the number of items reaches the bottom of the control, it starts to add another column of items and this is NOT what I want. It's doing this: ----------------------------------------------------------------- [item] [item] [item] [item] [item] [item] [item...more >>

ClickOnce and Proxy Authentication
Posted by Jason Hanford-Smith at 11/4/2005 7:19:20 AM
Hi all, Hopefully this is the right group to post this to. Anyway, I've written an application that I'm deploying via ClickOnce. Some people have informed me that they are unable to install the application. They get the message below. My question is, can ClickOnce be configured to use th...more >>

Designer cannot load abstract-derived controls
Posted by Jelle van der Beek at 11/4/2005 2:09:03 AM
Hi, Check the following code: public class Foo : TestControl { } public abstract class TestControl : System.Windows.Forms.Control { } The Visual Studio designer cannot load Foo because it will try to create the abstract class TestControl while it should only...more >>

MouseClick OR MouseDoubleClick
Posted by JezB at 11/4/2005 12:00:00 AM
I want a control to respond differently on a MouseClick or a MouseDoubleClick event. Problem is, when the user double-clicks, the MouseClick is fired FIRST, and there seems no way of knowing whether it's the first part of a double-click to avoid doing the stuff that the single click should d...more >>

Transparent Labels (FAO Bob Powell)
Posted by Hedley Muscroft at 11/3/2005 5:46:50 PM
Hi Bob (or anyone else who can help!), I've just written a couple of simple new controls : TransparentLabel and TransparentLinkLabel which are based on the example on your website : http://www.bobpowell.net/transcontrols.htm The onle changes I made were to remove the Timer and I added... ...more >>

DataBinding - Need a few tips...
Posted by Vagabond Software at 11/3/2005 1:38:58 PM
I am familiar with basic, brain-dead databinding, but I feel I need something a little more complex for my current application. I would like a few pointers or advice. I have a main form with a DataGrid bound to a DataView object. I have a custom control (DetailPanel), with a bunch of labe...more >>

Randomly, listview does not populate with text
Posted by Bob Dankert at 11/3/2005 1:16:20 PM
I have a component which inherits from the standard ListView control. Every once in a while, this listview will not display any text in the control. This happens randomly, in numerous programs, and without any explainable reason. When this does happen, I can use debugger to view that the lis...more >>

Tablet PC onscreen Keyboard
Posted by GilesT at 11/3/2005 12:59:12 PM
Hi, Im trying to create a custom on screen keyboard that behaves in the same way the tablet PC one does. ie. when shown it does not take (or change) the focus. any buttons on this form that are pressed send the appropriate character to the control that currently has the focus. I thi...more >>

Keyboard hook with Visual Studio 2005
Posted by Alletun at 11/3/2005 12:21:06 PM
Hi! I have some problems to create keyboard hook with Visual Studio 2005. I have created this small solution: http://www.igordamiani.it/WindowsApplication2.zip With VS2003, it's all correct. With VS2005, i obtain an exception In particular, this is the line that fails: keybhook = SetWindo...more >>

very simple user prompt
Posted by joe miller at 11/3/2005 12:10:04 PM
I would like to prompt the user with a very simple one input field dialog box, without having to create a form. The perfect solution would be if the MessageBox() had an option for an input field, and returned the field contents. Does anyone know if such a thing exists in .Net?...more >>

WebClient error: The underlying connection was closed: an unexpected error occurred on a receive
Posted by matt NO[at]SPAM mailinator.com at 11/3/2005 10:10:56 AM
hello, i am using a .NET 1.1 winform to perform webrequests via the System.Net.WebClient class. It uploads values via a POST command & a URL, then receives the html back. nothing too complicated there. except, i am frequently getting the dreaded error: The underlying connection was clo...more >>

Custom Control Inheritance
Posted by swoopy at 11/3/2005 10:02:44 AM
Hi, I have a (kind of a newbie) question: I want to create one custom control which has a ListBox control in it. Then I want to inherit that control and instead of the ListBox I want to use CheckedListBox (but with the same object name). I know that CheckedListBox inherits from the ListBox ...more >>

How do I get XPanderControl
Posted by standish22 NO[at]SPAM hotmail.com at 11/3/2005 6:47:34 AM
I've got some code that is using XPanderControl, and I don't have it. I've searched the net for it, but can seem to find how to get it. Is this a free control? If so, where do I download it? I'm getting errors on XPanderControl.XPanderList and XPanderControl.XPander Thanks... ...more >>

hot key for deleting a record in DataGrid
Posted by Michael at 11/3/2005 12:00:00 AM
Hi, Is there a hot key that I can delete one record in a DataGrid? Or I must implement it myself? Thanks! ...more >>

new folder button in folder browser
Posted by manojrane2000 NO[at]SPAM gmail.com at 11/2/2005 11:04:51 PM
i am using net framework 1.1.i am trying to disable new folder button in folder browser.and written code of line fldBrowse.ShowNewFolderButton = false; but it is still showing button at design time also i had tried but but no change. i want button not to appear in folder browser. how can i ...more >>

Accessing a global variable on Multiple forms
Posted by Kevin Humphreys at 11/2/2005 6:45:46 PM
Hi There, What's the best method and syntax to access a global boolean variable between multiple forms on VB.NET? Thanks, Kevin. ...more >>

Windows form Inactivity
Posted by Bala Nagarajan at 11/2/2005 5:52:07 PM
Hi, I want to implement someting like "Session Timeout" in my windows forms application. How do i acheive this? I want to be able to find out if the user has not interacted with my application( Windows Forms) for a certain period of time and and inform the user to relogin if the time...more >>

DataGrid edit question
Posted by Steve at 11/2/2005 2:50:57 PM
I need to respond to a user editing text in a cell. I need to take action BEFORE they actually edit something, the likely place to do this was the KeyDown event, but I can't get it to fire. I click in a cell, it highlights it, then I type and the event never fires... What am I missing? I un...more >>

Adding items in Combo box
Posted by Bala Nagarajan at 11/2/2005 10:00:10 AM
Hello, Does anyone how to add items to a combo box and specify a value for the item using combobox.items.add() method? The reason why i am asking this is if i add items through datasource and set the value using ValueMember property i am not able to modify the combox box collection (Ca...more >>

CheckBox click event
Posted by Steve at 11/2/2005 9:49:11 AM
In the click event for a checkbox, I am validating some data. If the validation fails, I want the checkbox to remain unchanged(IE: If it was checked before the last click and the validation fails, I want it to remain checked) Now, I can handle this with code that is less that pretty, but I th...more >>

Cursor does not change to WaitCursor over ListView when using delegate in C# MDI child form.
Posted by Vladimir.Sakharuk NO[at]SPAM gmail.com at 11/2/2005 8:02:04 AM
I have MDI child form. It has detailed ListView control docked fill. On Load event it set the cursor to wait. I have use 3 first lines together or separate. private void Form2_Load(object sender, System.EventArgs e) { this.Cursor = Cursors.WaitCursor; listView1.Cursor = Cursors.WaitCursor; ...more >>

IsMdiContainer
Posted by Ken Humphreys at 11/2/2005 12:00:00 AM
Hi There, I have created a new Windows form with the IsMdiContainer set to True and the MainMenu Windows Component. When I select one of the Menu options from the MainMenu Windows Component I would like to open another form within the IsMdiContainer Form above. How can I do this? Thanks ...more >>

What's the difference about String
Posted by Ahan Hsieh at 11/2/2005 12:00:00 AM
Hi All: Sometime I'll see 1. Console::WriteLine("Error"); or 2. Console::WriteLine(S"Error"); and what's the difference about add "S" literal or not ? Regards. Ahan ...more >>

TextBox multiline=true and form AcceptButton
Posted by Michael at 11/1/2005 2:29:56 PM
Hi, I have a form with a TextBox with its multiline property set to true. I also have the form's AcceptButton set to a "Save" button. With the setup above, the user cannot have the cursor in the multiline textbox and press "Enter" key to change line, because when pressing "Enter" key, th...more >>

Looking for enhanced listbox control
Posted by google NO[at]SPAM dcbarry.com at 11/1/2005 1:02:19 PM
Hi all. I'm really not a VB.NET programmer, but I can tinker. Right now, I'm trying to help out a friend who had to have an application rebuilt in VB.NET (1.1) withothe benefit of the old source code. Basically, I'm looking to replace the "standard" NET listbox control with an enhanced ver...more >>

Determin if a form is being displayed modally?
Posted by Hong Kong Phooey at 11/1/2005 11:12:25 AM
How can I determine if a form is being displayed as a modal dialog programatically? I have a form which may be used either way in the application. If shown modally using ShowDialog(), all the regular caveats apply (ESC=Cancel, ENTER=OK, AcceptButton, CancelButton), but when simply shown usi...more >>

How to handle when TabPages are bein added and removed
Posted by Sergey at 11/1/2005 10:31:14 AM
Hi! Does someone know, whether it is possible to handle when TabPage is being deleted or added. As I've understood, it's not possible to use ControlAdded and ControlRemoved removed, because they are used fot ControlCollection. Is it a way to solve my problem? Any suggestions are welcomed....more >>

App.config
Posted by John.Arthur NO[at]SPAM gmail.com at 11/1/2005 6:41:10 AM
Hello, I have a app.config looking like this : <?xml version="1.0"?> <configuration> <appSettings> <add key="somekey" value="somevalue" /> </appSettings> </configuration> And I am geting data from this fail like taht: ConfigurationSettings.AppSettings["somekey"] ; But I ha...more >>

On one machine winForm opens a different size
Posted by dbuchanan at 11/1/2005 2:45:27 AM
Hello, Why does this happen? The menu form opens, but with the righthand side of the form missing (about 1/4th) and the bottom of the form missing (about 1/4th). This prevents access to some of the functionality. The application has been installed to many other application with no problem. ...more >>

smart client timer download
Posted by Sanjeev Kumar at 11/1/2005 2:34:26 AM
Got from a website: "A Smart Client app will download the DLL to the client machine. The client DLL can be refreshed on a timer or manually. At all times the client application works with the local copy." Where does the timer reside(i guess server) and does it require user to take any act...more >>

Tab Index's Heeeeeelp!
Posted by JODIWAN KENOBI at 11/1/2005 12:00:00 AM
Hi all and thank you in advance :) I am a little baffled as to how I amto get only the controls I want to be "Tabbed" to or from, to be the only ones with a tab index. For example: I am using VB.NET 2003 for a Windows Forms Application. I have a main form called "frmMain" with a nav men...more >>


DevelopmentNow Blog