Uncategorized
Get Host by IP adress
Get Host by IP adress
string IPAdress = “127.0.0.1″;
IPHostEntry IPHostEntryObject = Dns.GetHostEntry(IPAdress);
Console.WriteLine(IPHostEntryObject.HostName)
Make C# Application Wait Amount of Time
Stalling for Time
C#.Net programs sometimes need to wait a certain amount of time before carrying out the rest of the code. For example, an application that reminds users every 15 minutes to do something has to stall for 15 minutes.
While you can do time-measuring algorithms in C# with the Timer class, let’s try to [...]
Optimizing C# Application
Optimizing C# Application
7 Ways To Optimize C# Code
Code optimization is an important aspect of writing an efficient C# application. The following tips will help you increase the speed and efficiency of your C# code and applications.
1. Knowing when to use StringBuilder
You must have heard before that a StringBuilder object is much faster at appending [...]
C# Unique Hardware ID
C# Unique Hardware ID
Obtaining the Computer’s Unique ID
Each computer has certain hardware pieces that carry serial numbers. Using these serial numbers it is possible to obtain a hardware ID in C# that is unique to a certain computer only.
Keep in mind there are some serial numbers that are not true hardware serials, as in they [...]
Read Full Post | Make a Comment ( None so far )Website ScreenShot ( Website Thumbnail)
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Windows.Forms;
using System.Drawing;
using System.Drawing.Imaging;
using System.Threading;
using System.Windows.Forms;
public partial class snapshot : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string url = ((string.IsNullOrEmpty(Request.Params["site"])) ? “www.microsoft.com”:Request.Params["site"]);
int width = ((string.IsNullOrEmpty(Request.Params["width"])) ? 200 : int.Parse(Request.Params["width"]));
int height = ((string.IsNullOrEmpty(Request.Params["height"])) ? 140 : [...]
Hello world!
Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
Read Full Post | Make a Comment ( 1 so far )DHTML ToolTip with Calendar Control
Introduction:
In one of my previous articles I talked about how you can effectively use DHTML with Asp.net to make cool tooltip. In this article I will show how you can use the same DHTML tooltip with the calendar control.
Getting Started:
The first thing you need to do is to download the DHTML [...]


