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

Filter by week: 1 2 3 4 5

DataGrid ReadOnly and NullText do not work
Posted by aualias at 9/7/2005 2:51:24 PM
I have the following code... DataGridTableStyle ts = new DataGridTableStyle(); dgTest.TableStyles.Clear(); ts.MappingName = "Test"; DataGridTextBoxColumn col1 = new DataGridTextBoxColumn(); col1.MappingName = "something"; col1.HeaderText = "Something"; col1.ReadOnly = true; col1.NullTe...more >>


3rd Try: Help Button functionality
Posted by Keith at 9/7/2005 2:34:41 PM
OK, Since no one can tell me if you can have the Help Button AND Min/Max in the control box (or why not) I'll just accept that you can't, and that I have to use a toolbar button. My question now is how can I get equivalent functionality from this toolbar button? Meaning I want my button...more >>

controls on mdiParent not behind Child forms
Posted by Francois Searle at 9/7/2005 12:00:00 AM
Hi I have looked everywhere and can't seem to find why all my child forms = of my mdiform shows behind my controls on the form? Dim frm As New frmMyFrm frm.MdiParent =3D Me frm.Show() Can anyone please help me. I want to place controls on my mdiform and = show child forms above ...more >>

How to capture urls with a custom protocol
Posted by Klaus Jensen at 9/7/2005 12:00:00 AM
Hi! If I want to create an app that captures requests for certain urls, like a skype catches callto:, how would i do that? For insance: I enter klaus://usenetrules in my browser, and my app starts (or is already running) and receives the "klaus://usenetrules" as some kind of argument. ...more >>

Selective Smart Client deployment in .Net 1.1
Posted by Soeren D. at 9/7/2005 12:00:00 AM
I would like to be able to detect updates on a server and update the client as described in the deployment model for smart clients. It remains crutial however that I can present this as an option to the user. I can see that .Net 2.0 has a "CheckForUpdate" feature, but I cannot find any for ...more >>

Editable TabPage title
Posted by superior.computers NO[at]SPAM gmail.com at 9/6/2005 11:05:17 PM
How would i make the TabPage's title editable? I know I could have like a text box to set it but i want the user to be able to edit it directly. Thanks in advance! ...more >>

controls not visible in design mode
Posted by Bill Grigg at 9/6/2005 5:08:23 PM
ALL, I recently had to reinstall Visual Studio .NET 2003. This was because I got a new computer at my company, and in fact will need to reinstall a whole bunch of apps. In any case, when I try to load the "design" view of my one and only form (i.e. Form1.h[Design]) none of the controls are ...more >>

How to find control by name
Posted by Gregory Khrapunovich at 9/6/2005 10:45:58 AM
I have a string representing the name of the control. Is there a method that would take the string and return the pointer to the control or I need to search Controls collection manually? (I work with Windows Forms) Gregory Khrapunovich ...more >>



TreeNode bounds are 0,0,0,0
Posted by Tim_Mac at 9/6/2005 10:06:50 AM
hi, i am trying to draw an alpha effect on top of the icon for a treenode. here is my code: node.ImageIndex = 9; ImageAttributes ia = new ImageAttributes(); ColorMatrix cm = new ColorMatrix(); cm.Matrix33 = 0.5F; //50% transparency ia.SetColorMatrix(cm); using(Graphics g = CreateGraphic...more >>

Multiple Forms Help
Posted by clsmith66 at 9/6/2005 8:49:29 AM
I am hoping someone can help me. Is there any way to get a form to act like a cross between a mdi child from and a dialog box? I need to be able to display the results of a users search from a main form into another "popup" form and still be able to interact with the main form. If I display...more >>

ocx on mdichild hangs up Visual Studio IDE
Posted by Marco Zecca at 9/6/2005 3:00:02 AM
I am developing a c# application in Visual Studio 2003. I have to use a third party ocx on a form. If I open the form as a dialog everything works fine, but if i open the form as mdichild the application crashes with this error: Debug Assertion Failed! Program: c:\.....\myapp.exe File: afx...more >>

ComboBox Text not Changing
Posted by Sayyed Afsal at 9/6/2005 12:44:02 AM
If I try to change the text displayed in the ComboBox(in 'DropDown' Style) from with in it's TextChanged event by setting the Text Property of the Combo, the changed text is not appearing in the Combo, but this happens only when the text is changed by selecting item by dropping it down, when t...more >>

Printing Issue
Posted by Alex Clark at 9/6/2005 12:00:00 AM
Hi, I'm having an unusual printing problem in my .NET app which I think may be a permissions issue. If I log on to my network as an Administrator, my application will print without any problem at all. If I log in as a restricted user, I get an InvalidPrinterException stating that there ar...more >>

How to keep memory usage and CPU as low as possible?
Posted by DraguVaso at 9/6/2005 12:00:00 AM
Hi, How can I keep the memory usage and CPU usageas low as possible in a VB.NET application? any special techniques, any things to consider? Thanks a lot in advance, Pieter ...more >>

