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 > may 2004 > threads for wednesday may 12

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

Invisible toolbar buttons
Posted by Tom Jones at 5/12/2004 10:55:17 PM
I have added a toolbar to my WinForms app. The toolbar has 3 buttons and a separator. I have associated an imagelist with the toolbar and setup the images and buttons appropriately. At design-time I can see the bitmaps on the buttons, but when I run the application the buttons are blank. ...more >>

finding application directory
Posted by vadim at 5/12/2004 10:48:47 PM
Hi, How can I find the directory where my application resides or where it was launched from? There are .Net functions that give current directory but not the application directory. Thank you Vadim ...more >>

An solution ?
Posted by dahwoud dahwoud via .NET 247 at 5/12/2004 9:58:28 PM
(Type your message here) -------------------------------- From: dahwoud dahwoud I've got the same problem ... have you find a solution ? thanks ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>WHYI+vr1PEuBucPVxUQy8w==</Id>...more >>

Changing Application Context
Posted by John H via .NET 247 at 5/12/2004 9:57:18 PM
Hey All, I'm using application=2Erun(context) to open the main screen of my= application=2E What I would like to is based on a menu choice,= close the main screen and open a new one=2E I can't close the= main screen though since that will close the application since= it is defined as th...more >>

Recommend a c# forms book please
Posted by Patrick Kirk at 5/12/2004 9:26:07 PM
I see three choices for C# Windows.Forms. 1. Petzold - Programming Microsoft Windows with C# 2. Sells - Windows Forms Programming in C# 3. Brown - Windows Forms Programming with C# Can anyone recommend a best book for a VB guy moving to C#? Patrick...more >>

TextBox.Focus() doesn't focus
Posted by kwarnke at 5/12/2004 9:24:40 PM
I have a textobx that appears on a tab page. I'm trying to set the focus on that textbox but it doesn't seem to work. The focus always defaults to a button that is on the form (but not on the tab page). Any ideas? I tried focusing on the tab page and then on the text box to no avail. Than...more >>

Databinding problem
Posted by Hummusx at 5/12/2004 8:51:05 PM
I thought I had this figured out, but apparently I did not. I have a list of objects, lets just use Person as an example. The list implements IBindingList. One of the properties of the object is Address, which is an Address object. Binding the list of Person objects to a datagrid produces the an...more >>

smart client, problem with a space in filename
Posted by Tim Mackey at 5/12/2004 8:38:09 PM
hi, i have a windows forms smart client, the executable name is "my app.exe". running win server 2003 enterprise. when i set a shortcut on the desktop to "http://localhost/exec/my app.exe", the shortcut is reset to http://localhost/exec/my and when i put quotes around it, windows adds a http in...more >>



winformreports
Posted by Radith Silva at 5/12/2004 7:14:40 PM
To All that used winformreports for printing: I need to use the basic PrintForm() like in VB 6.0; I'm thinking of downloading PrintForm.NET from www.winformreports.co.uk Is that the correct software?? Which one did y'all use?? Thanx Radith *** Sent via Developersdex http://www...more >>

Resize columns in a datagrid.
Posted by Mark Broadbent at 5/12/2004 6:18:42 PM
Anyone know how to resize the columns in a datagrid, I ve tried setting the PreferredColumnSize, Invalidating and Updateing but to no avail. Im sure it is pretty easy? -- -- Br, Mark Broadbent mcdba , mcse+i ============= ...more >>

switching between 2 DataGridTableStyle objects mapped to the same table
Posted by ZooZee at 5/12/2004 6:01:06 PM
Hi I have a DataGrid which contains a DataGridTableStyle object in it, mappe to my Customers table. Is there a way to add another another TableStyle object to the DataGrid and set its MappingName propert to the Csutomers table at runtime, switching between the tw when necessary Thanks guys ;...more >>

