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


all groups > dotnet windows forms > july 2007

Filter by week: 1 2 3 4 5

Localization and resource management through XML files
Posted by Amb k at 7/31/2007 9:52:05 PM
I would like to do Localization in a sepearate way. I need to keep all the localized strings in XML files.For each culture there will be a seperate xml resource file. This files will be kept serialized. There will be a seperate Class file (Eg. LocalizationMAnager) to manage these xml files.We ...more >>

Which future for WINDOWSFORMS ?
Posted by Enrico Ghezzi at 7/31/2007 4:05:39 PM
Hi i must start this year a very big application. i think 2 possibilty : 1) Visual Studio (2008) with WindowsForms 2) Delphi 2007 VCL i have read some news on the web on windowsforms.... Is a dead tecnology ? without future ( long termine ) Are there other tecnology in substitutio...more >>

SmartClient app used by 10000 users
Posted by DieterL at 7/31/2007 12:25:28 PM
Hi, We need to decide if we our going for smartclients or webapps. I'm looking for a smartclient application that is distributed to 10000 users. I want to share some information like if there were problems with installing the smartclient app, ... Greetings, Dieter ...more >>

Using Visio InterOp in VB.Net - Loading Visio silently
Posted by Dean Richardson at 7/31/2007 12:08:57 AM
Hello, I am having problems loading the visio application silently. When I load word in the background in VB.NET, it remains hidden and the user doesn't know its loaded. However, when I load Visio in the background, the window pops up and then disappears. Is this a fault with the visio inte...more >>

Seeking advice for DataGridView with several Unbound Columns
Posted by Joseph Geretz at 7/30/2007 5:32:21 PM
Hi, I'm looking for advice or samples regarding the implementation of what is essentially a bound grid, most columns are bound, however there are a couple of unbound columns which are basically calculated totals (read-only) of data in the bound columns (which are read/write). I've implem...more >>

DataGridView Sort calls Form.Shown
Posted by mahesh.nimbalkar NO[at]SPAM gmail.com at 7/30/2007 4:20:54 PM
Hi, I have a form with DataGridView on it. Also I have hooked for Shown event of Form. Now when I click DataGridView header to sort column, Shown event of Form also gets called. I just want not to call Shown event of Form when header is clicked on DataGridView. Any idea how to do this? ...more >>

Changing ProductName in Setup Package
Posted by Elmo Watson at 7/30/2007 12:13:10 PM
I created a setup package, through the wizard, and realized I didn't like the form of the ProductName. Where can I find the place to change the ProductName property? ...more >>

programatically access property of a control placed on a windows f
Posted by Mahesh Deo at 7/30/2007 5:30:02 AM
Hi, I want to programmatically access property of a control placed on a windows form which is not a part of my application. Other application might have already launched and a form is opened. I just want to access properties of a control based on name of the control. Is this possible us...more >>



DataGridView and Binding Source
Posted by Mahesh Nimbalkar at 7/29/2007 3:56:04 PM
Hi, When I set DataGridView's DataSource property to Binding Source, DataGridView becomes invisible. If I comment that line, DataGridView is visible again. I am using another thread to get data from server and then using control.invoke on ui thread to set DataGridView's DataSource proper...more >>

User Control Localization
Posted by JB at 7/29/2007 6:14:43 AM
I have a user control with a public property, when I try to set the attirbutes of the property as so: <Localizable(True)> _ Public Property DisplayText() As String Get Return Me.DisplayTextLbl.Text End Get Set(ByVal value As String) M...more >>

v3.5 Apps on v2.0 machines
Posted by Jared at 7/28/2007 12:00:00 AM
Hi, Has anyone succesfully built and app with 'Orcas' and deployed on machine with only NET 2.0 installed. I would think that if it doesn't reference any of the 'new' assemblies all should work OK. TIA Jared ...more >>

How to determine the active form
Posted by John Brown at 7/26/2007 9:32:05 PM
Hi there, Does anyone know how to (generically) determine the currently active = form for an application using a "static" function (so I can call it from = anywhere). There is no offiical way I've been able to find so I've = written the following for starters: public static Form GetActiveFo...more >>

