Category Archives: Windows

Cross-Thread Manipulation of Windows Forms Controls

November 5th, 2019
Posted in Windows | No Comments

System.InvalidOperationException: Cross-thread operation not valid. Control “textBox1” accessed from a thread other than the thread it was created on. The above exception was encountered while placing a function call with long execution time on a separate thread and having that thread update a TextBox with status updates. The issue arises, because “access to Windows Forms […]

gpupdate: Refreshes Group Policies Settings

October 1st, 2008
Posted in Windows | No Comments

Microsoft TechNet elaborates on the description of the program, stating that gpupdate “refreshes local and Active Directory-based Group Policy settings, including security settings.” This command line utility is useful when updating group policies in an Active Directory environment and immediately checking that modification’s effects.

Creating COM Components using Visual C#.NET

October 8th, 2005
Posted in Windows | 46 Comments

Developers are sometimes asked to support older software systems that utilize obsolete technologies. This may be difficult when the development tools used to implement the older software system are not available and have been replaced by newer tools that do not seem to support the former tools’ technologies. Faced with the need to replace a […]