Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > june 2008

Filter by week: 1 2 3 4 5

preferred way to handle form events
Posted by John A Grandy at 6/23/2008 12:30:52 PM
I'm new to WinForms. What's the preferred way of implementing event handlers for a Form ? Override the protected "OnEvent" methods ... ? Write a custom handler and add to the event a new delegate initialized to the handler ? Thanks. ...more >>


Problem opening windows folder from code
Posted by Rick at 6/23/2008 9:47:44 AM
Can you help me figure out how i can open a windows folder from code? I want a user to click a button to open a windows folder as you would when you click on a folder in "My Computer". Thanks for your help! Rick....more >>

accessing connection string in data access layer
Posted by Tirrell Cotton at 6/21/2008 9:08:57 PM
I've created a small n-tiered application similar to the one created in this demo video: http://windowsclient.net/learn/video.aspx?v=14625&CommentPosted=true#commentmessage The application has all of it's data access code in a seperate class library that uses strong typed datasets and tabl...more >>

clickonce with certificate
Posted by jakoande@hotmail.com at 6/21/2008 4:24:15 PM
Hi, When I publish a winform app with clickonce my users get a "publisher cannot by verified" due to a missing certificate. If I buy a code signing certificate at verisign will this message "go away" and the app install instantly, or will there pop another message up saying something like "pu...more >>

Settings.Designer.cs deleted
Posted by John A Grandy at 6/20/2008 2:49:04 PM
My Properties\Settings.Designer.cs file someone got deleted. Is there anything I can do short of creating a new project ? Thanks. ...more >>

UserControl always shows controls at fixed position
Posted by Juan Dent at 6/19/2008 12:17:03 PM
Hi, A user control is placed at different locations in a form, but this not affect the location where the individual elements of the user control are finally placed in the form's coordinates. This seems odd and counterintuitive since moving the control at design time in the form should move...more >>

What is the width of the first column in a DataGridView?
Posted by Juan Dent at 6/19/2008 11:43:06 AM
Hi, In a DataGridView, the first "column" (where you can click to select a whole row for example) has a fixed width - I think. How can we find out the current or fixed width and what are the units used? -- Thanks in advance, Juan Dent, M.Sc....more >>

Thumbnails & Listviews
Posted by P.J.M. Beker at 6/18/2008 8:53:12 PM
Hi there, I'm currently developing a program to manage my image collection. The main form contains a llistview in which the location and filenames of these images are displayed. When switching the listview to Tile mode, I want to display the thumbnails of these images. My image collectio...more >>



Expression Blend
Posted by Ronny at 6/18/2008 2:48:13 PM
I saw in wpf books that Expression Blend is recommended to develop wpf application. In the Expression suit there are some other products. My question- in order to develop desktop application is there any need to the other products and in what way? Is it a must? Is there some article that covers...more >>

Assembly missing in GAC after Publish?
Posted by Pieter at 6/17/2008 10:49:55 AM
Hi, We're using ClickOnce alreaddy more than a year for a given applicaiton, doing more than 50 publishes without any problem. Yesterday we made a minor change to one of our components (let's say with the name MyAssembly), and incremented it's version (AssemblyVersion: from 0.1.7.0 to 0.1.7...more >>

C# Winform invocation from Classic ASP page
Posted by amolppradhan@gmail.com at 6/16/2008 6:04:08 AM
Hi, I have an appilcation which is using C# Winform and classic ASP. Child form only migrated to C# from classic ASP. Hence need to invoke C# winform (child form) from legacy classic ASP form (parent form). Also return values from Child form (C# winform) to Parent form (classic ASP). H...more >>

No activity on a form...
Posted by Simon Verona at 6/14/2008 10:50:55 AM
What is the easiest way of tracking whether there has been any activity on a form at all in a specific time ? I want to have a form that automatically "timeouts" after a period of no activity. I don't really want to have to go through every button, box and catch every mouse-click etc. to k...more >>

Can anyone recommend a WPF-like control for WinForms?
Posted by rory.groves@gmail.com at 6/12/2008 9:22:34 AM
I am needing to develop animated effects in my WinForms application. The trick is that the background of the control needs to be semi- transparent or completely transparent. - WPF through Interop does not allow this, it always shows a black background. - Silverlight will only run in the brows...more >>

Ativate Form
Posted by schneider at 6/11/2008 11:38:29 PM
Hello, When a window is closed, what is the next window to get activated, and how is that determined? Thanks, Schneider ...more >>

associating value with treenode in vb.net
Posted by Vinki at 6/11/2008 12:39:01 PM
hello everyone, How can I associate a value with a tree node? I have this TreeNode nodeFirstRecord nodeFirstRecord = new TreeNode[dr["location"]] How can I se the value of IndexId to the treeNode in order to retrieve the value later nodeFirstRecord.value = dr["indexId"], I want to d...more >>