Character spacing when printing
Posted by Lorenzo at 7/26/2007 6:56:31 PM
Hi everybody. I've been searching but I can't find if is it possible and, if so, how to set the space between characters (I have to fill in a already printed form and every single character must fall in its own little square). I thought it was possible to set something with System.Drawing....more >>

Responding to DataGrid selection
Posted by Patrick at 7/26/2007 3:02:02 PM
With a .Net 2's WinForms which contain 1) a DataGrid which is assigned to a DataSet's DataTable (some columns are "hidden" on screen) 2) a few TextBox which are aligned to different fields within the same DataTable What event do I code for the .Net DataGrid such that the TextBoxes's value ...more >>

Executable's path
Posted by Patrick at 7/26/2007 2:46:03 PM
With .net2, how do I get the path of where the .EXE is located for a WinForms app? e.g. for "h:\myapps\testapp\test.exe" , "h:\myapps\testapp\" should bee returned ...more >>

Integer Number -> Text Number
Posted by news.microsoft.com at 7/26/2007 2:25:20 PM
All, I have a form that currently displays an integer value in a label to a user but want it to now display the text equivalent. For example, if I have 54, it should say fifty four. Any class examples on doing this or should I just do it with a case function? Not to be picky, but....Idea...more >>

WFP, WF, WCF and CAB
Posted by Bill Gower at 7/26/2007 12:50:09 PM
Is the introduction of these new technologies going to change the way that CAB works or will CAB still use basically the same architecture? Bill ...more >>

Sent Crystal Report as pdf via Outlook
Posted by Luc at 7/26/2007 8:04:00 AM
Hi, is it possible to sent an Crystal report as pdf file via outlook in code?? does someone have a code snippet to get me started?? Thx!! -- Best regards Luc N...more >>

FolderBrowserDialog.RootFolder not using special folder?
Posted by engwar at 7/25/2007 7:52:38 PM
Is it possible to set the root folder of FolderBrowsserDialog to any folder I want. ie c:\temp or something? Haven't yet found a way to do this. Thanks for any responses. ...more >>

Clicking on a label's border does not work
Posted by Flack at 7/25/2007 6:02:01 PM
Hey guys, I've been trying to figure this out for a while now. I have a form with some labels. The labels' click events are handled fine if I click inside the label but if I position the mouse directly on the border of the label (a fixed single border) the click isn't registered. Is i...more >>

Was form miximized while closing?
Posted by Mahesh Nimbalkar at 7/25/2007 1:06:04 PM
I want to store state of the form such as X and Y position, size, height of GridView on this form when form is closed. Then on load I want to reload this state. The question is how do I know if form was in maximized state while closing and would appreciate if you could point me to example o...more >>

HTTPWebRequest, Proxy, Credentials?
Posted by moo at 7/25/2007 12:15:24 AM
Is there a simple way to get my logon credentials to make my web request work through our proxy server? I tried CredentialCache.DefaultCredentials, but I get nothing back. I can get it to work if I just create a new NetworkCredential object specifying user, password and domain. But, I would rath...more >>

Custom Toolstrip
Posted by Jeff Suddeth at 7/24/2007 12:52:07 PM
I want to create a toolstrip and I would like to make that toolstrip reusable by other windows in my application. This would be the same concept as a UserControl, only it would be a Toolstrip. Any suggestions on the best way to do that? ...more >>

Unable to close Microsoft Word within AxWebBrowser Control
Posted by Dean Richardson at 7/24/2007 9:22:43 AM
Hello, I am currently opening Word in an AxWebBrowser Control on a form. When the user saves the saves the document using a save + close button on the form, it saves the document, navigates the AxWebBrowser Control to about:blank and exits word and then closes the form. The exiting of word ...more >>

ClickOnce and Side-by-Side com components
Posted by Bruce Lee at 7/24/2007 1:37:27 AM
Hi all, I'm trying to publish my .net application with some side-by-side com components but no success so far. My manifest is: <?xml version="1.0" encoding="utf-8"?> <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:ds...more >>

