-
大小: 2.16MB文件类型: .rar金币: 1下载: 0 次发布日期: 2023-09-12
- 语言: C/C++
- 标签: C#c# webbrowser
资源简介
最近为了研究老系统可用 IE,终于找到一个叫做 csExWB 的组件。csExWB 分两个部分,一个部分是用 VC6 写的COM 组件,实现了包括 IDownloadManager 在内的诸多借口;第二部分是用 CSharp 写的,是对 前面写的 COM 组件再做一次 .Net 封装。CSDN其他人的资源也下了两个,积分花了编译不了,这是从http://www.codeproject.com/ 下的,然后经过转换,vs2008 C# 绝对可用,我win7 x64 。
代码片段和文件信息
//************************************************************************************
// csEXWB control - The most complete C# Webbrowser control.
//
// Auther: MH
// Email: mehr13@hotmail.com
//
// Permission is hereby granted free of charge to any person obtaining a
// copy of this software and associated documentation files (the
// “Software“) to deal in the Software without restriction including
// without limitation the rights to use copy modify merge publish
// distribute and/or sell copies of the Software and to permit persons
// to whom the Software is furnished to do so.
//
// Although reasonable care has been taken to ensure the correctness of this
// implementation this code should never be used in
// any application without proper verification and testing.
//
// 05 June 2007 - version (1.0.0.3)
//
// Additions:
// Added an overload for public object Invokescript(IWebBrowser2 wb string scriptName object[] Data)
// Added AutomationTask_PerformEnterDataTextArea method to automate text entry into a TextArea element
// Added AutomationTask_PerformSubmitForm method to automate submission of a form
//
// BUG_FIXS:
// IDocHostShowUI.ShowMessage return value was incorrect
//
// 25 May 2007 - version (1.0.0.2)
// This is a big update as it introduces many new functionalities and possibilities
//
// ADDITIONS:
// Control:
// AutomationTask_PerformClickButton - Performs a click on a Button element with given name
// AutomationTask_PerformClicklink - Performs a click on a link element with given name
// AutomationTask_PerformEnterData - Enters a given string into an input element with given name
// AutomationTask_PerformSelectList - Selects a list item element with given list item value
// AutomationTask_PerformSelectRadio - Selects a radio or checkbox element with given radio or checkbox name
// GetElementsByName - Wrapper for IHTMLDocument3::getElementsByName
// Return values to methods such as GoBack GoForward... to indicate failure or success
// IHTMLElementEvents2 IHTMLDataTransfer Interfaces and cHTMLElementEvenets2 class to handle HTMLElementEvents2 of an HTMLElement. Used in frmHTMLEditor to demonstarte handling of internal drag drop of elements.
// An assembly file to mark the control as COM visible
// objectForscripting property. Allows javascript functions in an HTML page to call methods and properties of a an instance class passed to this property. Same as objectForscripting of C# Webbrowser wrapper control. An example of how to use this property has been provided in WinExternal class of frmMain
// SetAllowHTMLDialogs and GetAllowHTMLDialogs methods - Allow or disallow HTML dialogs launched using showModelessDialog() and showModalDialog() methods using CBT Window Hook.
// Documenttitle property
// DocumentSource property
// DownloadImages property
// DownloadSounds property
// DownloadVideo property
// Down
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 178 2006-12-06 00:01 csEXWB\csExWB\ActionPage.htm
文件 210238 2007-06-05 09:07 csEXWB\csExWB\Backup\csExWB\cEXWB.cs
文件 3224 2007-06-04 07:33 csEXWB\csExWB\Backup\csExWB\csExWB.csproj
文件 168 2006-03-25 07:34 csEXWB\csExWB\Backup\csExWB\csExWB.csproj.user
文件 55147 2007-05-22 16:45 csEXWB\csExWB\Backup\csExWB\Enums.cs
文件 30391 2007-05-11 07:38 csEXWB\csExWB\Backup\csExWB\Events.cs
文件 238649 2007-06-04 20:30 csEXWB\csExWB\Backup\csExWB\GeneralClasses.cs
文件 70248 2007-06-05 07:22 csEXWB\csExWB\Backup\csExWB\GeneralInterfaces.cs
文件 29632 2007-04-03 15:51 csEXWB\csExWB\Backup\csExWB\HTMLEvents.cs
文件 381427 2007-06-05 07:40 csEXWB\csExWB\Backup\csExWB\HTMLInterfaces.cs
文件 27663 2006-12-06 18:35 csEXWB\csExWB\Backup\csExWB\OleInterfaces.cs
文件 1307 2007-06-03 07:12 csEXWB\csExWB\Backup\csExWB\Properties\AssemblyInfo.cs
文件 14348 2007-01-04 08:05 csEXWB\csExWB\Backup\csExWB\Structs.cs
文件 1382 2007-06-05 09:01 csEXWB\csExWB\Backup\csExWB.sln
文件 7916 2007-05-30 09:32 csEXWB\csExWB\Backup\DemoApp\AllForms.cs
文件 5987 2007-03-07 16:44 csEXWB\csExWB\Backup\DemoApp\app.config
文件 1718 2006-12-21 20:18 csEXWB\csExWB\Backup\DemoApp\App.ICO
文件 25045 2007-05-16 07:27 csEXWB\csExWB\Backup\DemoApp\CustomComboBox.cs
文件 35739 2007-05-16 07:20 csEXWB\csExWB\Backup\DemoApp\CustomSplitter.cs
文件 10300 2007-05-31 11:34 csEXWB\csExWB\Backup\DemoApp\DemoApp.csproj
文件 538 2006-12-21 20:19 csEXWB\csExWB\Backup\DemoApp\DemoApp.csproj.user
文件 4769 2007-01-11 10:56 csEXWB\csExWB\Backup\DemoApp\frmAbout.cs
文件 10452 2007-01-11 10:56 csEXWB\csExWB\Backup\DemoApp\frmAbout.Designer.cs
文件 49720 2007-01-11 10:56 csEXWB\csExWB\Backup\DemoApp\frmAbout.resx
文件 2329 2007-01-06 12:18 csEXWB\csExWB\Backup\DemoApp\frmAuthenticate.cs
文件 6180 2007-01-03 20:20 csEXWB\csExWB\Backup\DemoApp\frmAuthenticate.Designer.cs
文件 5814 2007-01-03 20:20 csEXWB\csExWB\Backup\DemoApp\frmAuthenticate.resx
文件 8079 2007-02-26 16:58 csEXWB\csExWB\Backup\DemoApp\frmCacheCookie.cs
文件 8288 2006-12-27 10:53 csEXWB\csExWB\Backup\DemoApp\frmCacheCookie.Designer.cs
文件 9659 2006-12-27 10:46 csEXWB\csExWB\Backup\DemoApp\frmCacheCookie.resx
............此处省略308个文件信息
- 上一篇:国密SM9算法测试工具
- 下一篇:window下使用protobuf
评论
共有 条评论