CSharp

warning: Creating default object from empty value in /home/www/virtual/phaisarn.com/sun/htdocs/modules/taxonomy/taxonomy.pages.inc on line 33.

DrawString on Bitmap

DrawString on Bitmap
Bitmap myBitmap = new Bitmap(@"C:\Documents andSettings\Joe\Pics\myPic.bmp");
Graphics g = Graphics.FromImage(myBitmap);

WebBrowser.DrawToBitmap()

 
public partial class Form1 : Form
{
    WebBrowser wb = new WebBrowser();
    public Form1()
    {
        InitializeComponent();
        wb.Height = 100;
        wb.Width = 100;
        wb.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(wb_DocumentCompleted);
    }
 

Reading and Writing Text Files

using System;

The most complete C# Webbrowser wrapper control

The most complete C# Webbrowser wrapper control
http://www.codeproject.com/KB/miscctrl/csEXWB.aspx

Image Capture Whole Web Page using C#

Image Capture Whole Web Page using C#
http://www.codeproject.com/KB/graphics/IECapture.aspx
Capture Entire Web Page using VB.Net (ทำการ CapturePage ที่ยาวๆ ได้ทั้ง Page เลย)
http://www.codeproject.com/KB/vb/WebCapture.aspx
 
Screen Capturing

How to: Simulate Mouse and Keyboard Events in Code

 
How to: Simulate Mouse and Keyboard Events in Code
 
http://msdn.microsoft.com/en-us/library/ms171548.aspx
 
SendKeys.Send Method

Download HTML source in C#

Syndicate content