OnGotFocus Problem
Posted by Mubashir Khan at 9/6/2005 12:00:00 AM
I am deriving a class from TextBox to implement a NumericBox. I am overriding OnGotFocus and OnLostFocus methods but On GotFocus is causing problems. Actually the commented lines are causing problems. These throw Win32 exception that windows was unable to create handle. I dunno wats wrong. Plz h...more >>

Windows Application as OCX In Excel
Posted by Rohit at 9/6/2005 12:00:00 AM
Hello, I have an Windows application which is developed in VB.NET. Now I want to create an OCX to embed it in Excel 2000/XP. How can I do that? Regards, Rohit. ...more >>

Application Blocks query
Posted by Matt at 9/5/2005 4:46:10 PM
Hi I am writing a small windows desktop application. Its a small configuration tool which writes data to text files. And i heard about application objects. Should i use UI application objects and Is it worth using it ? thanks in advance Matt ...more >>

Creating a Hidden Modeless Form
Posted by Joel Matthias at 9/5/2005 11:43:24 AM
Hi, I know this topic has been covered in various forms but I still can't seem to come up with a solution that works correctly. I want to create a modeless hidden form in my application. This is NOT the main application form. The best way so far is as follows. MyForm form = new MyForm(); ...more >>

Microsoft.Web.UI.WebControls not found
Posted by Richard Lionheart at 9/5/2005 9:27:18 AM
I downloaded a complete DataGrid example, "IssueTracker", for accessing an Access DB with a DataGrid control. Sounded like a cakewalk. The first line of the .aspx file referenced the "Microsoft.Web.UI.WebControls" namespace. I got an error msg that the namespace could not be found. Any...more >>

No Touch Deployment Not Working On Some PC's
Posted by hakl at 9/5/2005 5:00:01 AM
Hi all, I have a deployed a No Touch Deployment (NTD) and the app works on some PC's but not others. All our PC's have a standard operating environment (Win XP). When I look in the Assembly Download Cache, I can't see all the required dll's files for the PC's that cant run the app. However ...more >>

Loading bitmap from Resources
Posted by Michael at 9/5/2005 2:35:02 AM
I've added a string and a bitmap to Resources.resx and the designer creates static properties for these in the Resources class. if I call the following in my Mainform OnLoad:- string name = MyApp.Properties.Resources.ProductName; Bitmap splashImage = MyApp.Properties.Resources.Splash; ...more >>

Loading cursor resources dont work
Posted by Janice Browns at 9/4/2005 8:04:37 AM
I have difficulties trying to load a cursor from a resource file. Using VS 2003 -- opening a new vanilla C# windows form, adding a new vanilla cursor file -- setting Build Action to 'Embedded Resource'. In my code I use: this.Cursor = new Cursor(GetType(), "WindowsApplication1.Curso...more >>

Tooltip and gdi+
Posted by Petter Dale at 9/4/2005 4:34:32 AM
Hi, I have a form with a couple rectangles drawn with gdi+. I'd like a tooltip to be displayed when the user hovers over the rectangles (with a different tooltip text for each one). I've attached a tooltip to the form, but my problem is that the text is only displayed once. To get the text to...more >>

unhandled exception when opening window
Posted by Nadav Popplewell at 9/3/2005 10:27:01 PM
I have a problem with one of my application (actually I suspect this problem happens with other programs, but this is the only program I am sure of ). I have a winforms application with a main window & a dialog box that I open from the main menu. Some times (quite rarely) when I open the dia...more >>

Combobox refresh in tab page
Posted by lbolognini NO[at]SPAM gmail.com at 9/3/2005 1:46:56 PM
Hi all, I've seen there have been a number of posts about this issue but couldn't find anything useful in none of them. The "put it inside a panel" trick didn't work either. I've got a combobox inside a tab page and I'd like to refresh it's content upon opening of the tab page. 1) What's...more >>

How to set up privileges for VS.NET developers?
Posted by Richard Lionheart at 9/3/2005 12:00:00 AM
Hi All, I generated a WebForm and created a Virtual Directory for it IIS. But I got an error message (shown below) saying something like my app lacked appropriate privileges. David Wang replied to an earlier question about this issue, and he informed me that I needed to include my UserI...more >>

IList type property, how can I choose from a list of IList implementor components in the Form at design time?
Posted by dotnet007 at 9/3/2005 12:00:00 AM
Hi to All, I created a component with a IList type property. If I use it in design time, the property window shows the default editor for this property (the [...] button show the collection editor window). How can overwrite this default behavior, to let the property window to show a simp...more >>

doevents
Posted by Anbazhagan at 9/3/2005 12:00:00 AM
Hi All, What is the use of DoEvents functions? ...more >>

