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 > september 2003 > threads for tuesday september 2

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

Which rows in my DataGrid are selected?
Posted by Scott Hodson at 9/2/2003 11:32:21 PM
If I select 1 or more rows in a data grid control, how do I detect which rows are selected/highlighted? ...more >>


Making a Richtextbox Transparent
Posted by PB Kishore at 9/2/2003 9:25:05 PM
Dear All, Is there a way to make a RichTextBox Transparent, so that I can display a picture on the PictureBox behind, like in a chat application ? I dont want Third party Richtextboxes. Is it possible in .NET RichTextBox ? Any suggestions are welcomed. Regards, PB Kishore ...more >>

Newbie: event handlers with dynamically created controls
Posted by Christy Davids at 9/2/2003 9:22:51 PM
I'm working on an application that dynamically generates buttons based on directory names in a file system. Click a button (directory) and the form refreshes with more buttons (subdirectories). I can generate the controls just fine, but I'm having trouble with attaching the event handler...more >>

can't clear clipboard
Posted by dennist at 9/2/2003 7:28:06 PM
I'm opening up a file and putting it's contents into a textbox. I want to clear the clipboard before setting the focus to the textbox, but apparently there's no such animal in vb.net. Private Sub btnOpenFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOp...more >>

ScrollBar System.ArgumentException
Posted by Victor Crudu at 9/2/2003 5:35:44 PM
Hi, could somebody help me to solve the follwing problem ? I get the following exception when i set as the DataSource of a DataGrid a DataTable. This situation can be only if I change programaticaly the minimum property of the scroll bar to be >0. But i even do not have access to the scroll bar...more >>

Shortcut Enum
Posted by Justin Weinberg at 9/2/2003 5:01:50 PM
Is there any way to expand on the prebuilt shortcut enumeration for accelerators? Specifically - I want to add alt+control+1, alt+control+2, etc. ...more >>

