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 > february 2008 > threads for february 1 - 7, 2008

Filter by week: 1 2 3 4

Reformed access user needs advise for future
Posted by John at 2/7/2008 9:38:43 PM
Hi Many a times I have been told off here for asking question on a backend other than sql sever. So I have finally seen the light and have decided to take up my next project with sql server backend (vb.net front). So here is my question; What are the recommended db development guidelines...more >>


Selecting a row and the values in the cells
Posted by thewanz at 2/7/2008 2:12:04 PM
Hello, I would like to take the values contained in columns of a selected row and display them in textboxes for editing. When I dbl click the datagridview control it creates an event handler for the selected cell. Isn't there a specific event handler for a selected row? Wnz...more >>

Disabling EnableVisualStyles in C#
Posted by Sujay Ghosh at 2/7/2008 8:23:04 AM
Hi , Environment : .NET 2.0 / VS2005 I am creating a usercontrol ( progressbar ) and every time I add my control to the project it gives a XP progress bar because of the EnableVisualStyles function . I want to suppress the EnableVisualStyles from within my component . I want the nor...more >>

Datagridview
Posted by Arne Garvander at 2/7/2008 7:33:00 AM
How can I get rid of the record selector on the left side of the grid. -- Arne Garvander Certified Geek Professional Data Dude...more >>

Control Size? Cache Maybe?
Posted by Gator at 2/7/2008 3:55:01 AM
Greetings all. I'm having a very strange (not to mention frustrating) problem. I'm developing a Windows Forms C# application in VS 2008. On the bottom of the form, I have four controls. Originally they were all set to one size - 206, 74. I'm trying to change them all to be 180, 60. I'v...more >>

RAD apps for db development
Posted by John at 2/7/2008 12:00:00 AM
Hi Are there any RAD apps to speed up one-many db application development that are worth considering? Thanks Regards ...more >>

Prompt characters in a MaskedTextBox
Posted by Flyte at 2/6/2008 8:00:04 AM
The MaskedTextBox only allows a single prompt character to be displayed upon user input. I need the ability to display different prompt characters for certain character positions. How can I do this? Also, due to the nature of the text being inputted, I suspect that I will need to use a regex to ...more >>

windows service loop consumes more CPU time.
Posted by Ibrahim. at 2/6/2008 6:35:05 AM
Hello, Im creating windows service program for the following purpose : 1. to save a file to the shared resource every 5 minutes. the file contents come from the database. 2. i need to put the above task in the queue and execute the save task one by one what kind of threading model i ...more >>



How to set/find/compute the perfect size of a form?
Posted by Paul Schwann at 2/6/2008 4:51:56 AM
Hi group, I have a problem with setting the size of a form. Setting some (hard coded) size in pixels (width/height) works of course. The question I always had is: How can I determine the perfect size for my form? With "perfect size" I mean the width and height a form needs to have to perfectl...more >>

Partial classes
Posted by dbuchanan at 2/5/2008 11:42:28 PM
Hello, I made a test project to understand how adding my own partial class to a form works. It wasn't so easy. I guess it would get easier after I get used to it. My question: Why does a partail class for a form not nest itself under the main form class the way the default partial class ...more >>

EventBroker in Composite Application Block - Generic way to Raise / Fire Events at Run Time?
Posted by NonNB at 2/5/2008 11:07:40 PM
Hi This must be quite a common question with CAB's Event Broker - is there any way to Raise Events dynamically at runtime ? We would like to remove the hard coding from our "Event Dispatching" pump along the lines of the following pseudo code: foreach (message in queue) { // e.g. Me...more >>

Locating record on form by key
Posted by John at 2/5/2008 6:35:22 PM
Hi I have a winform db app that I have created by dragging fields on the form i.e. code has been generated by vs2008. How can I locate a record on the form by the record id? Many Thanks Regards ...more >>

