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 > january 2006 > threads for january 1 - 7, 2006

Filter by week: 1 2 3 4 5

TaskVision Smart Client demo app in 2.0
Posted by moondaddy at 1/7/2006 3:05:21 PM
I just downloaded the TaskVision smart client app for review. I think it was built in 1.0, however, i'm runnint 2.0. VS 2005 upgraded it and now I have a vew compile errors. One I dont know how to resolve is in the class SQLHelper where its trying to return a sqldatareader from a shared met...more >>

VB.NET wizard form
Posted by Paul Taylor at 1/7/2006 12:43:51 PM
Hi all, I'm writing an app in VB.NET and want it to look and behave like a typical application wizard (i.e. with the usual Next, Cancel, Back etc). Should I be looking to use multiple forms or is there a better, cleaner way of doing it? Cheers Paul Taylor ...more >>

Controls paint slowly
Posted by Jrsmith at 1/7/2006 2:41:03 AM
Sorry for re-posting in this newsgroup - but this group is more apropriate than dotnet.general I am developing a mdi application that will act as a front end to a database. I am finding that when i show any of the mdi child forms in my application it is noticeable that the form is shown ...more >>

Dot Net Project Execution without Dot Net and Framework....
Posted by krishnan at 1/7/2006 12:52:22 AM
Dear all In Dot Net windows Application .... what are the requirements to run the developed Dot Net project EXE file in the system which doesnt have Dot Net..... with out creating of Setup...... only with project EXE file........ please help me... regards krishnan ...more >>

A Framework for Datadriven Forms for VB Dot Net
Posted by Mark L. Breen at 1/6/2006 4:49:32 PM
Hello All, I am currently in the middle of creating a 'Framework' for my latest VB.Net project. I have always created such a tool for previous lauguages. This time I am basing it on n-Tier architecture. I will probably continue and develop my own version, but have any of you people dev...more >>

CLickOnce Doesn't work with FireFox?
Posted by Grant Merwitz at 1/6/2006 4:23:28 PM
Is this true, is there no work around here? http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=122285&SiteID=1 ...more >>

Can we create our own MessageBox ?
Posted by SwatSoftwareDev at 1/6/2006 4:00:59 PM
Hi, Can we create our own customized MessageBox and Inputbox, in which icons = or images and custom message can be shown. Thanks in advance, Regards Swat...more >>

