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 2008 > threads for march 8 - 14, 2008

Filter by week: 1 2 3 4 5

Application freeze during query
Posted by Gabriel at 3/14/2008 3:30:58 PM
Hello, I have an application connected to a database when I execute a query (SqlCommand/SqlDataReader). When I execute my application impossible to move the form during query execution. I tried to implement BeginExecuteReader and EndExecuteReader but no change. Do you have an idea ? ...more >>


display data in gridview
Posted by Paul at 3/14/2008 1:06:01 PM
Hi I am using vs 2005 and have a simple windows application. I put a gridview on a form and used the wizard to build a connection string (the wizard placed it in the app.config file). For the dataset I selected a stored procedure that requires no input. I tested the connection and it wor...more >>

Pictureboxes moving on their own volition when form is displayed
Posted by RobinS at 3/14/2008 10:42:12 AM
I have a user control that has this structure from top to bottom: Label1 Label2 PictureBox1 Label3 PictureBoxes2 through 11 All of the controls are anchored Top,Left. Pictureboxes 2 through 11 are right next to each other in the designer, with 1 pixel of space between them....more >>

Q: Is there a Winforms "accordion" already?
Posted by Matt at 3/14/2008 7:47:38 AM
Hi everyone. I'd like to have a "accordion" type effect in one of my applications. You can see what I'm talking about here: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Accordion/Accordion.aspx Just like that, except for Winforms desktop applications. Googling doesn't show anyth...more >>

Error logging and reporting
Posted by John at 3/13/2008 8:46:34 PM
Hi Is there an off the shelf system available that can be incorporated into ..net app to log and possibly report via email the errors in an app? Thanks Regards ...more >>

ReportViewer Control SetParameters Exception After Report Export
Posted by groups2008@stanwick.net at 3/13/2008 5:46:57 PM
ReportViewer.LocalReport.SetParameters() fails after a report has been exported to a file location that no longer exists (media removed, invalid path, etc.). Microsoft.Reporting.WinForms.LocalProcessingException: An error occurred during local report processing. ---> Microsoft.Reporting.Defin...more >>

Application.Exit After Event Fires
Posted by Chris Fink at 3/13/2008 9:20:03 AM
I am using the webbrowser control in a winforms app. It is an unattended app, so as soon as the event "form1_shown" is fired the webbrowser control loads a url and then wires the print event as such, prints the document, and is then supposed to exit the app. webBrowser1.DocumentCompleted ...more >>

Invoke does not change thread!?
Posted by Carl at 3/12/2008 1:58:39 PM
Hi, My complete scenario is a bit to complicated to explain, but my problem is this: I start a child-thread from the main thread, the child is not a BackgroundWorker, but a Thread, since it needs to be in ApartmentState.STA because it needs to create a Form and display some stuff. It all...more >>



Win Form never gets focus?!?
Posted by Fre at 3/12/2008 4:45:53 AM
Hi all, In my winform application, I want to check on certain moments if my winform has focus. If so, some code will be executed. I noticed however, that the winform never gets the focus, even when it clearly has focus. How is that possible? What setting could I've messed with that causes my ...more >>

App bombs in production
Posted by John at 3/12/2008 1:26:21 AM
Hi I have a vs 2003 win form app which runs fine in IDE but once it is deployed via setup it bombs on start-up screen and wants to send MS the error report. This happens on multiple pc including the development machine so problem is probably not with pcs. What is the problem and how can ...more >>

How to launch an app with double-click on filename
Posted by Dick Swager at 3/11/2008 5:15:17 PM
I have an Windows Form application that has child Forms in it. I have a constructor in the main form that takes a filename as an argument an creates a child form from the data in the file. If I launch the app from the command prompt with a filename as an argument, it works fine. But if I ...more >>

Stopping a RichTextBox updating
Posted by kelvin.koogan@googlemail.com at 3/10/2008 1:41:05 PM
I am trying to do an operation where I find and highlight all instances of a string in a RichTextBox. E.g. pMatchesFound = Regex::Matches(pRichTextBox->Text, pStr, options); for (int i = 0; i < pMatchesFound->Count; i++) { Match ^m = pMatchesFound[i]; pRichTextBox->SelectionStart ...more >>

TableLayoutPanel and FlowLayoutPanel resizing question
Posted by Dave Farquharson at 3/10/2008 10:27:24 AM
Hello, I have a 3-row table layout panel, each row of which contains a flow layout panel. For some reason getting the table and its children to auto-resize properly (and the flow panel's children to re-flow after) is proving difficult. Anyone have experience with this, or know of a thorough...more >>

app.config file
Posted by Andrew at 3/10/2008 6:54:01 AM
Hi, I have a question about the app.config file. I am using EnterpriseLibrary v3.1. 1) From what I read on this forum, I can only have 1 app.config file in my windows application. One of my dll projects have applicationSettings : <applicationSettings> <ABCdll.Properties.Settings> ...more >>

low refresh rate
Posted by Brett at 3/10/2008 6:00:01 AM
I using a new laptop running Vista and have Nvidia GeForce 7600 graphics card. I'm trying to connect my TV to this computer using Svideo. It has worked in the past however I must have changed a setting somewhere? On my second computer with Xp it all connects right! So it's all connected ...more >>

FormClosing Event
Posted by DarxOman at 3/9/2008 8:47:02 PM
FormClosing Event doesn't Fire when I kill The app with the Task Manager!! Any Ideas Why?? what I'm Trying to do here is I'm trying to Cancel the Form Closing by setting the e.cancel = True But never get it to work when I kill the App with the Task manager....more >>

USB Ports stop working
Posted by Tribal at 3/9/2008 4:24:01 PM
Today my printer stopped working and the message of "One of the USB devices attached to theis computer has malfunctioned and windows does not recognise it" came up when I reinstalled the printer. I also notice that all my devices connected via USB hava all stopped working (blue tooth keyboa...more >>

Reference database application request
Posted by John at 3/8/2008 8:43:59 PM
Hi I am looking for a sample master-detail database winform application that handles multi-user issues like concurrency violations to inspect its code for good db development practices. Would appreciate link to any such app. Many Thanks Regards ...more >>


DevelopmentNow Blog