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 > march 2005 > threads for thursday march 3

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

Marshal.GetLastWin32Error errors
Posted by Alex at 3/3/2005 11:46:49 PM
Hello, I have a problem with Marshal.GetLastWin32Error() Every call returns 127 (ERROR_PROC_NOT_FOUND) even if the previous call = was successful. For example, given: namespace Utils { public class Win32 { [DllImport("user32.dll", SetLastError =3D true)] publi...more >>


MDI Client Problem
Posted by tsiGeorge at 3/3/2005 9:27:02 PM
Continues - Clicking a button and pressing Enter key act different in MDI. Jeffrey It's not a new problem. I think I described a problem where the client didn't fill properly. I thought it was due to a open/save dialog being displayed. After I got the other workarounds in, I found that the s...more >>

Running this causing an error.
Posted by Nick Zdunic at 3/3/2005 8:43:03 PM
I have this code which throws up an error on my box (Windows Sever 2003 - Enterprise Edition) MsgBox("Message", MsgBoxStyle.Question OrMsgBoxStyle.MsgBoxSetForeground, "Title") I have tried using this code and still it wont work: Dim permSet As New PermissionSet(PermissionState.None) p...more >>

question about form load
Posted by gladiator at 3/3/2005 6:47:06 PM
Hello: In a MDI windows form application,as soon as the main form become visiable ,i want to show a modal dialog(not mdi child) in the center of the main window without user interaction. which event is suitable for this purpose? Thanks in advance!!! ...more >>

How to know where (Point.X & Point.Y) mouse was doubleclicked ?
Posted by AndreB at 3/3/2005 5:49:00 PM
Hi, How to know where (Point.X & Point.Y) mouse was doubleclicked ? TIA, AB. ...more >>

Tab page automatically selecting first control
Posted by Lance Johnson at 3/3/2005 5:35:17 PM
I would like when I select a tab page for it to default to the first control automatically. This seems like it wouldn't be hard, but I can't seem to get it to do that easily. So if I were to click on a tab page, I would like to see the cursor in the first control of the tab order. Any help ...more >>

Common practice, allowing null values in data classes.
Posted by D Witherspoon at 3/3/2005 4:32:51 PM
What is the accepted method of creating a data class or business rules object class with properties that will allow the returning of null values? For example... I have a class named CResults with the following properties. TestID int QuestionID int AnswerID int So, this is a simple examp...more >>

read and write file
Posted by Yahya at 3/3/2005 2:49:36 PM
Dear Sirs, I would like to copy a file from an http (http://...x.doc) address to a local address (c:\x.doc). How can I do this? Regards, Yahya ...more >>



can I replace a pressed key by another in a control
Posted by jean-dot-paul-at-opelwilly-dot-com at 3/3/2005 2:25:29 PM
Hello, Is there a known way to replace a pressed key by an other. KeyPressEventArgs.KeyChar is read-only so is there a work arround. I want to change the decimal point of the numeric keypad into CultureInfo.CurrentCulture.NumberFormat.CurrencyDecimalSeparator at anny time. Greet...more >>

Fixed Dialog without a title bar
Posted by Ryan Taylor at 3/3/2005 2:06:01 PM
Hello. I have been trying to create a fixed dialog without a title bar. Is this possible? Thanks. Ryan ...more >>

design-time issue with user control
Posted by Dan Ingalla at 3/3/2005 2:03:01 PM
Hello experts. Description: My problem occurs under the following assumptions: - I created a class called 'VisualAspect', which contains generic properties such as BackColor, ForeColor, FontData, BorderStyle, etc. -- I implemented a TypeConverter for this class that returns a cons...more >>

Memory Management
Posted by RG at 3/3/2005 1:57:04 PM
I am planning to write an explorer like SDI application utilizing ADO ..NET/ACCESS DB. There will be a number of different detail views (referencing and updating data on the db) depending on the selected tree node. I have tried creating multiple pannels and plant controls on them and show ...more >>

How to override form's Maximize button operation?
Posted by Dave Leach at 3/3/2005 11:25:09 AM
I am developing a Windows Forms application in VS.NET 2003 and C#. The application is using the MDI style. I have one or more child forms visible in the client area of the main form. I want to keep the MaximizeBox property set to True so that the user can click the maximize button on the ...more >>

Simulating a web page
Posted by Fabiano at 3/3/2005 9:45:41 AM
Please, i would like to create a windows form that simulate the fields fill of a webpage and then post data to it. I'm looking for some class that let me do it, if no sucess, anybody can help me? Thanks in advance. Fabiano ...more >>

Cacheing remote event log
Posted by Rob Oldfield at 3/3/2005 9:11:04 AM
I have some code that loops through the entires in an event log which works fine... but very, very slowly. I've found something on the web that claims that using the copyto method of the entrycollection class to cache the entries locally will speed things up... but I can't figure out how to get ...more >>

Time Zones
Posted by NormD at 3/3/2005 8:51:03 AM
We want to disable the auto localization of DateTime's in DataSets. It's actually nice that deserialization converts the datetime values to your local time zone but we need to show data as it's in the database. It looks like there is no easy way to handle this. My question is can we somehow ...more >>

Highlighting entire row when cell is clicked in DataGrid
Posted by Charlie NO[at]SPAM CBFC at 3/3/2005 4:13:48 AM
Hi: Using the WinForms DataGrid, I would like to have the entire row highlight rather than just the cell that was last clicked. How do you do this? Thanks, Charlie ...more >>


DevelopmentNow Blog