Setting focus in OnLoad not working
Posted by Daniel Carlsson at 5/12/2004 4:54:04 PM
Hello I have a few forms where I want to set the focus to a specific control thats not the first one in the taborder. Ive tried to do that in OnLoad but that doesnt work, the focus reverts to the first control. In one form where I just want the focus to change from a tabcontrols tabs to th...more >>

slow transparent panel
Posted by Perry van Kuppeveld at 5/12/2004 4:39:39 PM
Hi, I have a form with a background picture on it. In this form there are several panels with a transparent background. The paint of the panels is very slow. Is there a way to speed things up? Thank's Perry ...more >>

Form.Dispose vs. Form.Close
Posted by T Cordon at 5/12/2004 4:06:55 PM
What is the difference between: Form.Dispose and Form.close. They both seem to destroy the object. Or should both be called when closing a form? if so, in what order? Thanks ...more >>

what's the best way to detect click in child controls?
Posted by Bob at 5/12/2004 3:27:09 PM
If I have ControlX that contains ControlY, and the user clicks on ControlY, I want to catch that in ControlX. I know I could use the OnControlAdded override to add a click event handler to every control added to ControlX, but that only works one level deep unless I recurse through all the childre...more >>

ListView SubItems
Posted by T Cordon at 5/12/2004 2:56:18 PM
In VB 6 I could assign a .Tag value not only to the ListItem, but also to each of its subitems. I can't seem to find a way to do this in VB.NET ListView Control/ListViewItem. Is this possible? Any Examples? Thanks ...more >>

Windows Performance
Posted by Alok at 5/12/2004 2:42:25 PM
hi, I have a windows application that will be having abt 25 - 30 forms open. I needed some performance stats regarding: 1. if i close the form, do i close it or just hide it. is there any gain in hiding the form ? 2. Is it better to keep the form in memory or cache the data and re-populate the...more >>

Win form pops up with no reason
Posted by Emil at 5/12/2004 2:05:38 PM
Hi, I am using C#. I have a form (form1) with multiple controls on it. There is a button and when it is clicked it opens a different form (form2). When form2 is closed a method of form1 is run and form1 becomes active. On form1 there are multiple text fields. The problem is that when the form1 ...more >>

combobox items, no tags?
Posted by PEACEMAKER at 5/12/2004 1:47:17 PM
how come combobox items have no tags? they do in win32 api, Am I missing something or do combobox items really have no tags? how is one supposed to identify items other than by strings? ...more >>

Tabpage Dynamically adding controls
Posted by Eric at 5/12/2004 11:04:34 AM
I am completely frustrated trying to control the order that dynamically created controls appear in a TabPage. I have tried tp.Controls.Add(myControl) in a loop which does not work. I then added my controls to a Control array Control[] oConts and tried tp.Controls.AddRange(oConts); which...more >>

Suppressing paint event on forms
Posted by tpenland at 5/12/2004 10:51:06 AM
Hello I need a way to disable form re-painting until I am done enabling and disabling all controls on the form. The problem I am having is that we have multiple objects (a security component and the specific business UI object) that will indepently enable and disable controls based on a user's ro...more >>

resizing
Posted by Saurabh at 5/12/2004 10:03:58 AM
Hi All, I have in my windows form, a set of controls which is Label, Edit, Label and another edit. These are lined up horizontally. When I resize the form horizontally, I want both the edit controls to grow by an equal amount. which means label 1 stays where it is edit1 stays where it is but...more >>

Network Detection
Posted by Demetri at 5/12/2004 9:06:07 AM
When a user disconnects their wire to the network or those who use RAS disconnects - I need for my Winforms app to be informed the moment it happens. What is the best way to code this in C# ? Any examples or code snippets?...more >>

background logo image in MDI application
Posted by Muthu Krishnan at 5/12/2004 5:16:02 AM
i've designed windows application in VB.NET using MDI forms. I actually like to have a logo image in the background of MDI parent. how can I achieve it?....more >>


DevelopmentNow Blog