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
all groups > dotnet windows forms > july 2004

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

How can I hihglight the whole row of DataGrid in C#
Posted by Serg Matvienko at 7/31/2004 8:28:42 AM
Hi everybody, My dataGrid is "for read" only. How can I hihglight the whole row of DataGrid when I am navigating through rows? Now I can see only a small triangle on the right side of dataGrid moving. I use C#. Thanks a lot in advance, Serg ...more >>


Get the week(mon , tue ...) and the nos of week in the month
Posted by Joe at 7/31/2004 3:27:01 AM
Dear all how can we know the weekday, and the number of week in the month when i get a day in monthcalenda....more >>

Help Wanted: VB.NET Rebar/Coolbar with Menu
Posted by The New iSoftware Company at 7/30/2004 5:57:02 PM
Hey everyone. I'm developing a VB.NET Rebar/Coolbar with Menu. Is anyone intrested in helping with this feat of API? I want this to clone the IE one exactly and have the MDI menu functionallity. Any one up for a challange with me? Let me know by repling here. P.S. I have some buggy C# code to ...more >>

User Control Property VS .resx files
Posted by Tony at 7/30/2004 5:02:30 PM
Hi all, I have a simple question here. I developed a user control which inhreits from the UserControl class. I exposed an custom property and then build the project. In another project, I added this control to a Window Form, set that property to a value, save and build the project. Everything...more >>

Win32_Printer
Posted by Harry Simpson at 7/30/2004 4:59:37 PM
I'm trying to grab printer status for a printer with WMI I got a mo("PrinterState").tostring of "128" for a paused HP printer. What is "128" equate to? It did give a mo("PrinterStatus").tostring of 1 = "paused" which was correct but it took a while to display the correct state. When I un-pa...more >>

Lookup tables and data binding
Posted by Joe S. at 7/30/2004 3:50:00 PM
Hello, I have a form that is used only to insert data into a database. It is composed of a datagrid which is used only for displaying data and selecting rows and a few text and combo boxes for the actual data editing. What I want to do is bind these to a data source, but I am not exactly sure ...more >>

Run a test process after a form is fully loaded and displayed
Posted by Steve Teeples at 7/30/2004 2:45:10 PM
This question may be simple for most but I'm still relatively new to C# and .NET. I want to load a form that does nothing but display a progress bar and text fields that show some processes running in the background. I don't want to processes to run till after the form is displayed so that the pro...more >>

Child Form Focus Problem
Posted by ian.kalinowski NO[at]SPAM gmail.com at 7/30/2004 1:33:42 PM
I'm trying to create a form that is only displayed/movable within the bounds of a parent form (i.e. the child form is clipped to the parent form's client rectangle). I don't want to use MDI for this because the parent form will be an MDI child. For example, there are three forms: A, B, and C. ...more >>



Timer and Monitor
Posted by Sateesh at 7/30/2004 12:55:31 PM
Hi, I have a method that is being called by a timer. I want to lock the entire section of the code in the method to protect it from being called simultaneously. So I am using Monitor.Enter(this) and Monitor.Exit(this) where this is the form object where the method is present. But what I obs...more >>

Hosting Windows Forms Controls in IE & Compression
Posted by Wells Caughey at 7/30/2004 12:46:26 PM
Hello everyone, I am writing an application where I am hosting a control I created in IE. Everything seems to work ok (aside from the minor security glitches here and there) but it seems to take a very long time to navigate to and from the page containing the custom control, even after it has ...more >>

Windows Forms VB Datagrid Dropdown Column
Posted by Jon at 7/30/2004 12:33:02 PM
I have Windows form (NOT ASP) With a datagrid that is bound to a dataset at runtime. I want one of the columns (that contains the dataValue) to be shown as a dropdown that will display the DisplayValue. I could do this WITH EASE IN ASP but it seems like more is required in Winforms. How do you do th...more >>

Infragistics issues!!! Need Help, URGENT!
Posted by pnmm NO[at]SPAM portugalmail.pt at 7/30/2004 11:02:39 AM
Hi all! I know this is not the proper newsgroup, but who knows? I've tryed 'Infragistics.dotnet.misc.controls' but no one posted! I would like to put tooltips in some controls such as button and textboxes, but i can't find whatever they (Infragistics devcenter) call "inbox tooltip component...more >>

