登录
首页 » C# » WebBrowser 模拟上传文件 实例

WebBrowser 模拟上传文件 实例

于 2013-04-19 发布
0 290
下载积分: 1 下载次数: 0

代码说明:

实现了模拟按键与选择文件等功能,详细实现见压缩包 对于IE7及以下,可以简单的利用SendKeys.SendWait方法设置input值,当然首先要将焦点集中在该控件上,利用HtmlElement的focus方法很容易做到。具体可以看后面的代码。但是对于IE8来说,它的安全性更高,具体参看文章http://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx。 对于IE8来说,file input只能模拟点击upload按钮,然后在弹出的对话框中输入文件名,然后点击确定。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • SGOS
    SGOS系统类似的源码,供大家学习参考。(SGOS system source code for all to learn reference.)
    2011-10-22 02:38:05下载
    积分:1
  • C#版封装的近400个Windows API 类 下载
    Windows API 类常用方法锦集
    2013-01-08下载
    积分:1
  • gc
    说明:  简单垃圾回收器本人以多次试用效果不错,请大家多提意见 (Simple garbage collector I would like to try the effect of a good many times, please do so everyone)
    2007-08-07 10:54:52下载
    积分:1
  • WebBrowser中元素赋值与模拟点击,实现模拟输入表单,并提交表单
    WebBrowser模拟操作功能实现
    2012-12-30下载
    积分:1
  • managedwinapi,封装好的windows API 含超牛句柄工具
    managedwinapi,封装好的windows API,超级实用
    2013-05-26下载
    积分:1
  • eXeScope650
    eXeScope650绿色注册版,修改DLL EXE文件!(eXeScope650 free registered version)
    2016-10-25 10:19:31下载
    积分:1
  • 读取二代身份信息并进行管理,调试通过
    读取二代身份信息并进行管理,调试通过
    2015-04-14下载
    积分:1
  • Power02
    读取电池电量,显示电量和剩余时间,根据电量的多少显示托盘,读写注册表,开机启动,新手程序,请多批评(Read battery, battery and remaining time display, display tray according to the amount of power, read and write registry, boot, novice program, like him to criticize)
    2011-08-11 14:10:26下载
    积分:1
  • 105
    仁脸识别是机器视觉和模式识别领域最富有挑战性的课题之一,同时也具有较为广泛的应用意义。人脸识别技术是一个非常活跃的研究领域,它覆盖了数字图像处理、模式识别、计算机视觉、神经网络、心理学、生理学、数学等诸多学科的内容(Ren-face recognition is the field of machine vision and pattern recognition, one of the most challenging issues, but also a wide range of applications has more significance. Face recognition technology is a very active research field, which covers the digital image processing, pattern recognition, computer vision, neural networks, psychology, physiology, mathematics and many other disciplines content)
    2008-12-11 16:17:33下载
    积分:1
  • Regedit
    vc 编辑注册表信息Regedit的程序源码,值得一看!(vc edit the registry Regedit program source code, worth a visit!)
    2011-07-01 22:03:37下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载