Home All Groups Group Topic Archive Search About

Windows Forms

microsoft.public.dotnet.framework.windowsforms
Score Cannot add new item "Inherited Form": Unable to add reference... error
olympus_mons - 6 Oct 2007 10:29 AM - 3 messages
Hi, this is my second problem. I cannot add a new item "Inherited Form" to my project. After browsing to the DLL containing the component (form window class) I see the correct class name in the "Inheritance Picker" dialog, but when I select the class and click "Ok" I get the error: ...
Score Inherited Load method of a windows forms class gets executed by designer window?
olympus_mons - 6 Oct 2007 10:09 AM - 4 messages
Hi, I'm struggling with my first C# form window class that I now want to reuse in an inherited form window (visual inheritance). The form window class defines a method for the load event. This method gets automatically executed by the IDE in the derived form window, when I ...
Score TCP IP Listener
Vinki - 6 Oct 2007 6:15 AM - 1 message
Hello everyone, I have this code for TCPListenPort. The code works fine, but my manager is asking me to establish multiple connections to the same port. How can i acheive that below is my code Int32 port = Int32.Parse(ConfigurationManager.AppSettings["port"]); ...
Score loading an ActiveX dynimically
Emmanuel Thiry - 5 Oct 2007 4:06 PM - 1 message
Hi In my C# programm, I have a Form that contains a UserControl that contains a TabControl, each TabPage of which contains an ActiveX (there are 4 differents). I didn't want ton imort to import the ActiveX's in Visual Studio. Instead, I ...
Score Drag and drop
George - 5 Oct 2007 11:17 AM - 2 messages
Hi. I try to program a drag and drop procedure as follows: I have a windows form with a panel which plays thw role of the target. I have a second window form over the previous which plays the role of tools ...
Score How to get the ID of the current DGV row
dbuchanan - 5 Oct 2007 2:55 AM - 5 messages
Hello, How to I get the primary key (ID) of the currently selected row? I need to open a child form based on that ID. Thank you. ...
Score ContextMenuStrip
ilda.cpp - 5 Oct 2007 12:51 AM - 2 messages
Hi, My application allows the user to choose an image which is displayed in a picturebox. Associated to this picturebox I have a ContextMenuStrip. As my application is a Mdi, when I'm running the application it is possible to open two or more images. At each time, just one form is ...
Score How to create vertical menu strip using C#
rupa - 4 Oct 2007 6:50 PM - 1 message
Hi All, I need to create the vertical menu strip using C# language. The diagram is as under: [link] Can anyone please tell me what .NET class library will be used for the ...
Score How to allocate memory in c#
gol - 4 Oct 2007 2:59 PM - 5 messages
Hi all, I want to know how to allocate memory in c#? Or, maybe I don't need to do it. I'm quite new to c#, so I don't know many things. Now, this is what I have in c#: ...
Score Improve Form Load
Luc - 4 Oct 2007 2:25 PM - 4 messages
Is it possible to preload forms  while the splash screen is showed to improve the load event of the form? any other suggestions to improve the form load are most welcome! VB.Net 2005  + SQL server2000 database ...
Score ReportViewer Expand DocumentMap
moke - 4 Oct 2007 3:08 AM - 2 messages
On the Winform ReportViewer control (.NET Framework 2.0), is there a way to expand the DocumentMap tree by default?  I am NOT talking about the ReportViewer.DocumentMapCollapsed property.  I want the tree displayed in the DocumentMap to be expanded by default.  Currently, the report is displayed to ...
Score "Error: Subreport could not be shown"
moke - 4 Oct 2007 2:53 AM - 3 messages
I have a Winform application (.NET Framework 2.0) that displays several local reports using the ReportViewer control.  I have two main reports (referred to here as A and B) that display a subreport (referred to as C). On the machine used to develop this application, all reports, both main and ...
Score DataGridView binding recommendation for multithreaded apps
chuck rudolph - 3 Oct 2007 10:45 PM - 1 message
I have an application that needs to display a couple of lists to the user and I would like most of the work to be done by a background task. The data displayed is read only. Because of the other work being done in the UI, I ...
Score Background Form
Richard MSL - 3 Oct 2007 10:21 PM - 10 messages
I have a form that I open with ShowDialog(). I have a background form that I initially open to make a background behind the user input form. The code is like this: static Form BackForm=null; public bool InputMethod() {        if(BackForm==null){ ...
Score Determining when a form or child control is activated
NeilL - 3 Oct 2007 10:18 PM - 1 message
Sorry if this is a really dumb question. I have an application with various forms The forms may be shown using Show or ShowDialog but my also be re-parented to a control in another form (e.g. a Windows Forms Panel). ...
Score Toolstrip and MDI application
Paul Wardle - 3 Oct 2007 6:49 PM - 1 message
I am trying to get write an MDI application running using the ToolStrip control(s). I have the application running with types of two form. Each form represents a type of document. Each has its own custom menus and toolbars. The MDI ...
Score Treeview loading slow.
Mufasa - 3 Oct 2007 1:59 PM - 4 messages
I have an explorer type app that when I need to update the tree, it takes about 30 seconds. This is a bit annoying. Is there any way to speed up the treeview ? ...
Score TreeView flickering while searching nodes
Charles Crawford - 3 Oct 2007 4:12 AM - 4 messages
Hi, I see a lot about TreeView flickering while adding nodes to a treeview control, but not really about what I'm experiencing. I'm adding nodes to a TreeView control, but first, to ensure I don't already have a node somewhere in the tree with the same name, I ...
Score MFC vs .NET
rupa - 3 Oct 2007 12:45 AM - 10 messages
Hi All, Can someone explain me the difference between doing GUI programming using MFC vs .NET winforms? I want to understand what is the difference between these 2 technologies in terms of following parameters: 1) performance 2) ease in programing ...
Score Splitter Vs. SplitContainer in MDI Applications
Evan M. - 2 Oct 2007 3:20 PM - 1 message
Hello, I'm reading through Chris Sells & Michael Weinhardt's Windows Forms 2.0 Programming book, and finding it incredibly useful as a quick- reference manual. Reading up on the Splitter & SplitContainer controls, they mention that "you may need to use the pre-Windows Forms ...
Score Create a control
ilda.cpp - 2 Oct 2007 2:45 PM - 2 messages
hi, I am using Visual Studio 2005 to develop a Windows Form Application in C++. My form has some controls like picturebox, label, and so one. But I need to create a class where I would save other things. I created the class and its instance but when I try to add this ...
Score Printing Issue
Dhami - 2 Oct 2007 1:32 PM - 1 message
I have one printer attached on COM1 and one on LPT1.i have to direct some poriton of date to com1 and some to LPT1.if i am using directly port than it will disturb alignment and also not cutting page.If i m ...
Score Printing issue(Urgent)
Dhami - 2 Oct 2007 1:29 PM - 1 message
I have one printer attached on COM1 and one on LPT1.i have to direct some poriton of date to com1 and some to LPT1.if i am using directly port than it will disturb alignment and also not cutting page.If i m ...
Score Property grid, directory browse functionality
Mike - 2 Oct 2007 12:34 AM - 5 messages
Hi! How can I implement Directory Browse functionality in the PropertyGrid control similar to BackgroundImage or Icon in VS 2005 ? I can not find any info on that. May be I should be more generic and ask how I can lunch a custom form from the PropertyGrid control ? I searched for it ...
Score Minimize Window in IE 7
Mike P - 2 Oct 2007 12:09 AM - 1 message
When I minimize a window in IE 7 I am unable to maximize by clicking on bar at bottom.  Just get a beep when I click.  This seemed to start a couple of weeks ago. ...
Score Drag and Drop events not firing
B. Chernick - 1 Oct 2007 9:02 PM - 4 messages
Ok, this is the first time I've tried a serious use of Drag and Drop.  As a test, I first defined 2 instances of a very basic user control on a form. The user control had one string type public property.  All the dragdrop ...
Score OnSetCursor
Steve - 1 Oct 2007 8:27 PM - 2 messages
Hi, I'm extending an MFC app with a .NET control and i want it to respond to SetCursor call and pass it on to it's parent. thanks, Steve ...
Score WinForm with Dynamic Controls and Model View Presenter
Bill44077 - 1 Oct 2007 7:17 PM - 1 message
Hi, I have a WinForm control that has a tab control on it as its only control. In the code I am dynamically adding controls to the tab control dynamically. You could picture a page that gets populated with questions with either radio ...
Score Use an icon inside a WinForm?
Carlos Sosa Albert - 1 Oct 2007 7:16 PM - 3 messages
I'd say it's a dumb question... But so far I haven't been able to find a way: I have some .ico... is there a way to use it INSIDE a WinForm? Like a simple bitmap, but choosing which resolution (index) I want to display? ...
Score Urgent - Controls on a form
ilda.cpp - 1 Oct 2007 4:22 PM - 1 message
Hi, I am using Visual Studio.net 2005 to develop Windows Form applications in C++. My application is a Multiple Document Interface. For each form opened I would like keep the controls (like picturebox, buttons) but also other informations (another kind of information - ...
Score XSLT Editor Control
Shan - 1 Oct 2007 3:34 PM - 1 message
Hi, Anyone know any XSLT editor control to use in .net windows desktop applications? Thanks Shan ...
Score Clickonce: keep data files on uninstall?
Steven Spits - 1 Oct 2007 1:57 PM - 1 message
Hi, I'm getting my first ClickOnce app ready for prime time, but there's still one thing bothering me: At this moment I'm using |DataDirectory| to point to the SqlCe database. The database itself is marked as "data file". ...
Score scaling UI (higher resolution => bigger buttons + bigger font)
Johan - 1 Oct 2007 1:38 PM - 1 message
I want to create a UI with Windows Forms that should scale with the resolution. It's some sort of demonstration UI to be used on presentations. For example: my application is always maximized and lets say it contains 4 big buttons (in 2 rows and 2 columns) that completely fill ...
Score Location of Taskbar (Top, Bottom, Left or Right)
Terry Wahl - 1 Oct 2007 1:36 PM - 4 messages
I'm trying to figure out the location of the taskbar (top, bottom, left or right).  I am creating an owner drawn tooltip for a NotifyIcon and trying to figure out where to position the form when the user hovers over the ...
Score change location of control
gol - 1 Oct 2007 7:06 AM - 3 messages
Hi all, I have a form that inherits from another form. I want to change the location of a specific control. For this I have a method in the base form which does only this: public virtual void SetLocation(int x, int y) ...
Score Audio Restoration
Pavani.Budumuru - 1 Oct 2007 6:01 AM - 1 message
Hi! All we have working with "Audio Restoration" application, in that application we need to develop .avi files noise clarification using  "audio restoration" software. First we need to download .avi files from cam to PC drivers, then we apply "audio restoration" software and do the audio ...
Next »