Skip to content
C Sharpens
  • Home
  • About Us
  • Contact Us
  • Learn C# Online
  • Privacy Policy

Tricks

Copy or Paste Text to Clipboard in C#

April 20, 2016 by Sajjad Arif Gul
This C# tutorial is explaining about how to Paste text or data from Clipboard & How to copy text or data to Clipboard. You can also check the active data or text on clipboard in this Csharp example program. Here is the source code with explanation of it.

Read more

Categories C#, Source Codes Tags Solutions, Tricks, Windows Form Application 3 Comments

How to change color of images in C# Application

April 3, 2016 by Sajjad Arif Gul
This C# Tutorial explains "How to edit any image or picture in C#?". This application will change Image colors by using System.Drawing.Imaging; Library. Apply general color tones to an image in this application. You can Download this application with its visual studio files.

Read more

Categories C#, Projects, Source Codes Tags Tricks, Windows Form Application 5 Comments

How to get Device Geo-location in C#

March 10, 2016 by Sajjad Arif Gul
How to get Device Location in C# with Longitude & Latitude in C#. This C# tutorial is about getting location of the user in C#.NET using GeoPositionStatus.

Read more

Categories C#, Source Codes Tags Download, Tricks, Windows Form Application 11 Comments

How to add DLL to GAC (Global Assembly Cache) in Projects

February 28, 2016 by Sajjad Arif Gul
This C# tutorial will let you go through the steps of adding a Class Library , DLL to your own program or add it to the Global Assembly cache in Windows Assembly folder. DLL stands for Dynamic Link Library.

Read more

Categories Articles, C#, Source Codes Tags DLLs, Tricks

Drawing Text on Windows Form Application in C#

February 14, 2016 by Sajjad Arif Gul
This C# tutorial is about drawing text on windows form using graphics in C#.Net programming language. Easiest example with complete source code in visual studio.

Read more

Categories C#, Projects, Source Codes Tags Download, Tricks, Windows Form Application

Convert number into text in C# Program

February 1, 2016 by Sajjad Arif Gul

One of my friend asked me to make a easy tutorial program which can convert Numeric Number into alphabetic words in C# language on windows form application & not use builtin methods but create your own methods from Scratch. So this program is doing this work. I google for it & come to a solution … Read more

Categories C#, Projects, Source Codes Tags Tricks, Windows Form Application

How to get drive Name and Size in C# program

January 26, 2016 by Sajjad Arif Gul
This C# tutorial is about getting Hard Disk's File system information including Volume Name, Serial Number, Maximum hard disk Size & Flags of HDD using C#.

Read more

Categories C#, Projects, Source Codes Tags Download, Tricks, Windows Form Application 1 Comment

How to reference two forms with each other in C#

January 11, 2016 by Sajjad Arif Gul
This C# Example in Windows Form Application Program shows how to reference form2 in other form1. This C# tutorial is easy to Understand. Referencing in C# programming. How to show form1 on clicking on button on form2 using referencing.

Read more

Categories C#, Source Codes Tags How To, Tricks, Windows Form Application

How to use Windows Registry in C#

January 3, 2016 by Sajjad Arif Gul
This article is about using Windows Registry functions in C#.Net application. Today I learned some basic functions of registry in Visual Programming Lab. In this example we will learn how to store a value in registry. This example will save the current Height & Width of windows form at Form1_FormClosing event.

Read more

Categories C#, Projects, Source Codes Tags How To, Tricks

Exception Handling in C#

December 28, 2015 by Sajjad Arif Gul

Error Handling has always been crucial for an application in a number of ways. It may affect the execution state of the application, or expose sensitive information to a user.If the error handling is not strong,it may aid the attacker, as the errors returned may assist them in constructing correct attack factors.

Read more

Categories Articles, C#, Source Codes Tags How To, Tricks 2 Comments
Post navigation
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 Next →
© 2023 C Sharpens • Built with GeneratePress