Abundant Code

  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • F#
  • JavaScript
  • ASP.NET
  • C
  • Java
  • SQL Server
  • Assembly Lang
Home ยป Windows Forms

How to Debug a Windows Service written in C# ?

June 8, 2015 by AbundantCode Leave a Comment

Debugging a Windows Service is one of the difficult thing to do when working on developing a Windows Service project in Visual Studio .

One of the method to do the debugging is to attach the debugger to the thread …

Filed Under: Windows Forms Tagged With: debug, How to, Visual Studio, Windows Service

How to allow the user to pick Color from System Color Picker in Winforms Application ?

June 30, 2014 by AbundantCode Leave a Comment

There are times when you might need to provide the user with the ability to pick the colours within your Windows application . You can use the ColorDialog class which is a built-in color picker which lets the users to …

Filed Under: Windows Forms Tagged With: C#, Color Picker, How to, Winforms, WPF

How to allow the user to browse for directories in Winforms App using C# ?

June 28, 2014 by AbundantCode Leave a Comment

There are times when you want to allow the user to browse for files and select one in your Windows Application .

The Winforms provides the FolderBrowserDialog class which can be used to select a file interactively.

How to allow

…

Filed Under: Windows Forms Tagged With: C#, How to, Winforms

How to Make Single Instance Application for VB.NET Application in Visual Studio 2012?

January 22, 2014 by AbundantCode Leave a Comment

When developing a Windows Application in VB.NET, there are times when you want to make your application as single instance application. You can do that easily with just few steps in your VB.NET project.

How to Make Single Instance Application

…

Filed Under: Windows Forms Tagged With: Application, How to, Single Instance, VB.NET, Visual Studio 2012

How to Enable or Disable Visual Styles in your VB.NET Winforms Application?

January 22, 2014 by AbundantCode Leave a Comment

You can enable or Disable the Visual Styles in your VB.NET Winforms Application by following the below steps.

How to Enable or Disable Visual Styles in your VB.NET Winforms Application?

1. Launch Visual Studio 2013 and Open your VB.NET Project.…

Filed Under: Windows Forms Tagged With: Application, disable, enable, How to, VB.NET, Visual Styles, Winforms

How to allow only numbers in a textbox in C# Windows Application ?

December 30, 2013 by AbundantCode Leave a Comment

Want to allow the user to enter only numbers or integer values in a textbox in a C# Winforms Application ? . Below is a sample code snippet that demonstrates how to do it .

How to allow only numbers

…

Filed Under: Windows Forms Tagged With: Application, C#, How to, numbers, textbox, Windows

How to Get the IP address in Winforms/Console Application using C#?

October 14, 2013 by AbundantCode 1 Comment

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;

…

Filed Under: Windows Forms Tagged With: Application, C#, Console, IP address, Winforms

How to force the .NET Winforms Application to run as Administrator in Windows 8?

October 13, 2013 by AbundantCode Leave a Comment

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 …

Filed Under: Windows Forms Tagged With: Administrator, Application, Windows 8, Winforms

Application.Run in Windows Forms Application

July 26, 2012 by AbundantCode Leave a Comment

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 
…

Filed Under: Windows Forms Tagged With: Application, Application.Run, Windows Forms

RSS
Facebook
fb-share-icon
Twitter
Visit Us
Follow Me
Tweet

Recent Posts

  • InvalidModuleDescriptorException when running java program in Eclipse IDE
  • Python Program to Check Armstrong Number
  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table

Categories

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML

Blog Stats

  • 8,747,439 hits

Archives

Top Posts & Pages

  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to Allow only numeric input in a Textbox in WPF ?
  • How to Quickly Delete All Rows in a Table in Entity Framework?
  • C Program to display half-pyramid using alphabets
  • How to open display settings from command line in Windows 10 ?
  • How to Calculate MD5 checksum for a file in C# ?
  • How to Extract number from a string using C# ?
  • How to clean up unused PowerPoint master slides in PowerPoint?
  • System Software - SIC/XE Program to divide BETA by GAMMA and set quotient and remainder
  • How to get the Relative Server Path in ASP.NET Web API ?

Categories

  • Android
  • Angular 2
  • ASP.NET
  • Assembly Language
  • C
  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • Excel
  • F#
  • HTML
  • Interview Questions
  • Java
  • JavaScript
  • jQuery
  • Microsoft Office
  • MySQL
  • NETWORK
  • News
  • PHP
  • popular
  • PowerShell
  • Python
  • Ruby
  • SharePoint
  • SQL Server
  • SQL Server
  • Unix
  • VB.NET
  • Visual Studio
  • WebAPI
  • Windows
  • Windows Azure
  • Windows Forms
  • XAML

Top Posts & Pages

  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to Allow only numeric input in a Textbox in WPF ?
  • How to Quickly Delete All Rows in a Table in Entity Framework?
  • C Program to display half-pyramid using alphabets
  • How to open display settings from command line in Windows 10 ?
  • How to Calculate MD5 checksum for a file in C# ?
  • How to Extract number from a string using C# ?
  • How to clean up unused PowerPoint master slides in PowerPoint?
  • System Software - SIC/XE Program to divide BETA by GAMMA and set quotient and remainder
  • How to get the Relative Server Path in ASP.NET Web API ?

Recent Posts

  • InvalidModuleDescriptorException when running java program in Eclipse IDE
  • Python Program to Check Armstrong Number
  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table
  • Python Program to Find the Factorial of a Number
  • Python Program to Print Prime Numbers in a Given Interval
  • Python Program to Check Prime Number
  • Python Program to Find the Largest Value Among Three Numbers
  • Python Program to Check If a Given Year is Leap Year

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML