HiHow can Igeta good qualityprintfromawindowsform in my application by windows application thanks alot
View ArticleWhat is the KeyChar for Ctrl+C and Ctrl+V in C#
Hi, Keychar of Backspace key is e.KeyChar == (char)Keys.Back Similarly what can I write for keychar of CtrlC and CtrlVWith regards,Manoj
View ArticleWindows Forms with 4 cascading comboboxes not working
Hello, I have a windows form in C#.net with several fields including 4 comboboxes that is used to insert and update a record in SQL2008. This record represents a hardware item such as a printer, and...
View ArticleChange Cell Color
Hi,My code below will loop through my DGV rows and if the requested string is found the cell color should change.However, sometimes the code needs to be called multiple times for cell change to take...
View ArticleHow to make a forum that will have another application inside it?
I want to imbed the windows calculator inside my app. I know how to open it up in a new window outside the forum but i wanted to put it inside so it cleans it all up.
View ArticleProcess.Start() producing "parameter is incorrect" error but the file exists...
Hello,I have a file, say located at "C:\Documents and settings\MYUSER\Local Settings\Temp\my image.jpg", and am trying to launch it in its window's native viewer by running:Process poc = new...
View ArticleDisplaying a waiting dialog or progress bar
I'm developing a Windows Forms application which does heavy duty numerical calculations to display a result. The process for each invocation takes roughly about 30 seconds, and I would like to inform...
View ArticleFirst Upload images on client side in listview the finally upload all listed...
Hello ,I want to Upload multiple images first it show all images in list view from where I want to see preview of listed image and can remove if we required and finally I want to upload all...
View ArticleControls in Tabcontrol Problem
Hi Here's my problem.. I'm working in Vs2010 C# with Tabcontrols and shapes from the VbPowerPack, so when i try to drop any textbox above the shape in the tab 2 it goes to the tab 1, i already tried...
View ArticleRefereshing MDI Child forms in Windows MDI Application.
I have one requirement in my MDI Windows application:In my MDI application, I have one MDIParent Form, under which all the child forms open in tabs.I have referesh button in MDIParent form on clicking...
View Articlesystem process (PID 4) is locking the file
Hi,I have schedule task to run 3AM daily but the task is failing with the error , the task is failing because it is being used by anotherprocess. When i checked the file it is being used by system...
View ArticleWindows application in OutofmemmoryException
Hi,I create a Windows application for downloading data in websites ( using WebClient ). That mean itis a Webdata Crawler application. It is a single thread application.but When i run this...
View Articlereverse string without using any C# function
hii want to reverse string just likeinput is "My Name is Khan"output is "Khan is Name My"my function ispublic sring reverse(){string str=" my name is khan";string str1=string.empty;string[]...
View ArticleRight Click ContextMenu in System Tray
I have a Windows Form program that when its minimized, it does so to the System Tray.I have created a context menu that will appear with you right click the System Tray icon, but i am unsure of how to...
View ArticleTimer tick event not firing when run in a separate thread
I am using the following code to create a timer in a separate thread. Trouble I am having is that the Timer_Tick event isn't firing. If I run it without the threading it fires fine.{.... Thread...
View ArticleExcel Viewer Control for WinForms
My requirement is to load the excel file into form control without opening as a separate excel application.Is there any third party Excel previewer libraries to use with Windows Forms?
View ArticleAccessing the UI Thread in an Imported Class
Hey, so I have yet to find any helpful tutorials for this in my research, so I thought I would try asking myself. I am making a Windows Form application, say this application has the namespace "Foo" I...
View ArticleEqually spaced rectangles
I'm working with C# and Forms.I want to place a bunch of rectangles on that form.I'm doing the Click+CTRL mouse drag thing to make sure they are the same size.I want them to be the same vertical...
View ArticleAssign ID number
Hi, I have two form, one is with listbox, which is updated from form 1 which my contactform. When i enter contact details from form 1, is added to form2 which is the listbox, however i have label...
View ArticleForm is changing size
Ok so I have a problem with form which is changing visual look on other computer.Below is example how it looks on my computer (right side) and on the other computer (left side).I gues it's something...
View Article