Using XmlTextWriter to write an Xml file using System; using System.Xml; using System.Text; public class MainClass { public static void Main(string [] arg) { ...
Intro: The PageCapturer utility is used to download Web pages programmatically and save them onto hard disk. File: PageCapturer.zip attached with this email. ...
// imports using System; using System.Net; using System.IO; using System.Text; // capture webpage by using HttpWebRequest class and Save into file. File is...
// import import System.Windows.Forms; // get clipboard data and if any then show in MessageBox // Retrieves the data from the clipboard. IDataObject iData =...
What are MSN Alerts? MSN Alerts Service is a part of Microsoft .NET My Services Initiative. It enables the service provider to reach its users through Instant ...
Example of the most Common Decimal Numeric Format. 'Insert Commas after each thousand , with specified number of decimal precision. '//////////////// Dim var...
You Can easily Customize the display for your date time. '///////////////////////////////// Dim mydate As DateTime = DateTime.Now Dim show_date As string ...
It is assumed that you have already placed these 2 controls on your winform: 1: TextBox (txt_data) 2: Button (btn_save) Now create an on_click method for...
In many cases you might have come acrooss the situation that IF Enter Key is pressed than do this. For Example, You want to take some Input from a user in a...
Asim
asimletters@...
Nov 29, 2002 1:19 am
17
A Typical Socket Server -Steps: 1: Create a TcpListener Object 2: Call Start Method of TcpListener Object (Now the server actually starts looking for any...
Asim
asimletters@...
Nov 23, 2002 1:14 am
16
Calling API to bring any window to the Foreground public class TopWindow { [DllImport("user32.dll")] public static extern IntPtr FindWindow(String winClass,...
The Article teaches how to create a web service and consuming it in an ASP.NET Page =========================================================== ' //// Code...
Asim
asimletters@...
Nov 20, 2002 10:28 am
14
Following piece of code establishes a socks based connection to any server (localhost in this case) as port 13, If at port 13 there is some socks listner...
Asim
asimletters@...
Nov 20, 2002 10:16 am
13
Running Following piece of code, opens a port number 13 on localhost, Starts listening the port,accepts any incoming connections (one only I think). After...
Asim
asimletters@...
Nov 20, 2002 10:08 am
12
Implement the OnItemCreated event for the datagrid. Then set System.Web.UI.WebControls.DataGridItemEventArgs.Item.Cells[<columnno>].W idth = <width> private...
using System; public class Caret { [System.Runtime.InteropServices.DllImport("user32.dll")] public extern static bool SetCaretBlinkTime(uint uMSeconds); ...
In the aspx file <asp:datagrid id="gridPub" runat="server" AutoGenerateColumns="False" OnSelectedIndexChanged="PubGrid_SelectedItemChange"> <SelectedItemStyle...
// previous email is changing the color of each cell // this one is about chaning the complete column color change see the ItemCreated event same database file...