Home All Groups Group Topic Archive Search About

Windows Forms

microsoft.public.dotnet.framework.windowsforms
Score Passing data to Thread
SISTEC - 3 Nov 2007 3:21 AM - 5 messages
Hi, How I can pass data to thread or how I can access data from the thread? I want to start thread that can modify some data (datarow or dataset for example) any ideas? ...
Score ShowinTaskBar -- Backwards Question
Wayne Berry - 2 Nov 2007 4:17 PM - 5 messages
I program in both C# WinForms and C++ Windows SDK.  In C# WinForms there is a property for the Form called ShowInTaskBar which removes the window from the taskbar if False.  This is a nice feature, however I would love to do this in ...
Score How can I trap onclick for all areas on a window?
Ken Varn - 2 Nov 2007 1:31 PM - 2 messages
I have a Windows Form that contains various controls.  I want to trap the onclick event for the entire surface of the main Form including the areas obstructed by the controls.  The problem that I am facing is when I put an ...
Score DotNetNuke Development
VB - 2 Nov 2007 9:57 AM - 1 message
[link] DotNetNuke development services for DNN include: ·    Product Design and Analysis ·    Prototyping ·    Incremental Development Approach ·    Full Product Testing Cycle ...
Score Problem with Abstract class for User Control
news.microsoft.com - 2 Nov 2007 5:31 AM - 4 messages
I have created an abstract class called BaseListUC which inherits from UserControl.  The BaseListUC has 4 abstract methods, Add(), Edit(), Delete(), View().  I have then created a UserControl which inherits from BaseListUC called MemberListUC.  In MemberListUC, , I have ...
Score Configuration Management
rickyclarke9@gmail.com - 2 Nov 2007 5:25 AM - 2 messages
I have found an excellent resource on understanding Windows Application concepts and exam 070-306. [link] ...
Score Visual Studio 2005 drives me nuts
Crazy Cat - 1 Nov 2007 4:27 PM - 5 messages
It's one thing to lose productivity because of mistakes I make, but when productivity is lost because of the development tool that is frustrating. For example I've noticed there are times when a form can become unviewable in the designer leaving the developer with having to ...
Score Setting KeepAlive = false for the ReportViewer Control
Glenn - 1 Nov 2007 4:24 PM - 1 message
Is am using the Reporting Services control in my application. A customer of mine is on a network where persistent connections are not allowed. Once a request gets its response, the reverse proxy tears down the socket after 5 seconds of inactivity in order to prevent DOS attacks. In order to prevent ...
Score drop not accepted effect
dk60 - 1 Nov 2007 4:21 PM - 1 message
I am implementing dragging an image from one control to another. If the drop is not accepted (according to some game rule) then I want the image to slide back to the original position. I cannot figure out how to get the animated effect of moving back from the drop control to the ...
Score Question about UI design
Brian Richards - 1 Nov 2007 3:55 PM - 6 messages
Just looking for some feedback about a particular UI design paradigm and maybe some examples. Say you have an application that looks a lot like Windows Explorer (file system not the browser). On the left is a tree of objects. On the right is a ...
Score Can't edit form
Crazy Cat - 1 Nov 2007 3:50 PM - 2 messages
I have a form which for some reason designer won't let me edit. I attempt to move controls and they just snap back into their original position. I can't even delete controls on this form. Does anyone have any idea what  setting could be preventing this? The ...
Score Activity trace
Vikram - 1 Nov 2007 4:41 AM - 2 messages
Hi, I am using winforms, smart client application. I want to generate activity trace of all the events whiich are being called and time they are taking. Is there any config section, enabling which should generate the trace automatically to some file or I need to write to trace listener in each ...
Score Pasting into RichTextbox
David Anton - 1 Nov 2007 3:34 AM - 4 messages
If you paste from some sources, such as a post on this forum, to a RichTextBox, all line feed information is lost (I believe they're replace by spaces).  I've noticed the same behavior with WordPad, but NotePad does not ...
Score Generics?
John - 1 Nov 2007 1:24 AM - 13 messages
Hi I am fairly proficient in vb6 and vb.net but I am baffled by generics. What are generics about and can I make use of them in my winform vb.net database applications? Many Thanks Regards ...
Score Detect a key is pressed on WinForm load?
Carlos Sosa Albert - 31 Oct 2007 7:40 PM - 3 messages
Hi guys, What I'm trying to achieve is to detect if a key is pressed when I load the app. The idea is to be able to access to some debuging information if desired. But I don't know where to start... I found information on ...
Score vs2008
John - 31 Oct 2007 12:22 PM - 5 messages
Hi What are the advantage of vs2008 over vs2005? Thanks Regards ...
Score Error in Treeview with Checkboxes and Vista
Dieter Pelz - 31 Oct 2007 10:40 AM - 17 messages
Hallo, there is an error in the TreeView control when checkboxes are enabled. When the checkbox is double clicked the node is visibly not checked, but the Checked property is still true; I'm using Visual Studio 2005. Windows Vista und Vista 64 has this error. ...
Score How to sense ESC key was pressed
Girish - 31 Oct 2007 10:25 AM - 5 messages
I have a long running loop in a Windows Form (VB2005 code). I want to be able to terminate this loop when the user presses the ESC key. Can someone tell me how this can be achieved? Thanks, ...
Score Events not firing
Nick Locke - 31 Oct 2007 10:10 AM - 1 message
I have this code in an ancestor User Control: Public Class ReportAncestor     Public Event ShowMessage(ByVal strMessage As String)     Public Event HideMessage()     Public Sub PleaseWait()         RaiseEvent ShowMessage("Please Wait...") ...
Score Activate a screen saver then stop it
Tedmond - 31 Oct 2007 7:28 AM - 2 messages
Dear all, Is there any way to start a screen saver and then stop it?  Do I need to use Process?  I tried to use Process to start a screen saver but could not stop it even I killed the process. ...
Score Problem with .NET 2.0 MDI menu merging
Doug Harber - 31 Oct 2007 3:22 AM - 2 messages
I've got 2 problems trying to get an MDI child form's menus to merge with its parent's. First, I created a simple MDI app with 2 forms, just for testing. The parent form contains a menu with the following items: ...
Score How to make a tab control handle ctrl+tab, instead of the MDI parent doing it?
Andrew Backer - 30 Oct 2007 10:10 PM - 3 messages
Hello, Is there any way to make the tab control, when a control within it's bounds has focus, respond to control+tab?  I am hoping for a codeless solution, but if one is not possible that is fine too.  ...
Score Embed an image in a mail
Carlos Sosa Albert - 30 Oct 2007 7:28 PM - 1 message
Hi guys, I'm trying to send an e-mail containing HTML+embeded images (using cid:myContentId). I tried using this code but whenever I receive my e-mail, the picture isn't displayed. What am I doing wrong? ___________________________________________________________ ...
Score KeyPreview/KeyDown not working with ActiveX
Tim Mackey - 30 Oct 2007 6:33 PM - 6 messages
hi, i have an ActiveX Html Editor control developed X-Standard.com.  i'm trying to program in keyboard shortcuts via the KeyDown event attached to the form that contains the editor control.   KeyPreview is set to on, but the KeyDown ...
Score how to avoid atomatic selection of text in textbox?
Stephan Elsner - 30 Oct 2007 6:17 PM - 2 messages
I want to output text in a multiline scrollable read only textbox, but the text is always selected which look strange and is hard to read. How can I deselect the text programatically? ...
Score Debugging
Elmo Watson - 30 Oct 2007 2:53 PM - 2 messages
Is there any way to step through a Windows Service, so I can see which events are firing and when? ...
Score Winforms security issue
news.microsoft.com - 30 Oct 2007 4:35 AM - 5 messages
I have installed a winforms net 2 app on a windows 2000 server.  I am just trying to run it on the server at this point and I am getting an error as soon as the program tries to start.  I know that its a security error which ...
Score CLickOnce deployment using different app config
Aaron G - 29 Oct 2007 10:05 PM - 1 message
Hi everyone, I have a Winforms app that is deployed using ClickOnce.  Like most apps, the settings used in production are slightly different from those used during development/testing.  One of the main differences is that the development version points to web services on a dev server, whereas the ...
Score Windows Service - login question
Elmo Watson - 29 Oct 2007 8:16 PM - 3 messages
I am messing around with Windows Services for the very first time - I'm getting to the installation part, and when I install, it asks for a username and password. Is this absolutely necessary? Also - is there any way to get around it, so that it just runs? ...
Score Embedded image in a Class Library
Carlos Sosa Albert - 29 Oct 2007 7:45 PM - 4 messages
Hello guys, C#, VS2005: I'm trying to send an email containing an image. I use "new AlternateView(imgStream, Mime.MediaTypeNames.Image.Gif);" to do so, fine. The problem is before this, when I try to create the Strem (imgStream) from ...
Score External Images in Subreport
Herb - 29 Oct 2007 5:29 PM - 1 message
Using a Winforms ReportViewer object how do I .EnableExternalImages in a subreport? ...
Score Combobox Autocomplete
MichaelC - 29 Oct 2007 5:16 PM - 1 message
How can I determine whether or not autocomplete in a combo box actually selected anything?... My users seem to be having an issue figuring out that something was not found! Michael Comperchio ...
Score Multi-threading forms?
Patrick - 29 Oct 2007 1:01 PM - 2 messages
I have a "Main" ASP.NET 2  Form that could spawn off other forms using   //e.g.   NewSubForm myNewForm = new NewSubForm();   myNewForm.Show();   myNewForm.Activate(); The other forms perform something intensive "e.g. Invoke Oracle Stored ...
Score Measuring the exact size of a string
EgregioSignore - 29 Oct 2007 12:46 PM - 3 messages
Hi all, I want to write a function that gets the following parameters: a string "s" a font "f" and returns the EXACT width and height of the font. I tried first with MeasureString but it adds me extra space; ...
Score Tab controls failing to display Properties window
Mark Raishbrook - 29 Oct 2007 12:04 PM - 1 message
Suddenly, for no apparent reason, all of the tab controls in all of my projects are failing to display the Properties window when selected. I just get e.g. TabControl1 System.Windows.Forms.TabControl in the dropdown combo box with zero items listed in the window itself. Ditto when adding new tab ...
Score Imaging component for viewing very large JPG's?
Ed Sonneveld - 28 Oct 2007 8:51 PM - 10 messages
I'm searching for a component which is able to show very large JPG images (sometimes more than 30 MB). These are professional scans of large drawings from an archive. I tried DotImage from Atalasoft, but it needs to map a huge block of memory ...
Next »