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 2006 > threads for tuesday march 14

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

BackgroundWorker Capability For Non UI Classes
Posted by Brian R. at 3/14/2006 10:04:27 PM
I like the concept and features of the BackgroundWorker. However, I observed that it will only work for clients that implement ISynchronizeInvoke (namely forms and controls). My instinct is that BeginInvoke uses windows message loops to synchronize back to the main (UI) thread. I want thi...more >>

Creating a Desktop Shortcut
Posted by Dan, Vascas at 3/14/2006 5:11:37 PM
Hi Guys, Please help me. How do I create a Desktop shortcut from vb.net 2005. I also need to find a shortcut from a desktop, if exist I need to change the path. How do I do it. Please help me. Dan ...more >>

[.Net 1.1] Strange error
Posted by Adam Klobukowski at 3/14/2006 3:54:52 PM
Hello I have a scrollable System.Windows.Forms.Panel, and I add/remove controls (ListView only) to/from it programatically. Sometimes, probaly when redrawing the panel while adding/removing controls or scrolling the panel i get an infinite loop of messageboxes saying "invalid parameter u...more >>

DrawToBitmap problem
Posted by paulo at 3/14/2006 12:30:30 PM
Hello, I need to get an image from a control and all its children. I'm using DrawToBitmap, but there are problems with the final result. There are things that are not correctly painted on the image. I've tried other approaches using the WM_PRINT message, but the result is the same. Is ther...more >>

User Control
Posted by Rodrigo Ferreira at 3/14/2006 12:05:06 PM
Hello i have some problems with a UC that i create. This UC only contains a textbox. When i insert the UC into a form of any app, no problem occurs. The problem appears when i change the form font. When i do that, all the controls of the form automatically change his font, including the UC...more >>

DataGrid with drag and drop, need to control rowstate.
Posted by John Sitka at 3/14/2006 11:33:33 AM
Hi, I'm displaying a datagrid when the user enters (highlights) a certain text cell on a row it does a lookup of possible matches. The matches are displayed in a listbox and one of those matches can be quickly tossed with the mouse over to the grid surface and replace the original cell text. ...more >>

Drawing a grid on the form
Posted by Wade at 3/14/2006 10:38:43 AM
Hey all, I am drawing a grid on my windows form -- however, I wonder if the way I'm doing it isn't the best, as it seems to take awhile to create the grid. Any thoughts? private void DrawGrid() { DrawGridBoundary(); int Width = FormWidth; ...more >>

BinaryReader in Byte[]
Posted by wavemill at 3/14/2006 9:40:27 AM
Hello! I would like insert my data(who i get on my binaryreader) in an array byte. nd after, i would like modify it and save it with my BinaryWriter this is my code. My file is always empty. Thank's for your help, Wavemill FileStream myStream = new FileStream(@"\MyFile.bmp", FileMode...more >>



Add Icon to Titlebar (right side)
Posted by rob at 3/14/2006 9:38:28 AM
I would like to add an icon to the RIGHT side of an application's titlebar. Basically, it will supplement the other icons already there. Is there any direct support in .NET 2.0 to do this? If not I assume I would have to subclass the windows form but what exactly would I do there? Also how ca...more >>

Painting TabControl
Posted by mailptudo NO[at]SPAM gmail.com at 3/14/2006 7:10:52 AM
Hi, I'm having a problem painting with my tabcontrol... I've painted my tabpages, but I could not paint the background of the tabcantrol. Now I have my tabpages painted, and a grey rectangle after the last tabpage, and until the rigth limit of the tabcontrol. I've search without any luck...more >>

Override WndProc is stopping shutdown
Posted by dkisting NO[at]SPAM dankisting.com at 3/14/2006 6:25:30 AM
Hello, I am overriding the WndProc in my main form of a Windows application and the design is for it to ask for some info, kill the application, and continue on to either shutdown or restart. This is working fine for the go into hibernation or standby mode, however with shutdown, it stops af...more >>

Trapping Key Presses.
Posted by Steve at 3/14/2006 6:22:27 AM
I want to trap a key press for my application but the application does not seem to trigger the KeyPress,KeyDown or KeyUp events. I have a menu and a picture on the main dialog. Is this a focus issue? or do I need to add further event handling? -- Steve H....more >>

Printing rich text format
Posted by Ilya Dyoshin at 3/14/2006 1:42:58 AM
Hi all! Is there a possibility to print RTF document in .NET Framework using WindowsForms, without writting own RTF parser?? There's lots of tables and some text formatting tasks In my RTFs... So writting own RTF parser would be a bit hard. Thanks. ...more >>

Getting the DPI setting?
Posted by JezB at 3/14/2006 12:00:00 AM
Running my windows forms on screens set to 133 DPI has some odd effects (scroll-bars suddenly appearing because objects overflow their containers). Setting the AutoScaleMode to dpi doesn't seem to fix the problems either. Is it possible to evaluate the DPI setting within the code and make the ...more >>

problem with IExtenderProvider
Posted by Martin at 3/14/2006 12:00:00 AM
I'm implemented a class called MyProvider which inherited from Component and IExtenderProvider. i have the problem, that when I typed anything in the visual studio designer in my MyItem-object which is provided by MyProvider, the data is lost, after I clicked in another textbox. i added the fo...more >>


DevelopmentNow Blog