c#控制IE浏览器自动点击等事件WebBrowser,mshtml.IHTMLDocument2
    
            
摘要:可以实现例如通过应用程序操作google搜索,用户输入要搜索的内容,然后在google中搜索;可以自动点击网页上的按钮等功能 1. 加入对Microsoft Internet Controls的引用; 2. 加入对Microsoft HTML Object Library的引用;(要引入Microsoft.mshtml.dll 地址是C:\Program Files\Microsoft.NET\Primary Interop Assemblies) 3. 通过mshtml.IHTMLDocument2、SHDocVw.InternetExplorer、SHDocVw.ShellWindowsC
        
阅读全文
 
            
                posted @ 
2012-11-21 11:12 
努力实现目标
        
阅读(9481) 
         
        推荐(1)     
             
         
            
            
    在WebBrowser控件中获取鼠标在网页(不是浏览器窗口)上点击的位置,
    
            
摘要:在WebBrowser控件中获取鼠标在网页(不是浏览器窗口)上点击的位置,只有代码了,没有讲解: 首先要引用(要引入Microsoft.mshtml.dll 地址是C:\Program Files\Microsoft.NET\Primary Interop Assemblies) privatevoidwebBrowser1_DocumentCompleted(objectsender,WebBrowserDocumentCompletedEventArgse) { webBrowser1.Document.MouseDown +=newHtmlElementEventHandler(Do..
        
阅读全文
 
            
                posted @ 
2012-11-21 11:12 
努力实现目标
        
阅读(591) 
         
        推荐(0)     
             
         
            
            
    WebBrowser自动点击链接 广告自动点击 Ads Auto Click
    
            
摘要:点击付费广告, 是目前比较流行的一种网络营销模式, 但是,如果你单纯的靠手工一个一个去点, 总觉得不划算  , 能不能实现自动的去点击呢? 答案是肯定的.NET 里面的 WebBrowser, 可以满足我们的要求如果你利用本文的思路,去做赚Money的事情,后果自负 (不过,目前这种事情已经不好做了,各付费网站都采取了应对措施,呵呵,魔高一尺,道高一丈,实现还是可行的,具体就靠大家自己去发挥了)下...
        
阅读全文
 
            
                posted @ 
2010-02-24 21:07 
努力实现目标
        
阅读(2654) 
         
        推荐(0)     
             
         
            
            
    VS2005中使用webBrowser控件实现自动登录Gmail邮件的实例
    
            
摘要:这是一个小实现,可以实现自动登录Gmail邮箱。使用VS2005 C#新建一个 Windows应用程序,在Form1窗体上添加一个webBrowser控件,编写如下代码,就可以实现:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Draw...
        
阅读全文
 
            
                posted @ 
2010-02-04 15:52 
努力实现目标
        
阅读(1243) 
         
        推荐(0)     
             
         
            
            
    C# 网页信息采集(Form.cs)
    
            
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Web;using System.Net;using Sy...
        
阅读全文
 
            
                posted @ 
2010-01-26 14:48 
努力实现目标
        
阅读(2035) 
         
        推荐(0)     
             
         
            
            
    C# 网页信息采集(数据访问)
    
            
摘要:using System;using System.Collections;using System.Collections.Specialized;using System.Data;using System.Data.SqlClient;using System.Configuration;namespace WebBee{ /// <summary> /// Copyright ...
        
阅读全文
 
            
                posted @ 
2010-01-26 14:46 
努力实现目标
        
阅读(1325) 
         
        推荐(0)     
             
         
            
            
    c#采集网页用得几个函数 有解释
    
            
摘要:public string GetHtmlSource(string Url, string charset) //得到Html源代码  { if (charset == "" || charset == null) charset = "gb2312"; string text1 = ""; try { HttpWebRequest request1 = (HttpWebRequest)WebR...
        
阅读全文
 
            
                posted @ 
2010-01-26 14:45 
努力实现目标
        
阅读(572) 
         
        推荐(0)     
             
         
            
            
    C#收集网页中的EMail实现源码
    
            
摘要:C#收集网页中的EMail实现源码:  //CAll private void GetAllURL(string urlStr) { new Thread(new ParameterizedThreadStart(GetEmailAddress)).Start(urlStr);  ... //处理页面中的Link  } /**//// <summary> /// 提取网页中的Eamil...
        
阅读全文
 
            
                posted @ 
2010-01-26 14:44 
努力实现目标
        
阅读(564) 
         
        推荐(1)