Task Manager Application, Alt-Tab Icon questions
Posted by Tom at 9/2/2003 4:53:10 PM
I'm having a problem with both the Alt-Tab icon on my C# project and the Task Manager Application tab. 1. Alt-Tab. The icon is not the one set in the Properties of the .EXE project in VS.NET. It's the Windows default application icon. This is not a problem of the wrong device on the icon (...more >>

C# - DataGrid on Windowsform.
Posted by Wayne Gibson at 9/2/2003 4:31:41 PM
Hi all, Was wondering if somebody could help me or at least point me in the right direction... I have a System.Windows.Forms.DataGrid, which is bound to a dataset. I would like to hide certain columns, so that the user can't see them.. Also was wondering if it was possible if when a cell...more >>



Wrong happens in design time.
Posted by kinghuangz at 9/2/2003 4:18:16 PM
Exception happened in design time: InvalidOperationException. I have read the .net document but it's no using. What shall I do? ...more >>

Pressing Enter on a button in a user control
Posted by Vijayakrishna Pondala at 9/2/2003 3:35:10 PM
Hi, If I press 'ENTER', when the focus is on a button in a form, the buttons Click event fires but pressing 'ENTER' when the focus is on a button in a user control doesn't fire the Click event of the button. Why? Pressing <SPACE BAR> works fine with both. Help!!!! Regards, Pondala Vijaya Kris...more >>

Custom Button in Designer -> Problem
Posted by Rudolf Ball at 9/2/2003 3:07:24 PM
Hi NG, its a tiny problem, but it is :) When painting my custom button in the designer and then resizing it, it doesn`t clear repaints the button. The button is full of stripes, everything is blurred. What have I forgotten in code? Thank you Rudi ...more >>

Hide StartUp Object
Posted by msnews.microsoft.com at 9/2/2003 12:56:49 PM
Hi, What I am trying to do is create a log in form (in MDI application Using VB.NET) I have tried moving the application's startup logic into a separate class and create the Log in form from there by using LoginForm.ShowDialog() . well the log in form appears all right but I cant seem close i...more >>

ProgressBar Does Not Refresh
Posted by Nick Carter at 9/2/2003 12:21:43 PM
I have a progressbar which gets updated with the following code:- for(int value=0; value < 100; value++) { progressBar1.Value = progressBar1.Value + 1; progressBar1.Refresh(); System.Threading.Thread.Sleep(100); } The progressbar is updated just fine. However, if I Alt+Tab to another ...more >>

XP theme for Office add-in
Posted by Robert Jacobson at 9/2/2003 11:36:58 AM
Hi, I'm creating a COM add-in for Microsoft Word XP with VB.Net and Visual Studio 2003. It displays several forms, which I'd like to show using the Windows XP theme. (I'm familiar with the methods to do this with a managed EXE -- using the manifest or calling Application.EnableVisualStyles.)...more >>

text allignment in richtext boxes
Posted by Ramana at 9/2/2003 11:35:44 AM
Hi, When I use two rich textboxes with and without multiline property is TRUE, The test alignment (left) is not same for both the text boxes. If the multiline property is TRUE then I am getting a small gap between the text and the left edge, whereas the text is almost touching the left edge if ...more >>

Using Configuration file in Windows Apps
Posted by Raphael Iloh at 9/2/2003 10:32:45 AM
Hi all, I just installed VS.NET 2003 and seem to be having a couple of teething problems. I have a Windows application developed in VS.NET 2002. During debugging I normally placed the configuration file in the debug folder since that's where the executable is found. This worked just fine. Howe...more >>

How do I do this?
Posted by Ned T. at 9/2/2003 9:02:38 AM
Hi, I an rather new to VB.NET programming and I have the following problem: In a Windows Form, I have a User Control. I have configured the "AcceptButton" property of the form to a certain button (outside the usercontrol). However I want something else to be performed when my user pr...more >>

SelectedIndex = -1 still shows first item selected
Posted by Scott Hodson at 9/2/2003 8:52:19 AM
I have a combo box with a DropDownStyle of DropDownList, and when I force SelectedIndex = -1 it still shows the first item as selected. Am I doing something wrong here? ...more >>

avoid this.close to raise validating events ?
Posted by nico at 9/2/2003 8:30:13 AM
In a winform, I have a cancel button. When clicking on it, I want the form to close without raising validation events. So I'm calling this.close() in the click event; I have set the CausesValidation property to false for the button and for the form itself, but the validating events are ra...more >>

Get the application path
Posted by cntrl-S at 9/2/2003 7:04:07 AM
Is there any equivalent of App.Path (VB 6.0) in VB.NET and C#. I would like to get the path of my exe at run time. I tried Forms.Application.ExecutablePath which returns the full path with application exe name included....more >>

How do I make a httprequest call from a window form?
Posted by Kueishiong Tu at 9/2/2003 5:45:31 AM
I have a window form application but I have to get data from various web site, How do I make Http request (preferrably via post method) from a window form to get the data from those web sites? What namespace and dll do I have to include? A walkthrough and coding example will be helpful....more >>

BackgroundImage Property in RichTextBox
Posted by PB Kishore at 9/2/2003 4:54:29 AM
Dear All, I am unable to set the BackgroundImage Property in RichTextBox. Though no exception is raised, the image is not being set. Any suggestions are welcomed. Regards, PB Kishore...more >>

Visual Studio arbitrarily removes controls from Forms
Posted by jack Charbonneau at 9/2/2003 1:53:55 AM
I am working on a complicated project with several forms, and several custom controls. Sometimes (usually when i modify a custom control - but not always), VS.Net will either remove controls from my forms, or reset all the properties to their default values. This is UNBEARABLY irritating! Ju...more >>

mdi child resize
Posted by Ashwani at 9/2/2003 12:51:27 AM
Hi, Is it possible to have two MDI Child with different resize behaviour when they are opened(i.e. one Maximized and another Normal). Thanks, in advance Ashwani....more >>

Validate a form return false ?
Posted by tz at 9/2/2003 12:45:41 AM
In which cases the function Validate() on a winform returns false ?? tz...more >>


DevelopmentNow Blog