Curved borders on a window.
Posted by UJ at 1/6/2006 3:40:09 PM
Is there anyway I can have a curved edge on a window - to round it out. (Kind of like the top edge of a window that hasn't been maximized). I have a window with no border and a back ground image that has curves on it. The image itself has the corners transparent but the form doesn't appear ...more >>



Have one window close another window.
Posted by UJ at 1/6/2006 2:32:50 PM
I have an app that opens a main window. There's a condition where another window will open and from that window I want to be able to close the first window. How do I do this? TIA - Jeff. ...more >>

How to make controls expand to fill screen in fullscreen mode
Posted by MJ at 1/6/2006 2:19:02 PM
I design my forms in Visual Studio, which has limited screen space for the form. After compilation, I run the project and expand the form to fullscreen mode, but the controls and other elements on the form remain fixed -- they don't expand to fill the entire screen. How can make the contro...more >>

Window with another window on top of it.
Posted by UJ at 1/6/2006 11:09:47 AM
I have a situation where I have a window and I want to put another window on top of it that opaque at 50%. That works fine. But I'd also like to have it that when I move the main window, the opaque one moves with it. How can I do this? Do I need to go to an MDI which I really don't want to. ...more >>

Paint event don't Work
Posted by Josue Avila Mendoza at 1/6/2006 10:56:02 AM
Hi : I have created a Class where this contains a timer , each time the timer control been activate or its interval time has elpased a new window must appear and deseapear ,, ( com kind of alarm) ,, I created another class (form) that is instanced when the peiod time from my Class A is execut...more >>

context menu
Posted by Chris at 1/6/2006 7:38:41 AM
Hi all, I have a context menu and I wish its contents to be displayed in a ToolStripMenuItem. I simply assign the context menu to toolstripmenuitem.dropdown. This works fine, but it seems if I right click to open the context menu, the first time it opens is under ToolStripMenuItem rather...more >>

using console with a windows app
Posted by AMercer at 1/6/2006 6:07:02 AM
I have a VB app with a form under FW 1.1, sp1. In sub main, I do some setup processing that may or may not result in some calls to: Console.Writeline(...) eventually, I do: Application.Run(New Form1) All this works. If the app is run by clicking the app's icon, the console writes ...more >>

Forms Inheritance - BindingNavigator
Posted by Firoz at 1/6/2006 1:00:02 AM
Good day all, On my base form I have amongst others, a BindingNavigator control. I have changed the modifier properties for all the controls to "Protected Friend", but for the BindingNavigator I cannot change any properties in the new inherited form. All other controls are fine. Has anybody go...more >>

Skinnable UI with WinForms
Posted by Vipul Pathak at 1/5/2006 8:53:33 PM
Hello Everyone, I have a requirement of writing a WinForm application that should support "SKINS" for the UI. On applying a skin, the look and feel of the application can change drastically. Even the size and shape of the Main window and its child controls can change. I have NO idea about, ...more >>

Hiding and Showing a modal form
Posted by Mohammad Tarhsaz at 1/5/2006 8:46:53 PM
Hi , all In non .NET world(WIN API) i could have a hidden modal dialox box. But ShowDialog in .NET is dependent to Visible property !!! Suppose i have a Modal form and i make it hide(via this.Hide()) from another thread , someone tell me why after that my form is closed. I'm so angry of ...more >>

Child forms
Posted by Perry van Kuppeveld at 1/5/2006 3:32:00 PM
Hi, When running this code, it's not possible to select the text using the mouse in the textbox. What's wrong with it? (This is just a code snippet. I can't use a MDI frame). Regards, Perry using System; using System.Drawing; using System.Windows.Forms; namespace WindowsTestA...more >>

inspector window problem
Posted by Lloyd Dupont at 1/5/2006 1:57:22 PM
I have a window with multiple inspector window. When the *Application* lose the focus I would like to hide all inspector windows. I cannot use the activate/deactivate event on the main window, because it deactivate if I click on any inspector windows. How could I do that? -- Regards,...more >>

Reading a word document into a string
Posted by Tim McOwan at 1/5/2006 12:01:43 PM
Hi All, I need to be able to read a word document into a string, can someone post some sample code or point me in the right direction please. I've googled on this for ages and can't turn up anything useful. Many thanks, ...more >>

Inserting Vaules into Multiple columns in a ListBox?
Posted by Sandeep Singh at 1/5/2006 10:57:36 AM
Hi, How can I make a ListBox multicolumn and insert values into multiple columns of the listbox? I want to select the whole row as one...... Thanx in advance.... Regards, Sandeep...more >>

Me.Invoke - Incorrect behavior
Posted by MadisonDecker at 1/5/2006 8:10:05 AM
I have encountered an odd behavior when using Me.Invoke and any help would be great. I am using a standard Me.InvokeRequired followed be a Me.Invoke to make sure a method runs on the UI thread. This logic has worked for me countless times but for some reason I have a problem with it in one ...more >>

How can I get Area of checkbox ?
Posted by ken at 1/5/2006 1:00:05 AM
Hellow , all How can I acquire the area where it is drawn to checkBox that changes externals by CheckState such as CheckBox and RadioButton? SystemInformation.MenuCheckSize ??? Thank you, Ken ...more >>

Tab Control Problem
Posted by pawandeep.thind NO[at]SPAM gmail.com at 1/4/2006 9:20:56 PM
SelectedIndexChanged Event for Tab Control is not fired in .Net Framework 2.0 but it gets fired in .Net Freamework 1.1 and this behaviour happens till the form is not shown to the user. After displaying the form this event starts working fine. Is this a known problem. ...more >>

Toolbar Image Distortion
Posted by Toff McGowen at 1/4/2006 7:32:42 PM
Hi I have an image that i want to use as a toolbar image. Its been created with a transparent background in Photoshop. I have tried saving it to both a png and a gif format and loading them into an image list and reference that for toolbar button images. In either case whenever i display it...more >>

Windows Forms framework
Posted by yuriy_zubarev at 1/4/2006 5:30:41 PM
Greetings, I was wondering if there is a framework in .NET world similar to what Eclipse is in a Java world. Could "Composite UI Application Block" be compared to Eclipse? Thanks. ...more >>

Tiling an image within a rectangle (GDI+)
Posted by JezB at 1/4/2006 5:08:03 PM
I'm trying to write a routine to tile a given image in a given rectangle: public static void DrawTiledImage(Graphics g, Image image, Rectangle r) { ImageAttributes ia = new ImageAttributes(); ia.SetWrapMode(WrapMode.Tile); g.DrawImage(image, r, 0, 0, image.Width, image.Height, Gr...more >>

Round edge panel: edges not smooth
Posted by MMahank at 1/4/2006 4:27:51 PM
I am creating a round edge panel by inheriting from the panel. What I do is create a graphics path with desired shape and in the Paint method I fill the graphics path and draw the graphics path border with desired color. This would look as if the panel has round edges. So far I have not set th...more >>

Transparent Layer?
Posted by xenophon at 1/4/2006 12:34:21 PM
I would like to create a panel, completely through code (no designer!), that is the same size as the current winform, and has transparency set to 95%. I am using C# on Framework 1.1 and don't see how to do this. I am tryng to emulate some WebForm behavior where after a button is clicked a "pleas...more >>

Rotate Focus
Posted by RaginTiger NO[at]SPAM gmail.com at 1/4/2006 9:28:57 AM
How do I rotate focus among controls inside a groupbox/panel? I have 10 controls in my form. Once the focus reaches control5 (using my TAB key), I would like the focus to go to control1. Thanks in advance ...more >>

Using .ShowDialog with MDI Children ?
Posted by Philip at 1/4/2006 9:09:02 AM
Hi, We are trying to build a .NET MDI application with several child windows - some of which should be treated like dialogs and some as true child windows. We keep getting an error when we call Form.ShowDialog(Me) after having set the MDIParent property. Is it not possible in the .NET F...more >>

How to use MaskBlt operation in GDI+
Posted by sekarhcl NO[at]SPAM gmail.com at 1/4/2006 5:59:39 AM
Hi, I want to copy some portion of a bitmap(source bitmap) to another bitmap(destination bitmap) using a reference mask bitmap. This task can be acomplished in GDI using MaskBlt function. Is there any such function in GDI+ for doing the same? I saw Bob's "Extract a region from a bitmap" artic...more >>

Opposite to TopMost?
Posted by geo24 at 1/4/2006 2:14:31 AM
Would like to have windows form always as behind other windows (as the 'first' window on desktop) Is there anything like global 'z-index' for all the opened windows in the system? ...more >>

ListView, Removing items.
Posted by Tim Haughton at 1/3/2006 11:57:12 PM
I'm having an issue with ListView control. THe list view contains items that are dynamically added and removed at run time. The problem comes when I try to remove an item. Whenever an item is removed, the ListView seems to automagically 'select' the item which sits in the same spot the recently...more >>

'Interop.SHDocVw' does not have a strong name
Posted by Zheng Chen at 1/3/2006 8:56:02 PM
I use web browser control(shdocvw.dll) in my winform application. When I put a strong name into the project and change the assembly, I got following error message. "Assembly generation failed -- Referenced assembly 'Interop.SHDocVw' does not have a strong name" and "Assembly generation fai...more >>

WinForms Smart Client app unable to access contents of config file
Posted by Alan Millington at 1/3/2006 7:22:03 PM
I have a simple WinForms app which uses values from the appSetting section of the config file. When the exe is invoked directly, thes values are retrieved as expected. When I try to launch the app vi Internet Explorer, however, it seems that the appSettings collection i empty. A reference in th...more >>

toolbox control to use for Outlook style nav bars?
Posted by hazz at 1/3/2006 6:25:56 PM
I would like to create an Outlook style navbar on the left of a splitter bar (like Outlook's Mail,Calendar,Contacts categories). How do I do that? Thank you, -hazz ...more >>

Owner-drawn listview row height VS2005
Posted by Steve Wilkinson at 1/3/2006 3:29:04 PM
Does anyone know of a simple method to allow you to change the row height of an owner-drawn listview control in .NET 2.0 (VS2005) ? Thanks in advance Steve...more >>

ClickOnce via Response.Redirect
Posted by asanford at 1/3/2006 2:59:02 PM
I can use a ClickOnce app I made fine, but I cannot seem to reliably access it via an asp.net app that redirects to it: I created a simple ClickOnce windows forms application in VS 2005 that deploys via IIS; that works fine when either type in the URL, for example "http://localhost/ClickOnc...more >>

Can a SQL trigger raise an event in C#?
Posted by Andy Jacobs at 1/3/2006 9:02:02 AM
Hello, I'm using VS2003 and SQL 2000. Is it possible for a SQL trigger to raise an event in my C# program? Thx. Andy Jacobs...more >>

aap domain and clr
Posted by vishy at 1/3/2006 12:47:02 AM
I want to understand this..if i have 6 diif applications(exe),running on c aomputer..will they all run in 6 diff app domainin one single process? is this the default behavior?...more >>

RadioButton - GroupName
Posted by Phil Jones at 1/2/2006 7:16:04 PM
I'm adding two sets of radio-buttons to a control (ie. each set of buttons should only have one selection). The problem is all the radio buttons within the form think they are part of the same group (only one button can be selected from all groups). With WebControls I would have used the "...more >>

Installer in VS2005
Posted by Rick at 1/2/2006 1:00:58 PM
Hi guys, i made an app using C# (vs2005) and i added some references to MS Excel in my project, when i try to install the app in a machine it begins but at some time it says "Cant find file My_App_Name.application" (that file exist at the directory when im publishing the installer), the closes...more >>

DataGridView changes column visibility
Posted by limelight at 1/2/2006 9:40:03 AM
If you create a DataGridView and add a hidden column to it (a column with its visible property set to false), the DataGridView will make the column visible anyway if you make changes to the data source. For an example of this behavior, crate a new windows form project and place a DataG...more >>

DataGridView doesn't seem to honor the DataColumn.Caption Property
Posted by Oldman at 1/2/2006 4:59:01 AM
The DataGridView doesn't show the datacolumn caption it seems to only show the name. Has anybody else seen this problem?...more >>

Help : Application location
Posted by noor at 1/2/2006 1:15:00 AM
Hi, How I can get my Application physical Location (I mean the the physical path of my applicaion) with in my applicaiton programaticaly . Development platform = VB.NET Kindly help me out thanks regards noorali ...more >>

IP Address Text Box
Posted by noor at 1/1/2006 11:26:04 PM
Hi, I m bulilding an application that take IP ADDRESS as input and that perform further functions on it . the ISSUE is I dont know how can I made a text box that will take only IP ADDRESS I mean how can I impliment form validation Plus that text box must take a formated text. how can I forced t...more >>

Freeze of Form on MultiThread!
Posted by Ă–zden Irmak at 1/1/2006 9:41:54 PM
Hello, In my application, my main form creates some sub forms which are shown on top of that main form and all of those forms do have a timer on them. When the timer elapses, they do raise an event which is catched by the main form... My problem in here is that when all that events get r...more >>

msgbox issue
Posted by noor at 1/1/2006 3:29:58 PM
hi, I'n my windows application I used colours for giving a good look to forms according to the requirment . Now the issue is I used Msgbox in few places they are appearing in TIPICALE WINDOWS FORMAT i mean that GRAY colour .I want them to be colour full can it b possible??? or can v used image o...more >>

Visual Inheritance classic, but gets mixed up
Posted by Nico De Greef at 1/1/2006 10:25:02 AM
Hi, I'm using the following visual inheritance classic: base form with two buttons 'apply' and 'cancel' anchored to the bottom right corner. You inherit this base form and resize the inherited form, the buttons move along. At least most of the time, sometimes the buttons do not anchor to the...more >>

Performance
Posted by Jay at 1/1/2006 6:21:16 AM
I downloaded an example of a Windows Form (.net 2.0) that mimics part of Outlook. It was nicely done. However, I was struck by the performance. It was not good. What about performance of Windows Forms that are somewhat complex? For the last few years I have done nothing but asp.net prog...more >>


DevelopmentNow Blog