Answer Questions
Matt Tompkins Windows Service OnStart()
Ok..i have a listener that i have written as a windows service. However the OnStart method must return to the operating system once the service's operation has begun and it must not loop forever or block. Therefore I cannot call my function (re ...Show All
Jorge Guzman Check if underlying dataset was updated
I've looked everywhere. This has to be an easy one. How do you check if the data has been updated when using data binding in Windows Forms 2.0. I know you can check each row individually to see if it was modified, but that seems like a lot of work for such a simple task. This will be used to check if something was not been saved during the form closing event. Thanks for the response. I don't know how ...Show All
ChronoReverse Passing Control from SDI to MDI
I have a windows program I am starting to develop in C#, and I am running into a bit of a question area. When the program runs, I want a single form to open, asking the user for a Name and Password. I want this form&n ...Show All
Jan Friberg SelectedIndexChanged in C# WinFrms databind listbox
I am having a problem with coding the SelectedIndexChange event on a listbox that's bound to data from a database. When I code the SelectedIndexChange event, it is fired when the listbox is populated with the data from the database, which resu ...Show All
Flavio Roberto Adding TableAdapters to a form
Hi, I have a question regarding the process of adding a TableAdapter to a Windows Form. I know that I can drag a table from a data source and it will add the adapter along with the dataset and the binding controls. However, I want to know if there is another way to add it to the form when all I want is the TableAdapter and not the binding controls. I tried selecting the "none" option in the list beside the table but it won't ...Show All
briane GDI+ and RigthToLeft property
I have a form (called Form1) that its controls are drawn right-to-left for RTL languages (Arabic languages): this->RightToLeft = System::Windows::Forms::RightToLeft::Yes; A graphic is drawn in this form on Paint event: System::Void Form1_Paint(System::Object^ sender, System::Windows::Forms::PaintE ...Show All
xsc Open picture fullscreen
Hi! I want to open a picture fullscreen from my Winforms application. I've tried to maximise my application window, and removing all the controls from the window as well as the borders. Then I set the picture I want to display as the background of the window. While it almost works(the taskbar is still shown), I'm sure there are better ways. Any hints on how I should do it would be appreciated. Vidar ...Show All
IrvineLewis Control TextChanged Event Question
My group is in the process of creating a few common forms that we will use as templates for all the applications we create. Basically, instead of inheriting from System.Windows.Forms.Forms we will inherit from these subclasses. One of the common features we would like available in the form is when the TextChanged event fires on any TextBox or Combobox on the form, we would like to mark the form as IsDirty and enable a Save button. Because these ...Show All
JokerMan http compression when download assemblies from IIS
Is there any way to use http 1.1 compresion for the exe and dll asemblies hosted on IIS I hope this will increase first download performance. With regards to download performance, you may also want to check out the MSDN article& ...Show All
Wayne Duke How to show pdf document in windows forms created using c#?
I whant to display pdf documents in windows forms.Is there any controls available for this. Not sure, but it seems like you could use the WebBrowser control to then host the viewer. - Erick The WebBrowser control works - additionally I think there's a PDF Active X control put out by adobe. Try right clicking on your toolbox, "choose items", select the "COM" tab then surf ...Show All
zseven Automating login to website with IIS basic authentication
Hello all, Can someone point me int the direction of writing a script to automate login to a web application that uses basic authentication instead of a normal post login from a form Basically what I am trying to do is make the authentication ...Show All
Sasco Display Blobs on Reports??
I need to create this typical report in which I need to show that actual content stored as blobs in the SQL Server Database. The problem is that some of them are PDF documents while others can be word or image files. So my complex problem if broken into two are : 1. What is the best approach for creating reports which have content in case of a Winform application ( ReportViewer or Crystal or ) 2. Since the content is of varying n ...Show All
nimit how to display tooltip for infinity time?
hi, I want to know how to display a tooltip forever as long as the mouse still at the control. I only find AutoPopDelay property to set the time but cannot set the time to be infinity. anyone can help thanks in advance Hi , JeroGrav I tried the following code but it does not work, the tooltip disappears after a while. class Class1 : System.Windows.Forms. ToolTip { ...Show All
Doudakmanis Apostolos IE Container in WinForm
how can I call the IE display container inside my windows form. Bascially I need to show an xml document in the same way IE Displays it. I don't want to call IE to show the document. I have a form with RTextBox for now...but I&nb ...Show All
venky_m MDI-List Property bug??
Hello all, i"ve written an application in visual Studio .Net (visual basic) but encounterd some sort of bug... Please look into the following: Situation ------------------------------------------------ .net framework 1.1 studio.net -> visualbasic Main-form contains: Mdi-container property = true menu-item ...Show All