Wizard control advise
Posted by John at 2/5/2008 3:12:06 PM
Hi I am looking for a versatile wizard control to make some of the tasks easy for my app's users. I need advise on which is a good one. I am currently looking at Actipro Wizard - Windows Forms .NET Control http://www.actiprosoftware.com/Products/DotNet/WindowsForms/Wizard/Default.aspx. Ar...more >>

How to access remote connections
Posted by rkbnair at 2/5/2008 12:08:01 PM
I'm trying to run Cisco VPN to access a remote machine through c# code. By googling, I came to know that I have to use RASAPI.DLL in order to perform this. Anybody has any information on how to achieve this. All I'm looking for is a way to connect to VPN via code. Thanks in advance. ...more >>

textbox lost focus after popup.show
Posted by Igor at 2/5/2008 9:09:03 AM
I'm trying to create a textbox with a dropdown form: Dim TextBox1 as New TextBox Dim popup as New ToolStripControlHost Dim list1 As New ListBox Dim listhost As ToolStripControlHost listhost = New ToolStripControlHost(list1) .... Private Sub TextBox1_TextChanged popup.Show() TextBox1.Foc...more >>

WinForms and Word Application
Posted by Emil at 2/5/2008 1:08:00 AM
Hi all, I’m a C++ developer and a very beginner in both C# (.Net) and Word Programming. What my company wants next is something like this: from different texts to build a Word 2007 document and then open this in the real Word 2007 application to give the user the possibility to change the...more >>

MDI child forms
Posted by AVL at 2/4/2008 6:11:04 AM
Hi, Ive created a MDI app.. I've used one of the mdi child forms as the backgroud scrren on the parent.. and set it's WindowState to 'Normal' and StartPosition to 'CenterScreen'.. to get the look n feel of a background iamge. but the problem i'm facing is with the Maximize event.. whenever i...more >>

Refilling dataset without changing context
Posted by John at 2/4/2008 1:53:48 AM
Hi I have a winform db app that is "bound" to a dataset...via data adpater, binding source and all that. As this is a multi-user app I need to refill dataset from time to time so the newest data is available for user to view. My problem is that I a) do not wish the app to become unrespon...more >>

How can I get a list of fields/columns
Posted by Elmo Watson at 2/3/2008 2:56:04 PM
Given a connectionstring, database, and table, how can I, programmatically, get a list of tables for SQL Server (mainly) and Access? ...more >>

Access to vb.net converter
Posted by John at 2/3/2008 2:37:09 AM
Hi Has any one checked this access to vb.net converter? http://www.microtools.us/anetvb7.aspx Any good? Thanks Regards ...more >>

XML as Dataset - Update question
Posted by Elmo Watson at 2/2/2008 4:50:31 PM
I'm just trying to figure out opening an xml file, adding a row and saving it, but for some reason it's not working, so I hope you can help me out here - The code I've got is: Dim Myds As New DataSet Myds.ReadXml(GetSPath()) Myds.AcceptChanges() Dim NewBook As DataRow NewBook = Myds.Ta...more >>

Notification of working area changing
Posted by Rune Jacobsen at 2/2/2008 1:20:43 AM
Hi there, I have an application that among other things will pop up little alert notification windows, not unlike what MSN does when a contact signs on. Depending on the user configuration, the user could get quite a lot of these. I want to be notified when the Working Area (i.e. the are...more >>

Application.Run()
Posted by rkbnair at 2/1/2008 10:33:01 AM
I use the following syntax to load a form. Application.Run(xxx.frm_wait); After loading the form, what should I do to change the properties of the controls inside that form? Say for example, I want to change the value of the progressbar inside that form. Thanks in advance. ...more >>

Detecting transition from FormWindowState 'Minimized to another state
Posted by Bill Woodruff at 2/1/2008 4:08:40 AM
Hi, Right now I am implementing the WinForm's 'LocationChanged event, and setting a flag if the WindowState is Minimized. Then, in the same Event Handler, I can determine ... if the WindowState has changed to Maximize or Normal ... from the flag, whether I am in a transition from the Min...more >>


DevelopmentNow Blog