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 > april 2004 > threads for monday april 19

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

IS Dot net appropriate for Windows application
Posted by Vikram at 4/19/2004 11:56:59 PM
Is using dot net correct for building windows database application. Can anyone point to some articles which highlight this issue as i have noticed that strees is always laid over dot net to be used as web based applications. Any demo app or articles is there please let me know. Vikram...more >>

Overridable or NotOverridable (System.Collections.Collectionbase.Clear)
Posted by Ning at 4/19/2004 9:01:02 PM
My code is simpl Public Class Class Inherits CollectionBas Private _lock As New System.Threading.ReaderWriterLoc Public Overrides Sub Clear( _lock.AcquireWriterLock(-1 MyBase.Clear( 'Add my own code _lock.ReleaseWriterLock( End Su End Cla...more >>

databind dataviews to datagrid
Posted by martin at 4/19/2004 7:23:14 PM
Hi, After working for a while with asp.net I decieded it was about time to try out win forms. However I am having problems with databinding. I have two datagrids on a single form. I have made a single dataset and populated it. I have made my first dataview from my original dataset and attemp...more >>

Adding an existing project error
Posted by Newbie at 4/19/2004 6:24:00 PM
Hi, I have two VS .Net 2003 projects that compile and execute correctly on their own. I would like the second project to launch from within the first project. Therefore, I added the second project to the first, via "add project/existing", and added a button (and code) to launch the seco...more >>

Regular Expressions
Posted by Collin Smith at 4/19/2004 5:37:11 PM
I'm new to regular expressions and I'm having some trouble with the following. I'm trying to match the start and end tags of a particular HTML tag set and all the text inbetween. something like this.... yadda yadda yadda ... <listitem>1. Some data that I want</listitem> yadda yadda yadda....more >>

catching a itemchecked type event on a checkedlistbox
Posted by nic at 4/19/2004 4:48:48 PM
Is there any way to catch an event that is fired when an item is checked or unchecked on a checkedListBox:? I'm looking for something similar to CheckStateChanged on a CheckBox. I'm not seeing anything to indicate there is the event is similar present for a CheckedListBox here : http://msdn....more >>

creating transperent usercontrol
Posted by Samir at 4/19/2004 4:46:08 PM
Hi... I am trying to create usercontrol with transperent background color.. I can't do it.. it becomes black background on webforms and it is not transperent.. i should be able to view the control behind that contro.. or background of the container which contains that control.. I need some sample,...more >>

The better mousetrap with a built-in trap
Posted by Chris Botha at 4/19/2004 3:47:59 PM
If one wants to assure that there is only one instance of an app running, then the popular solution is to use a Mutex and a message box, telling the user there is already one running. I decided to go one further, bring the 1st instance to the foreground, no message boxes. Impressive, I thought. S...more >>



Drag and Drop of E-mail items
Posted by Vijayakrishna Pondala at 4/19/2004 12:47:59 PM
Hello, I want to drag and drop an email item from OUTLOOK to a form. After dropping, i want to save the dragged mail item as a .MSG in my C:\temp. I tried with all DataFormats but could not do this... Help please? Thanks, Vijaya KrishNa P. ...more >>

Print Form Properly?
Posted by localhost at 4/19/2004 11:05:44 AM
I am attempting to do a "print screen" on a WinForm. The "now printing" dialog box is showing in the print-out, which is not what I want - I only want the screen dump of the WinForm itself. I used the code from the Windows FAQ (http://www.syncfusion.com/faq/winforms/search/491.asp). Ho...more >>

Are records in a dataset lost when switching forms?
Posted by Nancy at 4/19/2004 10:45:59 AM
My dataset1.xsd contains several elements. One of my elements "reqs" contains records of data which are filled via form1. When I call form2 from form1, dataset1.reqs is empty. I thought that since the dataset1.reqs is in memory, I could see element and their records in any forms I called ...more >>

Toolbar image with XP style
Posted by David Pizzi at 4/19/2004 10:36:32 AM
Hi guys enabling the XP style (System.Windows.Forms.Application.EnableVisualStyles()) makes my toolbar images disappear. It seems that it's not possible to show the image of a toolbar button with XP style !! Any solution or workaround ? Kind regards David Pizzi ...more >>

Moving a Splitter
Posted by LittleC at 4/19/2004 7:36:08 AM
Hi I need to move a splitter on my form within my code, I've tried the following, but it does nothing objSplitter.Location = new Point(intX, 0) objSplitter.PerformLayout() Any ideas Cheers LittleC...more >>

Process.Start for MSDE setup hangs at sqlredis.exe
Posted by M K at 4/19/2004 7:31:06 AM
Here is my process myProc = Process.Start("myPath & "MSDE\setup.exe", "SAPWD="..." /qb /l c:\dm3msdeInst.log /settings securitymode=SQL" While myProc.HasExited = Fals System.Threading.Thread.Sleep(1000 End Whil The Setup runs until here (last line in log file) Executing "C:\Program Files\Mic...more >>

one click checkbox in datagrid
Posted by David Cox at 4/19/2004 3:45:19 AM
I added a mousedown event handler to my form for my datagrid. I wanted to catch the event so I could toggle a checkbox in a checkbox column with one click rather than the usual two clicks. Here is the code inside my mousedown handler: int myCheckBoxCol = 0; DataGrid.HitTestInfo hti = dataG...more >>


DevelopmentNow Blog