funny look to tab with bottom alignment
Posted by a non e mouse
When a tab page is made with the tabs aligned at the bottom instead of the default top one gets a funny look and feel. The rounded parts of the tabs continues to be at the top and the square end is at the bottom. One would expect it to be inverted. (This is .NET 2.0 framework and I cannot mov...more >>

Databinding problem - DisplayName empty
Posted by mcollier at 6/10/2008 6:10:06 PM
I'm having some trouble getting databinding to a ListBox to work correctly. I think the collection I'm trying to bind against is a little odd, so I'm wondering if that could be part of the problem. Below is a sample of the databinding code. AxisCollection axis = GetAxisCollection() myListBox...more >>

Form created on BackGroundThread
Posted by Pieter at 6/10/2008 2:25:16 PM
Hi, I have some generic module that handles exceptions. simply you call it like this: "LogManager.ErrorMessage(ex)". Worked great, until we now discovered that it isn't Thread-safe. What actially happens is this: A Form is made, labels and buttons are made etc with the exception-details,...more >>

deadlock when using waitOne in a STA thread
Posted by Daniel Cuculescu at 6/10/2008 11:31:45 AM
Hi, I have the problem described bellow with the calls to WaitHandle.WaitOne causing re-entrancy on main GUI thread (STA) of a .NET application and I would like to find out: - did anybody else run into the same problem? - is it a known issue? is there a fix for it? - is there a work...more >>

ProgressBar and Form loading
Posted by Thomas at 6/10/2008 10:28:53 AM
Hello, I don't know if such question was already posted but I didn't find anything through different posts. I have the Main MDI window with a StatusBar. Inside my StatusBar there is a ProgressBar. When I click on the menu in my MDI Parent, a child form is loaded. I would like to know if ...more >>

Redirecting to ClickOnce application fails
Posted by Jürgen at 6/10/2008 9:34:17 AM
Hello, We have implemented a few years ago a "zero touch" deployed smart client application for .NET 1.1. We ported now this application to .NET 2.0 and deploying it with ClickOnce. Because we have still .NET 1.1 clients around, we made a small ASP.NET startup application that checks...more >>

Checking whether or not checkbox on web page is checked
Posted by BobRoyAce at 6/9/2008 9:50:57 AM
Let's say that I use the following code to get a reference to a checkbox on a web page in a WebBrowser control: Dim oHtmlElement As HtmlElement oHtmlElement = WebBrowser1.Document.GetElementById("chkThrowInTheTowel") How can I tell if the checkbox is checked or not? oHtmlElement.Checked...more >>

Restarting app
Posted by John at 6/8/2008 3:30:59 PM
Hi Is there a way to restart a winform app in case of a serious error? Thanks Regards ...more >>

System.Collections
Posted by a_pess at 6/7/2008 12:09:24 AM
' i face the following problem while using different types of system collection classes while using Hashtables as shown in the example below, the week days will be shown in combobox1 start with "Wed" and will start with "Sat" while using Stack and other collections are ok I wonder if i miss s...more >>

can not log on after removing malware
Posted by jim1234 at 6/5/2008 6:58:00 AM
After running some malware removal software to remove registary enteries put there by malware alarm 2008. my daughter can not log into her computer. she gets a welcome screen with administrator on it and when she clicks on it it does something then goes back to the screen. also, where doe...more >>

Memory leak with TextBox?
Posted by Jeff at 6/4/2008 5:25:54 AM
I have a windows app which contains a readonly multi-line textbox. This textbox is used to display "log" information as actions/events occur within the application. The contents can eventually get to be very large, as our app is often left to run overnight. We allow the user to clear the conte...more >>

RichTextBox.RTF handle
Posted by Cricket at 6/4/2008 4:01:02 AM
Hello, I have some problem with handling the RTF type string. I have an application which must have a text box, can handle Pictures and formatting texts, etc. So I have chosen the RichTextBox control and stored the RTF property as nvarchar in my database. It works fine, but now I have t...more >>

Find/Replace dialog box
Posted by Ramon de Klein at 6/4/2008 1:33:12 AM
I needed to use a Find/Replace dialog box in .NET and I wanted to use the common dialog that is available in the Win32 API. It needed a lot of marshalling and fiddling with window message. I have created a class that hides all these things and posted it on my blog. Go to http://blog.ramondeklein...more >>

WebBrowser - waiting for page to load
Posted by BobRoyAce at 6/3/2008 11:12:26 PM
I am attempting to use a WebBrowser on a Windows Form application, in a situation where I am wanting to automate the following: 1) Click on all checkboxes on page 2) Click on link to go to new page I have successfully coded the above two steps. Now, what I want to do is do the above two s...more >>

How publish setup pkg that allows custom dir install
Posted by Cirene at 6/3/2008 8:17:45 PM
Created a VB.NET winform app using VS 2008. How do I allow the users, when running setup.exe, to choose a directory to install it to, and whether it should be installed to the program groups or not? Thanks. ...more >>

VS 2005: webbrowser control displaying image from database
Posted by Chris at 6/3/2008 2:20:00 PM
Hi, There is a webbrowser control in my app. I have also a ms sql database and images are stored in. I can display a html document in the webbrowser control. I also can read an image from the database (I mean I have the image in memory as a byte array or image object). Is it possible to disp...more >>

Getting a ComboBox to "pop open"
Posted by Greg Smith at 6/3/2008 9:02:59 AM
What instruction would get a ComboBox to Drop down and display the pick list as it would if somebody had clicked it? Any help is greatly appreciated. ...more >>

Generate and save csv-file from C#?
Posted by maria.elmvang@gmail.com at 6/3/2008 7:27:57 AM
Hi all, I need my code to be able to generate and save an csv-file without being prompted by a dialogue box, but I don't know if such a thing is possible. I've found out how to generate the file without problems, but I cannot seem to make it save the file to a predetermined location. Is such ...more >>


DevelopmentNow Blog