[HowTo] Display a separator on the status strip in a winform
Separator On Status Strip
Could not load file or assembly ‘xxx.yyy’ or one of its dependencies…
Annoying message … if any… Could not load file or assembly ‘xxx.yyy’ or one of its dependencies. An attempt was made to load a program with an incorrect format. or in French : Impossible de charger le fichier ou l’assembly ‘xxx.yyy’ ou une de ses dépendances. Tentative de chargement d’un programme de format incorrect. Problem […]
[HowTo] C# Hide TitleBar on MDI Child windows when maximized
1) All childs WindowState must be set to Normal 2) Show() method must becalled rather than Focus() . 3) The Big One: Parent windows MainMenuStrip must be set (put something like this.MainMenuStrip = new MenuStrip(); in the mdi form_load event). Source
Clean up Winsxs on Windows 7/2008 R2 after SP1 install
Run (as administrator) the command prompt and type : dism /online /cleanup-image /spsuperseded The worst offender was the Winsxs directory. To read more about what Winsxs actually does, go here. More : @Happy SysAdmin @Alan’s sysadmin Blog
Winforms Textbox Autocomplete in c# using Linq
xyzDataContext dc = new xyzDataContext(); AutoCompleteStringCollection namesCollection = new AutoCompleteStringCollection(); var query = from c in dc.Clients select c.Company; foreach (String comp in query) { namesCollection.Add(comp); } tBoxCompany.AutoCompleteSource = AutoCompleteSource.CustomSource; tBoxCompany.AutoCompleteMode = AutoCompleteMode.SuggestAppend; tBoxCompany.AutoCompleteCustomSource = namesCollection; Result => AutoCompleteMode accept thoose values : External link : AutoComplete TextBox In WinForms AutoComplete TextBox in C#