c# How do I allow users to tab past required bound fields?
I have a form with fields that are data-bound to an Access DB table. I have come across a problem in giving the user freedom of movement within the form when one of the fields is required. Specifically...
View ArticleWhy do you need to hard code a reference to a parent form from a child form?
Here is a simple example:I have two forms. Form 1 and Form 2. Form 2 is opened by pressing a button on form 1. Form 1 also contains a method that might be called by form 2. So you usually pass a...
View ArticleDifference between messagebox & sleep when using...
I'm making some simple web crawler for specific website. (that site is not mine.)It's behavior is navigate page by using System.Windows.Forms.WebBrowser. and documentcompleted event listener find...
View ArticleHow to show control access keys on ALT key press like winword in C# windows form
Dear all I have windows application, it has 4 picture box, i want to access them without mouse, (want to make software mouse free)i want to show control access keys on ALT key press like winword in...
View Articlehow to create a setup for window form application including the related sql...
i have created a simple window form application project that have only 2 form..1st one for login in which it'll check the userid n password from database.if both are correct then it will go to 2nd...
View ArticleAccessing methods on a parent form from a new form where the parents can be...
I have an application that in the main program will run one of two forms (Form_A or Form_B) depending on a certain parameter. Form_A and Form_B each have a public method, method_doSomething....
View ArticleCreating an editable properties window
HeyI am a games developer and I want to create a properties window to edit an object’s values within a win32 application.I have basic experience of creating buttons etc via C++ but I am aware from my...
View ArticleC# comboBox_SelectionChanged
I want to display those values in the textbox when the comboBox_SelectionChanged is activated: private void comboBox1_SelectionChanged(object sender, SelectionChangedEventArgs e) {...
View ArticleProgrammically added tablelayout panel...Events
Programmically added tablelayout panel...Events:How to I use the events of a programmatically added tablelayout control? Thanks for the help!Mike
View ArticleEditing data on a table from a different form in C#
I have a table for contact details ( made using in VS using C# 2010)I want to have the table displayed in the form (called form1 for the purpose of the question), with various buttons (add new, edit,...
View ArticlePrinter problem after 8.1 download
I cannot print. I thought it was a compatibility problem so I went out and bougth a new printer.It will not add it.I keep getting a box pop up that says "Print Spooler Service Has Been Stopped". I...
View Articledisplay image from the internet in a PictureBox (C#)
Hi all. Im trying to display images from the web into a picturebox control. when the form loads, i'd like for the pictureBox control to read a URL from a textbox control and load the image. i found the...
View Articlehow to create menu bar in tab style ?
i want to create menu bar like the above image in winform using C# ( not WPF ) ?regardsAR
View ArticleHow can I fade a label in c#?
I found this http://social.msdn.microsoft.com/Forums/windows/en-US/ded003e3-ab35-4c23-b645-af7f82df57f0/fade-the-text-in-a-label?forum=winforms but I cannot figure out how to use it, or if it's...
View ArticleWindows Defender
Hello,I have Windows 7I recently installed: Definition Update for Windows Defender - KB915597 (Definition 1.165.262.0 and 1.165.32.0)Ever since, my computer has been lagging terribly. I thought it was...
View Articlehow to convert byte array to bitmap in c#
is it possible to convert byte array to bitmap in c#regardsALGATES
View Articlemethod inside the button click
class Auto { public int RegNumber; public string ModelName; public void dispaly() { } }private void btnok_Click(object sender, RoutedEventArgs e) { //Object creating using " new " Keyword Auto AutoTest...
View Articlechange font family of auto complate list in combobox where AutoCompleteSource...
this.comboBox1 = new System.Windows.Forms.ComboBox(); this.comboBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.comboBox1.AutoCompleteSource =...
View ArticleVisual Studio is very slow on my specific project.
Hi, I'm currently working on a windows Forms project for my school. At, school, on an average PC the project runs fine and quick without any freezes or problems. On my computer, which is much better...
View ArticleHow to count all the digits of a number even if the first one is 0?
I have a number, such as: 12655. Of course its length is 5, but if it has 0 instead of 1, (02655), its length becomes 4... Why?!What should I do?
View Article