drag icon when dragging from Windows Explorer to form/listview
Posted by The ants are driving me crazy at 9/2/2005 7:35:12 PM
I want to be able to drag files from Windows Explorer to a Windows form. It's easy to get the file name being dragged, but I'd like the user to see the same transparent file name icon that you see when dragging the file through windows explorer. Does anyone have any tips on this? I've looked ...more >>

bring a third-party application to the front
Posted by Joe Shapiro at 9/2/2005 10:46:28 AM
I have a windowsforms application written in vb.net and I need to see if a specific third-party application is running and, if it is running, bring it to the front, that is, as if the user alt-tabbed to it or clicked it on the task bar. Any ideas? ...more >>

New Constructor on Form
Posted by Richard at 9/2/2005 9:26:37 AM
Hi, System creates a New constructor while creating a form. Is it adviced to use the same constructor to pass parameter values, and use it constructor after InitializeComponent. Example Public Sub New(ByVal dt As DataTable) MyBase.New() 'This call is required by the Windows F...more >>

Closing a form from ctor
Posted by Z at 9/1/2005 11:13:02 PM
Hi, Before showing a form I check in its constructor for a certain condition. If this condition is not met I want to close the form from within the costructor without even displaying it. I tried this: public MyForm() { if(CONTIDION_IS_FALSE) { CLose(); } } but the ...more >>

.NET versions forward compatibility
Posted by Alexandra Stanns at 9/1/2005 6:42:27 PM
I am developing with VS 2003 -- .NET framework 1.1 I want my app to also run on .NET framework 1.0, so I define a .config file with the following: <configuration> <startup> <supportedRuntime version="v1.1.4322" /> <supportedRuntime version="v1.0.3705" /> </startup> </con...more >>

Integrate Words Equation Editor
Posted by Dotnetjunky at 9/1/2005 5:17:01 PM
Hi, I'm wondering if there is any way to integrate Microsoft Words' Equation Editor into our windows forms app ? I would really appreciate if somebody could shed a light on this. Thanks in advance. ...more >>

vb.net windows form question-resizing controls
Posted by Paul at 9/1/2005 5:00:01 PM
Hi I have done quite a few .net web apps but not many window apps. I am working on one and have several listboxes that get populated in the form load from a stored procedure. This is working but I can not seem to resize the controls as when I try to set the height up in the properties box it...more >>

Compiler disallows for loop in ASPX ... what's up?
Posted by Richard Lionheart at 9/1/2005 4:30:09 PM
Hi All, [I posted this first in microsoft.public.dotnet.framework but then thought it is more appropriate in this newsgroup] In effort to write a loop in ASPX to generate a set of labels, I tried this: <form id="Form2" method="post" runat="server"> <script language="C#" runat...more >>

DateTimePicker Checked Property
Posted by Bill at 9/1/2005 11:19:01 AM
So I have a project with several DateTimePickers. Some of them have checkboxes and some don't but the ones with checkboxes always appear on the form in the checked condition. It makes no difference if I set the Checked property to false in the property window, or if I set it to false on the ...more >>

Windows Form Application Performance Issues
Posted by Techstudent at 9/1/2005 10:36:04 AM
I have windows form application on clients computer communicating with Database which is in a remote location in same network. We see considerable performance degradation due to this setup. If the client access the databaser locally the performace is lot better. Does any one have any sugge...more >>

Where are push buttons in Visual Studio 2003? Easy Question.
Posted by daniel.benjamin NO[at]SPAM epa.gov at 9/1/2005 7:45:28 AM
I am trying to add push buttons to my windows form, but I cannot find them. These are buttons that exhibit the same behavior as radiobuttons, where if a user clicks the pushbutton, it stays clicked and other buttons grouped with the pushed button become unclicked. I tried looking at the style...more >>

Problem with forms not properly disposed
Posted by Rolf F. at 9/1/2005 3:11:02 AM
To be able to explain what's happening, I will use a short example: The example is created in VB.Net 1.1. I have a form with a combobox on it. The datasource is set to a global datatable object which is instanciated on a vb module. I instanciate the form, set the datasource, valuemember and dis...more >>

How to create a synchronize scrolling in richtexbox using c#
Posted by Jon Chua at 9/1/2005 12:00:00 AM
Hi folks, Can somebody help me to create a richtextbox with a synchronized scrolling using c#? I need to place to richtextboxes on windows form, upon scrolling on one richtextbox the other richtextbox should also scroll. Thanks, Jon ...more >>

CDO Message Object decided this am to Quit
Posted by rik b via DotNetMonster.com at 9/1/2005 12:00:00 AM
hey guys - i've been reading alot of discussion on this. and up until today - this wasnt a problem for me. the problem that just came up is the "Could not access 'CDO.Message' object". i've had this program working just fine on two separate machines for about five weeks now, so, it's difficult f...more >>


DevelopmentNow Blog