Posts tagged "application"

Generate Randon Machine Key in your ASP.NET Application

A machineKey generator allowing static keys in ASP.NET 1.1 or 2.0 applications. There are two keys that ASP.NET uses to encrypt, decrypt, and validate data in ViewState, Forms Authetication tickets, and out-of-process Session data. The decryptionKey is used for encryption and decryption of authentication tickets and encrypted ViewState information. The validationKey is used to validate ViewState and ensure it hasn’t been tampered with, and generate unique application-specific session IDs for out-of-process session storage.

Read More →

How to Develop Resolution Independent Windows Application in .NET

While developing a Windows based application in C#.net the Form size matters when your application is going to run on different different computers. Also the other computers system may have different different resolution. So we need to develop an application that can vary the form size according to the Resolution of the particular system. In this article I will tell you that how to fetch the Resolution of your computer system using C# code and then we will discuss that how can we set the size of the Form that can match the resolution size.

Read More →

How to customize the Dialog Box in C#.Net Window Application

Hello everyone, how to show a Dialog Box in C#.NET Window Application? Its very simple task because you just have to show the messagebox.Show() method. But some time we need to customize the dialog box according to our requirement. Today I will show you that how to customize the Dialog Box in C#.NET Window Application.
 
 
 

Read More →

How to use Timer Control to develop a Stop Watch Application in C#.NET

  • July 25, 2011 at 7:48 am

While developing Window Application in ASP.NET some time we need to use Timer Control for some specific purpose. The Timer control is mainly used to show your output in specific time intervals. Simply we can say that the Timer control is used in that applications where the developer used to show the output after some time intervals. This interval can be a second, a millisecond or else. Today, I will show you to use the Timer control to develop a Stop Watch Application. The Stop Watch is used in many applications now a days.

Read More →