The connection is closed.
when i run my application it gives me error An error occurred creating the form. See Exception.InnerException for details. The error is: Invalid operation. The connection is closed.but i am unable to...
View Articleflickering panel by create runtime labels winform C#
DetailsI have one Window form which contain picturebox and load image on that form.after that i drag and drop panel1 on that picturebox and load images runtime wen click button then next image will...
View ArticleChanging the backcolor of a button from a new form that's fired from the...
I've a main form that contains 4 buttons, when i click these buttons (each of them are always clickable), they creates a new form (using newform.show()). After i close the new created form (with...
View ArticleControl has to automatically go to OK button once the barcodes are scanned
Here the user scans barcode consider item1 has "1111111" after which cursor will automatically got to next row now item2 barcode will be scanned..After which the contro(focus)l has to automatically go...
View Articlezedgraph. two graphs, one above the other
I use zedgraph in my project, and i have a trouble. I have 2 graphs, they are located one above the other. See at the figure:Look at the right border. Elements are not positioned one above the other.I...
View ArticleTrouble Using Picturebox control for Graphical bitmap images
I created an app in Visual Studio Express 2012 using C# which draws graphical shapes to a bitimap which is then loaded to a PictureBox on a Widows Form as the PictureBox Image. The code snippets I...
View Articleplease refer this link
http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/9e8cfc3e-fa2f-4ca3-b638-bc2a06a64514i have same problem ,but solution not workingthank u,
View ArticleDrag Drop pictures, index and file name VB
HiI want to create a window form that allows the user after an open file dialog has been used to populate a window form with the picture index, picture (can be as a small tile) and file name (no...
View ArticleStatus Bar with pre-generated images. Permutation. Combination. Two Lists
Hi,I have a algorithmic problem. I am writing an application in .net (c#). First of all a small snippet:var apps = new List<string>() { "app1", "app2", "app3" }; var colors = new...
View ArticleHow do I abort an MDI closure if the user decides to not to close one of the...
I have an MDI application where multiple child windows may be open. If the user elects to close the application (from an Exit menu or the "X") I need to show him each child window with unsaved data...
View Articlehow to draw cricle on Chart
Hi,I am facing an issue regarding chart control, what I am doing is that I m plotting points on "point graph" and I need to draw a circle over the graph to indicate certain boundary (radius for the...
View ArticleHow to set default browser in windows 8 using C#?
We all have been easily able to do this prior to Windows 8 (in XP/VISTA/WIN7) with few changes in Registry and it was done. With Windows 8 it's not that easy (I'm yet to figure it out how). Windows 8...
View ArticleMS Access querying oddity - no rhyme or reason to it - Descending ok,...
Hello, I'm trying to figure this out because it simply makes no sense to me. I have tables where I do SCUD operations on. If I insert a record after removing a few, it inserts just fine. The trouble...
View Articlesave WindowState to registry
How can I save the WindowState when uiser change the state into the registry? I tried it the normal way but getting:Cannot implicitly convert type 'string' to...
View ArticleHow to deploy a UserControl in a C# app iv Visual Studio 2012
I have created a simple UserControl ( I think !!) here is the code :-public partial class NamesControl : UserControl { public NamesControl() { InitializeComponent(); } What steps are necessary to...
View Articlegetting error:invalidoperationexception was unhandled
i'm making a windows form app.when i try to deploy it ,it gives the error on this line((System.ComponentModel.ISupportInitialize)(this.performanceCounter1)).EndInit();the error says:Failed to...
View ArticleTrack an object in VC++ using opencv (not color base tarcking)
Hi,i want to make an application to track an object in vc++ like i have to draw a rectangle or circle or polygon and after define this area for an object now if i am moving that object then that draw...
View ArticleImplement Cascading Drop Down inside gridview in Windows Form + c #
HiHow can we implement Cascading Drop Down inside gridview in Windows Form + c #Thanks and Regards,Ritesh
View ArticleRDLC report Repeat Tablix header on every page.
This is my report row groups.I have found NO COMBINATION of "KeepTogether", "KeepwithGroup", and "RepeatOnNewPage" in ANY of these static groups that will cause the report to repeat the header row on...
View ArticleInterrupting and Continuing a For Each Loop
I need to interrupt a For Each loop (i.e. Exit Sub) and then later resume it. The loop currently looks like this:For Each pnl As Panel In ListOfCmtPanels pnl.SuspendLayout() For Each cntl As Control...
View Article