How to create a triangular shaped textbox in winforms ?
How to create a triangular shaped textbox in winforms ? i tried out using graphics path of drawing2D it doesnt had AddTriangle as a method in graphics path so how can i acheive this ?
View ArticleA generic error occurred in GDI+
Hi, I got a program which saves some pictures to an Access database. The program works fine with one picture, but gives the above error when trying to load the second and subsequent pictures to the...
View ArticleReading an excel file and putting it in a dataGridView
Hey I have this piece of code:Hey I have this piece of code, I put the dataTable that is returned in a dataGrid, Everything works fine when my data starts on the first row of the excel sheet, but when...
View ArticleSetting TopMost causes paged pool kernel memory leak
We have an application that is required to keep one window top-most, even if other apps try to be top-most too. The app is .net, and sets Form.TopMost 4 times per second. This causes a leak in the...
View Articlelink label and pictures
hello i am trying to get a picture to display when the user clicks on a link label to use as a reference for what they need. don't know if its clear what i'm looking for but it would be saying "please...
View ArticleComboBox exception - Index 0 does not have a value
I am getting an exception on this line of code object current = comboBoxFunction.SelectedValue;The runtime exception is Index 0 does not have a value. at...
View ArticleWindow Installer Quick launch, Desktop Shortcut, Start Menu shortcut
Hi, I need help on to create windows installer which will allow user to choose for shortcuts(Desktop,Quick launch), currently i am able to create shortcut for Desktop, cant for quick launch. And if i...
View ArticleProblems with WinForm an screen resolution
Hello everyone. I have a form that is 300 x 734 and docks on the right side of the screen. It works fine on Windows XP, Vista, and 7. I just upgraded to a Windows 8 machine with a higher screen...
View ArticleComo hacer instalador de WindowsForm en Visual Studio con base de datos en MySQL
Hola amigos la verdad soy algo nuevo en esto y por primera vez quiero hacer un instalador de un programa que genere en Visual Studio 2010, mi problema no es hacer el instaldor, si no el problema es que...
View ArticleAcessing a Listview Created in Runtime by a button also created in runtime?
Sorry, I am very very new to c#. I've only been using it for 12 or so hours...Basically, I use a button to create a listview called shelf1...// Create an instance of the Shelf ListView...
View ArticleprintPreview landscape mode
How can I set the print Preview and print code to landscape orientation ? this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new...
View Articlewindows 8 cmd.exe and notepad.exe random frozen.
in windows 8 when open cmd.exe or notepad.exe, and let the windows stay for a long time, the cmd.exe and notepad.exe window will be all frozen, and you cannot open a new cmd.exe or notepad, and even...
View Articleuser inputs validations not functioning
Hello Guys!I am validating some textboxes but the validations are not working at all: See Below the code //validating office Id control private void...
View ArticleDetecting external process crash using c# windows form
Hi,I am trying to develop a win form which will detect external process crash which are running in a system. These processes are being run by the win form i am developing.For an example, i want to...
View ArticleDispose problem
I have one crazy problem and I can't find a problem,I make a one application, on my PC (where I have installed the VS 2012) everything work perferct, but when I copy application on another PC...
View ArticleDetect when Parent becomes disabled
I have a C# control (a subclass of ComboBox, if it matters) that is normally in OwnerDraw mode, but switches to Normal DrawMode when disabled. The problem is that this switch doesn't occur when its...
View Articlehow to read from mapping drive
hii need to read txt file from my network.if i try to read like this: \\198.111.222.333\MyFolder\MyFile.txt -> works excellentbut i have mapping to this folder Z and when i try this:...
View ArticleWindows 8 often got stuck at the log in screen.
Hi every oneI recently bought hp envy dv6 laptop with windows 8. At start windows was fluent. Than few days back I am getting a problem. Whenever I turn on my laptop or restart it. It always got stuck...
View ArticleConsumir servicio WCF desde UserControl - WINFORMS
Hola a todosMe encuentro desarrollando UserControls (Proyecto WindowsControlLibrary) en WINFORMS, pero necesito que estos consuman servicios de WCF. Por ejemplo: Tengo una caja de texto donde al...
View ArticleHow to convert C to C++
I've written a program in win32 console application C++, the language I used is C. Now i want to convert this console working program to windows form application, i guess at least it should be written...
View Article