Painting my own scroll bars
Posted by Dragon at 7/30/2004 8:04:09 AM
Does anybody know I can override the drawing of scroll bars within a WinForms app. That's to say, where ever windows (within the app) puts a scroll bar (H or V), on forms or controls, I need to draw my own scoll bar. Does anybody know if possible?, and how?, Any examples? ...more >>

Can assembly caching be prevented when using the NTD scenario?
Posted by Nick L. at 7/30/2004 5:57:02 AM
Is it possible to prevent caching of assemblies when using the NTD scenario (or at least have the cache cleared at the end of a user session)? The reason I ask is that our team is currently developing a Windows Form based application and we plan to use the No Touch Deployment (Smart Client) featu...more >>

Entry point not found
Posted by sunil NO[at]SPAM volcanomail.com at 7/30/2004 5:25:56 AM
Dear All, I have a .Net WinForm application whose first line in Main is MessageBox.Show("hello World");... When this exe is compiled on Windows2000 or XP and run on an NT machine I get the following error: The procedure entry point User32InitializeImmEntryTable could not be located in t...more >>

ControlPaint.DrawReversibleFrame painting problem
Posted by trn_study NO[at]SPAM hotmail.com at 7/30/2004 4:11:58 AM
Hi, Greetings. I have used ControlPaint.DrawReversibleFrame to draw focus rectangle on my custom drawn user control. All is fine and I can get the toggling effect as that of ROP operations. When the control is re-painted either because of re-size or some other form overlapping it), the fra...more >>

Non-Rectangular Resizable Form like Microsft Media Player
Posted by Michael Drake-Brockman at 7/30/2004 3:52:04 AM
Does anyone know how to create a winforms app similar to Microsft Media Player. I can create a form that has a background bitmap and a transparency color, thus creating a no rectangular form but how do they handle the resizing of the form without stretching the background bitmap. Also media play...more >>

Designtime Property Setting outside propertylist
Posted by Ronald at 7/30/2004 3:15:03 AM
Hi, I have this custom control (derived from a TextBox) with a property. I find it bothersome to go through the (long) property list to set a simple, (for me most important) property in the property list. So, I created a custom designer, and when I right-click the control I get a popup menu, w...more >>