Continual restart, never loads
Posted by daego at 7/23/2007 2:16:04 PM
One of my computers is is in a continual restart, it never loads. The windows logo appears with the animated bar under it, it will go one and a half times them shuts down and starts back up. Safe mode does the same thing. The recovery console gives me this error message: UNMOUNTABLE_BOOT...more >>

XP style GUI for winform
Posted by tasleem at 7/23/2007 7:10:01 AM
hi i m using .net 2003 and winform application, i m using below article to make my application winform outlook like xp style, but it does not shows controls on my winform as xp style , but it shows messagebox(using MessageBx.Show("dd")) like xp style, what i m missing , how to make my winfor...more >>

vs 2005, borken installation? No controls show up
Posted by sandal at 7/23/2007 7:06:43 AM
I've installed vs 2005 pro and sp1. When I try to add controls to a winform, they never appear on the canvas. The controls are listed at the bottom of the design area, so apparently they are being added to the form. But after adding buttons tabs whatever, the form is still blank looking. Per...more >>

Errors Found Code 80244019 Windows Vista Business
Posted by Michel NO[at]SPAM home at 7/23/2007 3:08:00 AM
Hi there, Recently i've installed Windows Vista Business. When i run Windows update i get the following error Code 80244019. I allready tried to set the LAN settings to automaticly dectected settings, but that won't work. Earlier i also removed a setting in my regedit but that didn't work a...more >>

hi .. Net tool Error
Posted by 까불이 at 7/23/2007 2:40:01 AM
hi Window Control Error start project [windows control] create project -> Window Form ->Form.Designer.mode Error Error Msg : Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) Microsoft.Win32.RegistryKey.GetValueNames() Microsoft.VisualStudio.Shell.Design.W...more >>

