Answer Questions
Angie28 What do I Raise an Event?
I just read the article entitle: Multiple Forms in VB.NET. Part 3 - Using Events in Multiple Forms by Ged Mead | Published 09/03/2003. http://www.devcity.net/Articles/102/multipleforms3.aspx ________________ I followed his example and everything worked well. I want to r ...Show All
William Wicker new to using datagrids with Windows Forms
I have worked with Datagrids before on web apps but I have never used a datagrid before with a Windows forms. Now I'm slowly learning the differences between the platforms. so, I have a few simple (I hope) questions: 1) Whenever I bind a ...Show All
Elina Windows XP Themes
I know that .NET 1.1 provides Application.EnableVisualStyles() to enable Windows XP themes. But, is there a way to determine programmatically at run-time whether Windows XP themes are enabled I'm creating a user control, and depending on whether Windows&n ...Show All
Gareth Berry Webbrowser control
Does anyone know what version of Internet Explorer the new .net 2 WebBrowser control is or where I can find out what version it is. Cheers. I believe it just uses whichever version of IE is installed on the user's machine. IE itself is just a wrapper around the same HTML-rendering-engine that the WebBrowser control uses. ...Show All
Alex Wied XML Reading speed question
I have program wich uses database.ReadXml(Environment.CurrentDirectory + "\data.xml") to read xml database (database is dataset). data.xml is 5.28mb why it takes so long to read it (about 9min)... 1.7mb is read in few seconds... My computer is: Adm Athlon Xp ...Show All
OneStrayCat Passing events over network C#
Hi All, Thanks for your time I am writing a network app that sends events across the network in C#. Say if the client applications button1 is clicked the servers button1_click event should be called. What would be the best way to do this ...Show All
Christian2005 Get current Window handle count for current process
Is there a way to get the current window handle count the current process is using Thanks, Jim Correct, there is currently no method/function to get the number of Window handles used by a process. You can use the Platform SDK function GetGuiResources to get the number of graphics handles in use by a process. I don't know if this includes window handles. I would suggest using Process.Mai ...Show All
byteknight ClickOnce deployment – unable to automate that d*** thing
It is so simple We have a large project. Every night the server will run an automated build to build the sandbox The click once must publish the application from the script to web. Does not work, full with bugs, 10+ hours lost looking for solutions Now the problem is, why that thing is not taking the .config file of the windows application I guess this will be 10 more hours lost. One day, Microsoft ...Show All
RamyaPatki Save datagridview layout to file
Hi, I want to save a datagridview layout to a file. Not the data - just the columns, their formatting and the fields they are bound to. Can this be done (and how!) Paul. Check out this page: http://msdn2.microsoft.com/en-us/library/6a0381s6(VS.80).aspx ...Show All
Snarfster SQL Server Bugaboo
Hi Gang! Here's the skinny: I am working on a simple db app that reads and updates a db on SQL Server 7. When I ONLY have the connection string in the code, I can connect just fine. When I add code to manipulate data, I lo ...Show All
Nicolas Caillard Resource strings c#
Hi Can some point me in the right direction with resources in c#, I've added a string to the resource editor (under project properties), now I want to use that string. I'm want to change the text property of a form using the resource, I have the following: using <AppNameSpace>.Properties; private void FrmMain_Load( object sender, EventArgs e) { this .Text = Resources .ResourceManager.GetString( "ApplicationName" ); ...Show All
VinuM Removing focus from my form (application), how ?
I have several buttons on my form. Using SendKeys command I want to simulate key press in OTHER active application. That would mean that my form should not have focus while I'm clicking on the buttons. So, how can I "kill" focus and& ...Show All
Cathie Illegal cross-thread operation
Hi all I have an application that launches an event asynchronously using the BeginInvoke method like this if(FetchData != null) { foreach(Delegate objDelegate in this.FetchData.GetInvocationList()) { FetchDataHandler objFetchDataHandlerDelegate = (FetchDataHandler)objDele ...Show All
abhijeet.koli Restore Cursor.Clip to full screen
Hi, I have used Cursor.Clip = this.RectangleToScreen(new Rectangle(clipLeft, clipTop, clipWidth, clipHeight)); to specify an area in which the cursor can be used. Now I want to restore the Cursor.Clip so that I can use the full screen again but I have not been able to do that. Anyone have any suggestions /Moorstream In addition, this works as well (don't know what the prefered way is): ...Show All
mspres TableLayoutPanel - Runtime resizing
Does anyone know if it is possible to allow the user to resize Rows & Columns on a TableLayoutPanel at runtime Much in the way of a splitter. If you mean via the UI at runtime, no. Programatically, you could set the .Size and .SizeType properties and trigger the update via some control on the form like a NumericUpDown or a ScrollBar. ...Show All
