All about Programming and Sourcecode

All posts in Windows Forms

Popular Code Guidelines or Standard Documents for .NET Developers Top Tools to Convert HTML to PDF in .NET Benefits for the Developers Mentoring Junior Developers 4 Best Practices for ASP.NET MVC Application When developing a Windows Application in VB.NET, there are times when you want to make your application as Read more

Below is a sample code snippet demonstrating in simple steps on how to retrieve the IP address in the Winforms or Console APPLICATION using c#. How to Get the IP address in Winforms/Console Application using C#? using System; using System.Collections.Generic; using System.Data; using System.DirectoryServices.AccountManagement; using System.IO; using System.Linq; using System.Net; Read more

The Winforms or the Console Application developed in .NET can be made to run in the Administrator mode once the application is installed on client machine. You can do this by setting the requestedExecutionLevel to the requireAdministrator mode in the application manifest file. How to force the .NET Winforms Application Read more

When a new Windows Forms Project is created , you would see the sourcecode similar to the below sample in the Program.cs using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace WindowsFormsApplication1 { static class Program { [STAThread] static void Main() { Application.Run(new Form1()); } } } What does the Read more