vs2005: windows form won't minimize or maximize
Posted by Paul at 7/22/2007 8:10:18 PM
I have a main form window (c#) that won't minimize or maximize. Clicking the control menu buttons will minimize or maximize the form, but the form immediately reverts back to normal size. This just started all of a sudden, I have rebuilt the app, and searched through the form code and properties. No...more >>

Winform controls vs. WPF controls.
Posted by Bill Gower at 7/22/2007 7:42:25 PM
Will Net 2.0 Winform controls work in WPF apps or does a control have to be specifically designed for WPF? Bill ...more >>

Looking for suggestions on design patterns/architecture books
Posted by Flack at 7/22/2007 4:18:03 PM
Hey guys, I'm looking to improve my knowledge of design patterns and n-tiered application architecture. Do any of you have any suggestions on good reading material? I know the GoF book on design patterns is very popular but I was wondering if that is my best choice to learn these design...more >>

Question on WPF
Posted by Bill Gower at 7/22/2007 2:39:58 PM
Is it possible to develop a windows app using WPF and net 3.0 that will run in a browser or on the desktop without any changes to it? Bill ...more >>

Web based timesheet application
Posted by LiveTecs at 7/21/2007 8:08:33 PM
http://www.livetecs.com TimeLive Web Collaboration Suite is an integrated suite that allows you to manage project life cycle including tasks, issues, bugs, timesheet, expense, attendance. TimeLive is available in two different flavors. Hosted version and downloadable version. Downloadable...more >>

Context menu depending on panel
Posted by Bill Gower at 7/20/2007 1:00:04 PM
I have a form that has 3 different panels in it. I want to have a different context menu depending on which panel the mouse cursor is in at the time of the right click on the mouse. How do I achieve this? Bill ...more >>

Uninstalling SmartClient on XP
Posted by Terry Wahl at 7/20/2007 12:24:00 PM
I installed a .Net 2.0 SmartClient on an XP machine. The options for the SmartClient install was that the 'Application is only available online'. How do I remove it? How do I view a list of installed SmartClients and their versions? Thanks for your help! Terry ...more >>

memory not being released
Posted by gigel at 7/20/2007 12:01:30 PM
Hello all, I have a winforms app running on framework v2.0.50727 which isn't not releasing memory back to the OS after closing forms. Simple forms (a list + button) or complex ones (tabs, lots of text boxes, third party masked edit control) behave the same way, Every time is instantiated ...more >>

Multiple AddHandler for multiple Controls on a form
Posted by GAZ at 7/20/2007 12:00:00 AM
Hello all, We have a bit of a problem. We have a form where we have to add controls dynamically during runtime. That part is quite simple. Now, we have to add a ButtonClick event for each of the controls. That's where it becoms tricky. Here is the bit of code we use: -------------------...more >>

Programmatically changing the size of a textbox
Posted by Bill Gower at 7/19/2007 5:50:14 PM
I have a textbox that is multiline but I only want to show one line at the start until that line is filled in. I am going to use the textchanged event to check the length of the text in the field. If the length of the text is greater than the length of the field, I am going to change the hei...more >>

Windows - Application error
Posted by Phil Adamson at 7/19/2007 12:42:01 PM
Every time I boot up my Vista machine I get the error message:- the instruction at 0x00366f9d referenced memory at 0x00000f18. the memory could not be read. Does anyone know what the problem is?...more >>

DataGridView ComboBoxColumn
Posted by Paul at 7/19/2007 10:22:01 AM
I am trying to use the DataGridView to accomplish a certain task. Here is my scenario: I have a datasource that has a Model/Make relationship. It can be likened to a user filling in what cars they own. So they add a new row and select the Mae of their car from a combobox. Then they can sele...more >>

Ignoring all key events in whole application
Posted by robintw at 7/19/2007 8:18:03 AM
Hi all, I've been struggling with this problem for quite a while, and have searched the internet many times, and tried many of the ideas which that turned up - but haven't managed to get this to work! Basically, my application receives serial messages from another system. If a certain fi...more >>

How to assign foreground color to TreeView in MPF
Posted by Peter at 7/19/2007 6:02:01 AM
Hi folks, Frist I am not sure this is the place to post MPF question. If not , please advise th url. My question here is to assign foreground color to a TreeView conrol in MPF . Please advise. thanks. PeterK ...more >>

Same application in dual monitor
Posted by Amb k at 7/19/2007 3:16:02 AM
Actually the thing is i am devoloping a windows application, which will be displayed in multiple monitors. i have one single exe, which will be displayed in 2 monitors for example. In cloning mode (windows display setting) both the screen will display the same content. (eg. form1 will be d...more >>

Need advice on Textbox control
Posted by Bill Gower at 7/19/2007 2:12:42 AM
In MS Outlook when entering an email address into the To box, when the textbox is full, it expands to a multiline textbox and pushes everything else down on the form. Are they using an ordinary textbox control and just changing it to multiline? Bill ...more >>

Image control
Posted by sonny at 7/18/2007 6:52:04 AM
I need to have a control that I can place on a form that I can view an Image. But here's the catch, I need to view the entire image (no matter the size) in a 400x400 pixel object. Also, I need to be able to to enlarge and shrink the image in the same viewable area. Is there any .Net object ...more >>

Best book on Windows Workflow
Posted by Bill Gower at 7/17/2007 10:45:26 PM
What is the best book out there on the Windows Workflow Foundation? Bill ...more >>

.Net Winform saving a file to local drive
Posted by Bill Gower at 7/17/2007 4:48:32 PM
I have an app running on a Citrix server. The user logs in on IE and get their Citrix neighborhood. They run the app and in the app I have a grid component from ComponentOne that has a property called SaveGrid that can save the results in the grid to a file. The user selects their local har...more >>

Localisation of Resources.resx
Posted by GAZ at 7/17/2007 4:36:56 PM
Hello all, I'd like to know is there a resource editor one could use to create another localised version of Resources.resx? Winres.exe does not work. It reports tons of errors when I try to open the resource file with it. Thanks for you help. BR, GAZ ...more >>


DevelopmentNow Blog