<rss version="2.0" xmlns:dn247="http://www.dotnet247.com/schemas/rss"><channel><title>.NET 247: microsoft.public.dotnet.framework.windowsforms</title><link>http://www.dotnet247.com/247reference/__site/82</link><description>microsoft.public.dotnet.framework.windowsforms on .NET 247.</description><generator>.NET 247/WinFX 247 RSS Generator</generator><dn247:id>82</dn247:id><item><title>Find control on inherited form from base class (9 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291903.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291903.aspx</guid><pubDate>16 Sep 2004 00:24:28</pubDate><description>I have a base class that has a form that inherits from it. On this form is a control I need to get a handle to. How do I get this handle from the base class? I don't have a FindControl that i've been able to get intellisense on like I do in a web form. thanks for any help! </description><dn247:id>291903</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Windows Forms through IE (7 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291681.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291681.aspx</guid><pubDate>16 Sep 2004 00:24:27</pubDate><description>I have an ASP/SQL project that we are looking to port to .Net. At this point, much of the functionality is handled using DHTML and RDS. We have been looking to change over to something like a DLL that is displayed in IE. I have seen some writeups that indicate that windows forms can be displayed in IE, but I can't find anything to confirm this or to tell me how to do it. Can anyone help me out her...</description><dn247:id>291681</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Design/create panel control in a seperate class? (6 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291926.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291926.aspx</guid><pubDate>16 Sep 2004 00:24:27</pubDate><description>Hello, I've got a question and have been looking for an answer several days now.... no luck yet : ( Hopefully someone here can provide me with an answer. This is what I want to do: (Using Visual Studio 2003 and language C#) I created a standard Windows Form with two normal buttons (btn1 and btn2). When I press btn1 I what to display a panel (with labels, button, etc. in it) in the main form. But w...</description><dn247:id>291926</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Unable to access form in Designer View. (6 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291880.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291880.aspx</guid><pubDate>16 Sep 2004 00:24:27</pubDate><description>Hello, I created a VB.Net Smart Device Application solution with only 1 project in it. The project has only on form that I created by selecting Windows Forms from the Windows Forms Toolbox. After writing and running the code, I copied the entire Solutions directory to another folder. When ever I go to the copied folder and open its solution, then look into the Solution Explorer, there &amp;amp;quot;View Design...</description><dn247:id>291880</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>picturebox's image (7 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291868.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291868.aspx</guid><pubDate>16 Sep 2004 00:24:27</pubDate><description>how do i tell where i got the image for a picturebox control? I need to locate its file for use in my web app. </description><dn247:id>291868</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Databound controls won't give up input focus (4 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291743.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291743.aspx</guid><pubDate>16 Sep 2004 00:24:26</pubDate><description>In my application, I am binding controls in a dialog box to a DataRow. The first time I launch the dialog, it works fine. But if I launch the dialog a second time and bind it to the same DataRow again, the first control that I modify will not relinquish input focus to any other control in the client area of the dialog box. I can't even click the OK or Cancel buttons. Even if I cancel out of the di...</description><dn247:id>291743</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Printing Graphics.PageBounds not accurate (7 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291858.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291858.aspx</guid><pubDate>16 Sep 2004 00:24:26</pubDate><description>Hi, I'm writing a check printing program that needs to put a MICR line 6/16&amp;amp;quot; from the bottom of the page. Since the checks will be printed on a laser printer using letter sized paper the printable area is not actually 8 1/2&amp;amp;quot; x 11&amp;amp;quot;. I'm using an HP LaserJet 4000 and it cannot print all the way to the physical page boundaries. It has the following limitations: Top Margin 0.18&amp;amp;quot; Left Margin 0.25&amp;amp;quot; Righ...</description><dn247:id>291858</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>clipboard (8 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291938.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291938.aspx</guid><pubDate>16 Sep 2004 00:24:26</pubDate><description>Hello, Is it possible to put in the Clipboard, an object which implements the IDataObject interface but that knows only a format that is not defined in the DataFormats? What i want to do is to pull an object from the clipboard lke this: IDataObject pulledObject Clipboard.GetDataObject(); if ( pulledObject ! null &amp;amp;amp;&amp;amp;amp; pulledObject.GetDataPresent( &amp;amp;quot;MyObjectFormat&amp;amp;quot; ) ) { CMyClass A pulledObject.GetData...</description><dn247:id>291938</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Form Real FullScren Question (7 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291684.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291684.aspx</guid><pubDate>16 Sep 2004 00:24:25</pubDate><description>Hi all, I have a following inquiry. Here in news group I found the sample code of how to put a window form in FullScreen (in the style VS 2003/2005 does) protected override void OnLoad(EventArgs e) { base.OnLoad (e); Point clientTL this.PointToScreen(new Point(ClientRectangle.X, ClientRectangle.Y)); Point clientBR this.PointToScreen(new Point(ClientRectangle.X ClientRectangle.Width, ClientRectangl...</description><dn247:id>291684</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Problem getting value from combobox and late binding (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291937.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291937.aspx</guid><pubDate>16 Sep 2004 00:24:24</pubDate><description>using vb.net 1.1 I have a combobox which I'm trying to get the selected item's value. the problem is that this class uses Option Explicit On and Option Strict On so the following line gets a compile error: m GoToID CType(cmbGoTo.SelectedItem.row(0), Int32) with the blue squiggly under cmbGoTo.SelectedItem.row(0) and the compile error is: Option Strict On disallows late binding I populated the comb...</description><dn247:id>291937</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Extending System.Windows.Forms.Button class (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291855.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291855.aspx</guid><pubDate>16 Sep 2004 00:24:23</pubDate><description>Hello, I'm writing an extension class for the winforms button control using MC . I created a class, derived from System::Windows::Forms::Button. In my class I want to extend the functionality of the Image property, so I added the followind functions: public gc class ExtendedButton : public System::Windows::Forms::Button { public: property System::Drawing::Image* get Image(); property void set Imag...</description><dn247:id>291855</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>ListBox: set SelectedItems (8 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/57/285794.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/57/285794.aspx</guid><pubDate>16 Sep 2004 00:24:23</pubDate><description>Hello group, I have a ListBox control, populated by a DataSet with a DisplayMember and a ValueMember. I have a list of values (a string[] in my case), and I'd like the ListBox control to show all items whose value it can find in this list, as selected. It seems I can't find the way to do this, because I don't know how to set the state of one item to 'selected'. Here is what I got so far: foreach (...</description><dn247:id>285794</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Bind schema to dataview (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291900.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291900.aspx</guid><pubDate>16 Sep 2004 00:24:23</pubDate><description>I have one dataset. I have create one DataView and I want to add only table schema to the newly created dataView how to do this </description><dn247:id>291900</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Grabing the FormLoad Message from the Message Queue (9 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291843.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291843.aspx</guid><pubDate>16 Sep 2004 00:24:23</pubDate><description>I have written a Custom Message Filter. And want to trace the Form Load or similar Message and write this to console. Can Anybody help me here. Public Function PreFilterMessage(ByRef m As System.Windows.Forms.Message) As Boolean Implements System.Windows.Forms.IMessageFilter.PreFilterMessage If m.Msg ??? Then Console.WriteLine(&amp;amp;quot;Form Loaded&amp;amp;quot;) End Sub Its urgent.. Saurabh </description><dn247:id>291843</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>internet connection (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291932.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291932.aspx</guid><pubDate>16 Sep 2004 00:24:23</pubDate><description>Hi I'am checking in separate thread does the connection with internet is estabilished. But program freezes for 2 3 secs. How to do that user doesn't feel this checking? thanks Konrad </description><dn247:id>291932</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>How to add a manifest resource? (5 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291942.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291942.aspx</guid><pubDate>16 Sep 2004 00:24:22</pubDate><description>Hi, I have a WinForms app source code with a batch file containing compilation script: csc /t:winexe /r:System.dll /r:System.Drawing.dll /r:System.Windows.Forms.dll /r:Cassini.dll /win32icon:myicon.ico /res:myicon.ico, MyCustomIcon /out:MyApp.exe MyForm.cs which works fine if i compile from command line, but if i use VS.NET, i get an exception in MyForm.cs on this line: // Icon new Icon(Assembly.G...</description><dn247:id>291942</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>WebClient Timeout (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291939.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291939.aspx</guid><pubDate>16 Sep 2004 00:24:22</pubDate><description>I have an app that is working well. It uses the weblclient class uploaddata method. Recently the server overhead increased causing communication timeouts to occur. How can I increase the client recv timeout value to get around this problem. Thanks for your help on this. Best Regards, Paul J. Lay </description><dn247:id>291939</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Detect Form Closing (5 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291904.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291904.aspx</guid><pubDate>16 Sep 2004 00:24:22</pubDate><description>I have a main form that is open by using: Application.Run(New fFormCriteria) And then I have a form that runs invisible that is open by using: Dim myForm As New fVersionTimer The fFormCriteria form is the form that the user will close to exit the program. How do I detect the Form Closing event on frmVersionTimer? Is it possible? Derek Hart </description><dn247:id>291904</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>scrollbar problem.. (5 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291913.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291913.aspx</guid><pubDate>16 Sep 2004 00:24:22</pubDate><description>Dear all, I'm writting a .net winForm application with C#, but I'm getting the following exception when the user scrolls a scrollbar. The strange thing is that the exception happens only some of the time, and seems pretty random. However, once an exception occurs with a scrollbar and when I choose 'continue', that particular scrollbar will raise the exception everytime I click on it from that poin...</description><dn247:id>291913</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Propertgrid and Datalink dialog (4 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291930.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291930.aspx</guid><pubDate>16 Sep 2004 00:24:21</pubDate><description>Hi All, I'm trying to open a Datalink property dialog from Propertygrid. So that i can update connection string in my app.config file. If someone can help me or give some pointers i will be greateful. Thanks.... Greg </description><dn247:id>291930</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Can I do this - Control Focus despite Tab Order ? (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291798.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291798.aspx</guid><pubDate>16 Sep 2004 00:24:20</pubDate><description>Using the tab order in VB on a form works fine but to me it seems tedious (at times) to have to set or be concerned with the tab order. I can't seem to get a control to have focus on the load form event...am I doing something wrong or do I just need to control this thru tab order? TIA JB</description><dn247:id>291798</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>detecting combobox list closure (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291802.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291802.aspx</guid><pubDate>16 Sep 2004 00:24:20</pubDate><description>Is there a way of detecting when a combobox list closure? The DropDown event only fires when the list opened not when it is closed, for example by the user clicking outside the combobox. I wondered about deriving a class from ComboBox and overriding WndProc to look for whatever message it must receive on closing. Does anyone have any code samples or know where I can find a reference for these mess...</description><dn247:id>291802</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Access the ComponentTray (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/57/285502.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/57/285502.aspx</guid><pubDate>16 Sep 2004 00:24:20</pubDate><description>Hi, I'm writing an add in that adds controls to a form at design time. I got this working for visible controls on the form by getting an IDesignerHost for the form, and adding to the Controls collection of the RootComponent, but this doesn't work for components in the ComponentTray (I want to add an ImageList). I suspect I need to call the Add method of the Controls collection on the ComponentTray...</description><dn247:id>285502</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Configuration Settings (app.config) (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291815.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291815.aspx</guid><pubDate>16 Sep 2004 00:24:20</pubDate><description>I am having problem reading the app.config file. I have 2 vb.net executables one calling the other using process.start method. It seems like when the calling form is run it reads the configuration file correctly and i get the values from appsettings. But when i call the second executable from the first the second executable doesn't read the app.config file. Reading any values from appsettings give...</description><dn247:id>291815</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>how to add button column in Datagrid (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291796.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291796.aspx</guid><pubDate>16 Sep 2004 00:24:20</pubDate><description>Hello everyone, I was wondering if I can extend the Windows Forms Datagrid to add my own ButtonColumn (like in ASP.NET Datagrid). I also would like to add my own Formatted Text box column. Is it possible to extend the current Datagrid to do this. Please let me know Thanks Rajiv</description><dn247:id>291796</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Trying to reproduce the Open/Save File Dialog (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291745.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291745.aspx</guid><pubDate>16 Sep 2004 00:24:20</pubDate><description>Hello, I have to kinda reproduce the Open/Save File Dialog. I was wondering what class was used by these dialog to display all the files/folders. Would there be a way to have the same control in my application, with the same behaviour (double click opens a folder, rename ability, and so on...) Thanks in advance for your help. </description><dn247:id>291745</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>DatagridColumnStyles, mouse events (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291738.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291738.aspx</guid><pubDate>16 Sep 2004 00:24:19</pubDate><description>hi, I have class inherited from DataGridColumnStyles. Override it's paint event to draw an image. I want to track the mouse position when cursor moves inside the image area. But the DataGridColumnStyles does not listen to mouse events. Is it possible to add mouse events to DatagridColumnStyles? Thanks. </description><dn247:id>291738</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Using Scrollbars with User Painted Controls (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291734.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291734.aspx</guid><pubDate>16 Sep 2004 00:24:19</pubDate><description>Im using double buffering to draw a scheduling grid on a form. The grid can take up more space than the form can display. I would like to use a scrollbar to control which part of the window the user can view. Does anyone know a simple way to do this? Any help is always greatly appreciated, Alex </description><dn247:id>291734</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Called A Function in Array Of MDI Child Forms (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291934.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291934.aspx</guid><pubDate>16 Sep 2004 00:24:19</pubDate><description>I have a bunch of mdi child forms and I use a collection for which forms are opened. I would like to call a public function in the open forms called ChangeFormat, but I am getting the following error: 'ChangeFormat' is not a member of 'System.Windows.Forms.Form'. Can somebody tell me how I can achieve this? Thanks, Dan Example Code: Public Sub ChangeFormat() Try Dim frmAny As Form For Each frmAny ...</description><dn247:id>291934</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>How to use the datagrid (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291728.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291728.aspx</guid><pubDate>16 Sep 2004 00:24:19</pubDate><description>Hi all, I'm new to windows form programming, but have experience with ASP.NET I have some questions about the datagrid for windowsforms. I know how to databind the grid. No problem there. What i want to know is the following things : 1. How do i set columns visible or not 2. How do i use functions on the cells e.g. the column type in the datasource is integer but i want to show text in the datagri...</description><dn247:id>291728</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>ScrollBar In LidtView Detail (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291727.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291727.aspx</guid><pubDate>16 Sep 2004 00:24:19</pubDate><description>Hello, Everybody! I have problem in myListView control, inherited from ListView Class I try to calculate width of some Column in LisrView (Detail) when after resizing. For this purpose I override OnResize method (see code below) if I extend width of the MyListView That's All OK. BUT if I try to narrow the MyListView I take the Horizontal ScrollBar, which realy not need. (After minimize/restore ope...</description><dn247:id>291727</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>how to bind data to windows checklistbox (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/57/285721.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/57/285721.aspx</guid><pubDate>16 Sep 2004 00:24:19</pubDate><description>(Type your message here) From: Maddy Balakrishnan Hi, I have the same problem but i'm using windows checklistbox in vs2003.net. But i can't find a properties datasource, displaymember.. as we have in combobox.... pls help me .. thanks in advance.. Posted by a user from .NET 247 (http://www.dotnet247.com/) Id bvViG2gs/keAD7E2cCBvXg /Id </description><dn247:id>285721</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Updating a simple ListBox from the DataSource (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291752.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291752.aspx</guid><pubDate>16 Sep 2004 00:24:19</pubDate><description>I have a simple ListBox &amp;amp;quot;LB&amp;amp;quot; and an ArrayList &amp;amp;quot;TheList&amp;amp;quot;. I load the ArrayList with a few items and then do LB.DataSource TheList; LB.DisplayMember &amp;amp;quot;XXX&amp;amp;quot;; LB.ValueMember &amp;amp;quot;YYY&amp;amp;quot;; // or whatever. Everything works fine and my values are displayed. BUT, if I then add more items to my ArrayList, they are not reflected in the ListBox. Is there a setting to have the ListBox do this automatically? If not, h...</description><dn247:id>291752</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Solution: Stop validating if Cancel button Clicked (6 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291800.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291800.aspx</guid><pubDate>16 Sep 2004 00:24:18</pubDate><description>OK, this was my setup/problem. I had a form with initially 1 textbox and a cancel button enabled. If I entered any text into the text box and then clicked on the cancel button or hit tab the validation event would fire. If a user entered tab I wanted to go ahead and validate...if they clicked on Cancel, no matter what they had already entered into the textbox, I wanted to Cancel and close. My solu...</description><dn247:id>291800</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>ProgressBar stops when lost focus (3 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291710.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291710.aspx</guid><pubDate>16 Sep 2004 00:24:18</pubDate><description>I have a dialog box that takes a folder path and then creates thumbnails. It works well. However, my progress bar (I'm using the default .Net ProgBar) stops if the form loses focus. The code is still running in the background, but I no longer know how far along it's gone. My code is something like this: For Each curFile in arrFiles '...Add to dataset '...Create thumbnail x 1 Me.pbImages.PerformSte...</description><dn247:id>291710</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>AutoComplete ComboBox Problems (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291758.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291758.aspx</guid><pubDate>16 Sep 2004 00:24:18</pubDate><description>Hi, I am in the process of writing an autocomplete combobox. I have seen many examples, but none handle the problem that I am running into. The autocomplete functionality works fine. But as soon as I load objects into the items arraylist, and I set the DisplayMember and ValueMember, I start to run into problems. At first everything seems to work fine, but let your mouse be in the path of the drop ...</description><dn247:id>291758</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>FolderBrowserDialog is empty (6 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291761.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291761.aspx</guid><pubDate>16 Sep 2004 00:24:17</pubDate><description>Hey, i'm sure i overlooked something silly, but for some reason if i try to use the FolderBrowserDialog.ShowDialog method, the dialog does not show a treeview containing folders... the dialog only contains the button to create a new folder (which also doesn't do anything) and the Ok and Cancel buttons. I get this behaviour no matter what value i assign to the RootFolder property before calling the...</description><dn247:id>291761</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>SuspendLayout breaks Inherited form (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291847.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291847.aspx</guid><pubDate>16 Sep 2004 00:24:15</pubDate><description>Hi there, This must be a common question but I can't find the answer. I have a simple windows forms project. I create a form with say an OK and Cancel button anchored to the bottom of the window. I compile the project. Next I create a new form inherited from the previous. I add a label to it and compile the code. Everything is ok. If I change the size of the derived form (make it smaller) and then...</description><dn247:id>291847</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Tabs on Top Right in TabControl (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/57/285745.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/57/285745.aspx</guid><pubDate>16 Sep 2004 00:24:14</pubDate><description>How do I get the tabs to draw themselves on the top right in the tab control. I have looked at the tabcontrol.alignment but it only has top OR right. I have tried changing the Left and Right properities of the tab when it's being drawn but they are read only properities. Thanks, From: Adam Brown Posted by a user from .NET 247 (http://www.dotnet247.com/) Id eyVbZPJuj0mBvnDulZzYLA /Id </description><dn247:id>285745</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>oleDbDataAdapter/DataSet - data to ListView. (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291820.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291820.aspx</guid><pubDate>16 Sep 2004 00:24:14</pubDate><description>Hi. 1. Have u got any solution to add data from DataSet or oleDbDataAdapter to ListView control, with no adding row after row but complex (big part of data) like with DataGrid control? 2. How can I add row after row from DataSet? 3. Is reader make read operation with SQL statement, to take row after row in real time operating on DB file? Or it is buffering data somewhere? Thanks, for wrote. </description><dn247:id>291820</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Datagrid that looks like 'Properties' windows in VS.Net (6 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291916.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291916.aspx</guid><pubDate>16 Sep 2004 00:24:14</pubDate><description>Can anyone point me at some sample code that creates a datagrid that looks and acts something like the 'Properties' window in Visual Studio .Net? Specifically I'm looking for a grid that has two columns where col1 is not editable. Ideally col2 would support a number of different controls but I understand the datagrid is kinda brain dead in that respect. Anyone run across some sample code that impl...</description><dn247:id>291916</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Wrong shortcut displayed - Ctrl+D0 (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291876.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291876.aspx</guid><pubDate>16 Sep 2004 00:24:14</pubDate><description>I have a C# form that displays a shortcut key for a MenuItem but it is displayed with a 'D' in front of the number: Instead of Ctrl 0 it shows Ctrl D0. Any suggestions on this?</description><dn247:id>291876</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Show Blank value in Combo Box (4 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291773.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291773.aspx</guid><pubDate>16 Sep 2004 00:24:13</pubDate><description>I need to display a blank value as well as other values. I do not want to alter any current records but just be able to display this blank value amongst the list. I have not been able to figure out how to do this in a combo box. Any help will be greatly appreciated. carlt@gicw.org</description><dn247:id>291773</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>Is Forms.Timer multithreaded or...? (2 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/57/285729.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/57/285729.aspx</guid><pubDate>16 Sep 2004 00:24:13</pubDate><description>I have a C# app with a child window (let's call it WindowY) and a PropertyGrid (the PropertyGrid is also a child of the app, not a child of WindowY). I used to have a System.Windows.Forms.Timer that would trigger a call into a C DLL (in the DLL is some code to paint WindowY). I also implemented some custom UITypeEditors for the PropertyGrid, which would pop up as modal dialogs and you could edit s...</description><dn247:id>285729</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>index from object in collection (2 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291739.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291739.aspx</guid><pubDate>16 Sep 2004 00:24:13</pubDate><description>Hey there, I'm gonna need a fast reply on this if possible cause I have exams tomorrow. I'm using an Enumerator to go through a collection, and want to remove the object I'm searching when it is found. So now i need a way to get the index of this object in the collection, but I can't figure out how Here is a part of my code Private Sub haalBtn Click(ByVal sender As System.Object, ByVal e As System...</description><dn247:id>291739</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Random exceptions in Windows Forms app (5 replies)</title><link>http://www.dotnet247.com/247reference/msgs/57/285567.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/57/285567.aspx</guid><pubDate>16 Sep 2004 00:24:13</pubDate><description>We are working on a large project that has several owner drawn controls and interacts with a couple of COM components (not ActiveX controls). At seemingly random times, we receive (usually) a NullReferenceException. Occasionally, it is a &amp;amp;quot;External component has thrown an exception&amp;amp;quot;. Regardless of the type of exception, we get the following stack trace: at System.Windows.Forms.UnsafeNativeMethods.C...</description><dn247:id>285567</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>AppUpdater restricted to localhost? (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/57/285713.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/57/285713.aspx</guid><pubDate>16 Sep 2004 00:24:12</pubDate><description>Is the AppUpdater restricted to localhost use? I have an application to works fine retrieving updates from a virtual directory off of the default web site, but when I try to create a deployment web site, I get the following: System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required. at System.Net.HttpWebRequest.CheckFinalStatus() at System.Net.HttpWebRequest...</description><dn247:id>285713</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>Detecting PC inactivity (6 replies, VIP)</title><link>http://www.dotnet247.com/247reference/msgs/58/291848.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291848.aspx</guid><pubDate>16 Sep 2004 00:24:11</pubDate><description>Hi All, I need to detect when the PC has been inactive for a set period of time. This solution has to work on Windows 98 and up. I was looking for a way to hook into global mouse and keyboard events, but I haven't found a way to do it. The IMessageFilter appears to only work at the Application level. Similarly using SetWindowsHookEx with WH MOUSE only listens at the application level, and WH MOUSE...</description><dn247:id>291848</dn247:id><dn247:siteId>82</dn247:siteId><dn247:highlight>True</dn247:highlight></item><item><title>blinking issue while using invalidate (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/58/291944.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/58/291944.aspx</guid><pubDate>16 Sep 2004 00:24:11</pubDate><description>I have been having problems using invalidate which forms when the mouse is triggering the screen repainting. It seems that if the invalidate function is called too frequently and unsightly blinking effect happens. Below is a sample program which produces the effect I am trying to explain. Is there a different way to cause the text to be repainted in response to the events without causing the blink...</description><dn247:id>291944</dn247:id><dn247:siteId>82</dn247:siteId></item><item><title>PropertyGrid and nested property (3 replies)</title><link>http://www.dotnet247.com/247reference/msgs/57/285754.aspx</link><guid>http://www.dotnet247.com/247reference/msgs/57/285754.aspx</guid><pubDate>16 Sep 2004 00:24:10</pubDate><description>I have a custom control derived from button. One property is an instance of the following simple class, which is used to paint the button with different colors: Public Class Style Private ColorStart As Color Private ColorEnd As Color Private ColorHighlight As Color Public Property ColorStart() As Color Get Return ColorStart End Get Set(ByVal Value As Color) ColorStart Value End Set End Property Pu...</description><dn247:id>285754</dn247:id><dn247:siteId>82</dn247:siteId></item></channel></rss>