calling the method of a base class by reflection
Posted by mark13 at 7/30/2004 2:13:02 AM
Some weeks ago, I needed to access the method "get_DataGridRows" from the System.Windows.Forms.DataGrid class. I successfully worked it out with the following call: MethodInfo mi = DataGridInstance.GetType().GetMethod("get_DataGridRows", BindingFlags.FlattenHierarchy | BindingFlags.IgnoreCase |...more >>

Form opened the second time opens in the background
Posted by sunil NO[at]SPAM volcanomail.com at 7/30/2004 1:40:58 AM
Dear All, If I create a form and then close it...next time it is launched again is shown in the background...I tried using API call SetForeGroundWindow but it did not work...is it a feature or bug of Windows2000 or XP...can someone plz confirm this... Please help... TALIA Many Regard...more >>

Lock size property problems in a custom control
Posted by GG at 7/30/2004 12:41:01 AM
I made a custom control and I want to make impossible to resize it. I follow these steps: - I use a ControlDesigner (overridden SelectionRules) - I hide the public Size property and make it readonly - I override the protected DefaultSize property and I achieve the correct behaviour in the de...more >>

Open new forms BEHIND the active form
Posted by Squirrel at 7/29/2004 11:38:44 PM
Hi, I'm developing a messenger-style application, and everytime a new chatter comes up, a new window should be opened. Of course, this window should not get the focus, so I tried ShowWindow API with the SW_SHOWNOACTIVATE flag. Now the problem is that the new window, although not getting focus...more >>

how to execute win App methods from script in web pages when used with WebBrowser control
Posted by sachin at 7/29/2004 8:52:18 PM
Hi All, I'm facing difficulty in coding. I have a win App that has a web browser control that host a website. Code is in VB.Net. The website have many web pages. I want to execute win App methods from script in web pages. I got some info but its in VC++. Its like calling window.external.your...more >>

Change Toolbar Button Images
Posted by holysnappingducks at 7/29/2004 6:27:03 PM
Im trying to figure out how to change the image of a toolbar button as the user hovers over the button - similar to word/excel etc etc. Is there a way of determining which button is being hovered over? -- ~~~~~~~~~~~~~~~~~~ Just do something. ~~~~~~~~~~~~~~~~~~...more >>

datagrid fullrow select
Posted by Dan at 7/29/2004 6:26:28 PM
How can I select the full row in a datagrid? I tried the code below (from the Syncfusion windows forms faq), so that all the cells of a row are selected when I click on a single cell, BUT this has the effect of not allowing multiple rows selection (ctrl-click or shift-click). How can I fix this?...more >>

show modal dialog / progess and move on ..advice please..
Posted by martin at 7/29/2004 5:10:08 PM
Hi I have a long running task and while it is being performed I wish to show a modal dialog that displays the progress of my task.. what I am doing is this 'start task frmWait.ShowDialog(Me) 'perform task and update the dialog "frmWait" take frmwait down. however exec...more >>

Datagrid
Posted by usha at 7/29/2004 5:03:53 PM
Hi I want to remove the text NewDataset appearing on my datagrid, if i know where is it set, i found it is neither the text /caption property, then where it is? thanks ushas ...more >>

datagrid
Posted by usha at 7/29/2004 4:57:11 PM
Hi How do ii have datagrid display data directly and prevent the data appearing on datagrid only after the click of the + sign and then the table name. thanks ushas ...more >>

Maximized forms in MDI
Posted by James at 7/29/2004 4:02:22 PM
Hi. I basically have an MDI application with many 'child' forms, and am having difficulties with form WindowStates. Most child forms in my app should run in FormWindowState.Normal (or .Minimized) only, and I have disabled the Maximize buttons for them. Most of the time, this works fine, but I am hav...more >>

Drag e-mail from outlook 2003 to application
Posted by João Melo at 7/29/2004 3:28:19 PM
I have tried to drag an e-mail from the outllok 2003 to my windows application. So far all i could do was drag some attatchments. Here is my code... am i doing something wrong or this just does not work ? João Melo ################################################################# Dim t...more >>

how to get information back to the calling form
Posted by jhs at 7/29/2004 2:44:24 PM
Hello, i'm developping a windows.forms app, using C#. form a form (Form1), i want to call a second form (form2) I want to use form2 as a generic form to set colors, fonts, .... for many types of labels included in form1. So the question is: how can i call Form2 with initial value (get ...more >>

Waiting for background thread.
Posted by Graham Allwood at 7/29/2004 2:22:49 PM
Hi, I have a windows forms application that starts a background thread when it loads. The background thread is intended to load some data from a database, this data is required later on in the app (say on some menu option being chosen). Now, if this menu option is chosen I check the state of t...more >>

[BUG] Graphics.DrawIcon(Icon, int, int);
Posted by Lloyd Dupont at 7/29/2004 2:01:29 PM
in .NET 1.1 Graphics.DrawIcon(Icon, int, int) doesn't clip the icon according to the graphic object's current clip region -- Lloyd Dupont, Software Architect Get Your Data Mobile http://www.ihookdb.com ...more >>

Form Knock-Out
Posted by Tim Sorenson at 7/29/2004 1:48:10 PM
I am trying to create a form that has a notch in the Upper Left corner. Currently we use the Transparent propertry to see other forms behind the current one. That is causing some problems when the user is interacting with it. So we want to notch a corner out or only make that corner transparent? ...more >>

Tabed Dialog and server updates.
Posted by William Stacey [MVP] at 7/29/2004 12:39:59 PM
Say you have a tabed dialog window like the the MS DNS Properties Window. You can go add/change/delete a bunch of stuff on each tab and hit cancel and nothing on the server is changed (easy part). However, if you hit Apply or OK, you then need to figure out what all was changed and do the delet...more >>

Can I use VB.Net to make a special FTP client?
Posted by M K at 7/29/2004 12:21:41 PM
Is this possible? Any ideas on source code available?...more >>

.NET Remoting HOST always creating new instances
Posted by Ahmed at 7/29/2004 11:55:00 AM
I am trying to create a remoting host where I have a datatable and the client simply adds rows to the datatable and has the possibility to fetch the whole datatable. Every request they make always re-initializes my library so my datatable becomes a blank one with every new request.What I was loo...more >>

MDI Child Looses focus
Posted by Hanika at 7/29/2004 11:53:28 AM
Hello, I have seen a lot of people with a problem simialr to mine but I can't seem to find a solution to my problem. I have an MDI Child form with a user control and a toolbar. My MDI parent has a panel docked on the left with a treeview in it. When some processing occurs in the MDI Child...more >>

Invoking a command line .exe program
Posted by Simon Harvey at 7/29/2004 11:46:07 AM
Hi, I have a simple .exe application that I need to invoke from my C# application. I need to send it two strings and then get the result back. Can anyone advise me on how this is done? Also, I'm currently using a windows forms application but I would like to use an ASP.net appliocation to...more >>

MDI Children don't get Focus
Posted by Maqsood Ahmed at 7/29/2004 11:22:43 AM
Hello, We are converting our product from Dot net Framework v1.0 to Dot net Framework v1.1 and experiencing some problems regarding it. In our MDI Application, any Child window doesn't activate on mouse click in Client Area, whenever we open/close any Child form that hosts ActiveX control (such ...more >>

Why can't I delete this file? Does Assembly.LoadFile leave it lock
Posted by M K at 7/29/2004 10:52:34 AM
In my Windows Form, I have a io.File.Delete(filePath) command. Everyone has Full Control to the folder and file. I watch the file with FileMon and nothing opens the file in my code. (There is no code to open the file before the delete command.) I get an 'UnauthorizedAccessException'. How can I fi...more >>

datagrid datatable problem.
Posted by clyyy2002 at 7/29/2004 10:34:43 AM
if you not sort the grid and then click "del" button,no problem. but if you sort the grid (column caption is "DNAME" ) first and then click "del" button, a exception occur(System.IndexOutOfRangeException) . why? underside is my program. Thank. using System; using System.Drawin...more >>

Sub Properties in Designer
Posted by msnews.microsoft.com at 7/29/2004 10:30:37 AM
I have a class Order that contains a set of properties for my OrderControl control. Instead of creating separate properties in OrderControl for every property in Order, I just wanted to make Order a property and then let the user set any properites within Order via the designer. But I don't...more >>

Infragistics Ultragrid Summaries Display Format
Posted by barrantesj NO[at]SPAM bellsouth.net at 7/29/2004 10:24:24 AM
I am trying to format the summarie band as a numeric field or currency but I don't know what string I need to entered in the displayformat. I tried "###,###,###", "c","999,999" and did not work. I tried to get the value to use format() function but I cann't find it. oBand.Summaries(intRecno...more >>

extract directory name out of filename
Posted by Chris at 7/29/2004 9:20:12 AM
Hi, is there a way to extract the directory-name out of a filename that includes the path ? thnx Chris ...more >>

Click event handler in forms, which the forms are in the mdi container
Posted by Arashk Mahjoubi Amine at 7/29/2004 6:21:36 AM
Hi I have question about Click event handler in forms, which the forms are in the mdi container. Let say from1 is a mdi container (IsMDIContainer = True) and include form2 and form3. In form3 we have a Textbox and Button and both of them have Click event handler and also AcceptButton in f...more >>

Crystal Report - Need URLs
Posted by ChristManIn at 7/29/2004 3:43:30 AM
Hi, I am new to Crystal Reports in .NET Can anyone give me a good links which can help me to understand Crystal Reports. I mean. How to write program for Crystal Reports in C#. etc.. -- Great!! ChristManIn...more >>

Adding Images to ComboBox
Posted by Hazira B at 7/29/2004 3:20:17 AM
Dear Firends, Is there any combo box available for displaying images inside the combo box. -- Yours, Hazira B...more >>

Urgent Problem in adding Events tab to propertygrid
Posted by gurjinder NO[at]SPAM beesys.com at 7/29/2004 12:21:45 AM
Hi, I am making a form designer. It is same like VS.net IDE. I am facing difficulty in adding Eventstab to propertygrid control. In some forums it is mentioned that just assign some Site to sIte property of propertygrid and then just do grid.propertytabs.addtabtype(typeof(eventstab),Pr...more >>

Usage of Virtual Studio .NET
Posted by Dr. Pastor at 7/28/2004 5:56:15 PM
When constructing a program using Microsoft Visual Studio .NET, I would like to know the methods and values of my form or class is inherited from its parent. What would be the effective way to do the above? The right click produced window's "Go to Declaration", or "Go to Definition" does not d...more >>


DevelopmentNow Blog