Next control Focus is incorrectly set when we pop-up a dialog during...
We have encountered a weird problem when we pop-up a dialog during Validating event of the control that we are leaving. It looks like there is some problem in WinForms ContainerControl setting focus...
View ArticleReset Textbox.PasswordChar C#
Hello!I know how to set the password char of a textbox (this.myTextBox.PasswordChar = '*'). But how can I reset the password char so the text in the textbox is shown as normal text again? Thanks in...
View ArticleDirectory tree with checkboxes ...
I need to create a file/directory selection dialog with everything displayed in a tree view. That is easy of course, but I also need for three state checkboxes to accompany each file and directory to...
View ArticleProblem with SendKeys.SendWait("{ESC}") or SendKeys.SendWait("^c"); ?
Hi ,I have developed an application that uses hotkeys. and the method like registerhotkeys, receivehotkey(), changehotkey(),etc are the functions used in the project in order to handle the project.In...
View ArticleProgress Bar (VS 2010 Express)
hi gurus, how to make a progress bar that just swings back and forth while some code is being executed?Thank you.Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no...
View ArticleContextMenuStrip not working for ListBox control on Windows Forms app running...
Hello,I've been mostly successful porting my company's desktop app (WinForms, C#) to our new Surface Pro tablet, but have not been able to get a ContextMenuStrip to appear with a finger or pen touch...
View ArticleWork with local WebBrowser created in other thread
Hello everybody,In my MainWindow (Main Thread), I have a Tab Control (without TabItems) that will contain WebBrowsers.I have create a class (A) with a variable WebBrowser (Windows Form). This class is...
View Articlecalling a method or function declared in mdi parent form in a child form?
Hi my name is vishal from India(Chennai). i am an amateur in c# with windows forms. i am in process of converting vb6 with ms access project to c# with sql server 2008. i do find at times difficult to...
View ArticleVisual Studio 2013 Control Toolbox
Hi,I have a project which contains many UserControls , some are created by Adding New Item ->User Control(1) in the Solution,some are created by Inheriting from other controls(2).I can see in the...
View ArticleAccessibility Name for Image in a TreeView
Hi, I'm using a TreeView with an ImageList, and have some nodes with ImageIndex inside the TreeView I want my screen reader (Jaws) to read an alternate text for those Images but I couldn't find an...
View ArticleC# File Previewer needed asap.
Hello fellow posters and readers, I've been searching for a good File Preview Control, but so far no goods for me :(I've been searching for ages.. Google is my best friend but not when it comes to...
View Articledatagrid and treelist binding
hie,I am using a tree list and a data grid..when i select a node in tree i want to display its data in data grid from data base.Can you help me with this.thank you.
View Articlehi I just Want to create an application Which has A Database Please Give Me...
hi I just Want to create an application Which has A Database Please Give Me advise how to add Database to the Project so when someone Install the application to client Computer no need to install Sql...
View ArticleGetting"Insufficient memory to continue the execution of the program."...
Hi,In my project, There is a requirement of writing ~1000 columns and ~5000 rows of data from datatable to excel sheet, using C#.When I convert all data from datatable to Object Array, and then try to...
View ArticleCreate New bitmap from Background image
Hi,I have found a piece of code that loads a single image and creates a new, resized bitmap to put it as a the Form1 background. The reason I don't simply use the stretch property is, this code...
View Articlemerge cells in datagridview in windows forms vb.net
Hi AllI need to merge cells both horizontally and vertically in datagridview in windows forms.Please can anyone help me .Thanx in advance
View ArticleProtect App.Config file or Encrypt
Hi, i have an application in windForm and IO want to encrypt the connection String. I use aspnet_regiis.exe -pef and all that staff. The problem is that I can´t migrate the App to others PC because the...
View ArticleBug in Message Compiler (MC.exe) when compiling Kernel Macro (-km) for an ETW...
I am working on an instrumentation manifest that returns events with fixed-length binary data (blobs). I have two events that return different-sized blobs, but MC.exe conflates them, rendering one of...
View ArticleTextBox print - multiple pages.
Hello. I have a problem with printing multiple pages in textBox in C#. I have no idea how to do this, tried e.HasMorePages but it still isn't working. Could you help me please? It's my code. private...
View ArticleHow to uncheck the checkboxlist after checking the box (asp.net vb.net)
Hi there i would like to uncheck the checkboxlist after choosing the boxes and saving them to database , literally these boxes will be disable .i also attached my code below , thanks in advancetable...
View Article