Code to get computer name in vb.net

Public Function GetComputerName() As String

Return System.Environment.MachineName


End Function

Processing Time for an acitivity in vb.net

Below code is used to get the total time taken to do any opertions in vb.net

Imports System.Diagnostics


Sub GetProcessTime()

  Dim TimeWa..

generate a random file name in csharp

To generate random file name below code is used in csharp by simply used a function:-

string randomfileName = Path.GetRandomFileName();


Console.WriteLin..

New elements in HTML5

Article, Aside, Figure, Figurecaption, Header, Hgroup, Mark, Nav, Section, Time

Types of documents in WPF

WPF has three types of document:-

(1)Flow documents


(2)Fixed documents

(3)XML Paper Specification (XPS)


Whats new in Text and Typography in WPF

WPF offers the following features:-

(1)OpenType font support.


(2)ClearType enhancements.

(3)High performance that takes advantage of hardware accel..