Welcome![Sign In][Sign Up]
Location:
Search - idispatch

Search list

[CSharpcomp9.net

Description: COM 组件设计与应用(十)——IDispatch 接口 for VC.NET -COM Design and Application (10) -- IDispatch interface for VC.
Platform: | Size: 42166 | Author: lq | Hits:

[ActiveX/DCOM/ATLcomtut11src

Description: 介绍两种方法来写自动化(IDispatch)接口的组件程序,一是用 MFC 方式编写“纯粹”的 IDispatch 接口;二是用 ATL 方式编写“双接口”的组件。这一回将讨论IDispatch 接口和双接口...... 使用者要想调用普通的 COM 组件功能,必须要加载这个组件的类型库(Type library)文件 tlb(比如在 VC 中使用 #import)。-introduces two ways to write automation (IDispatch) interface components procedures with MFC First approach to the preparation of "pure" IDispatch interface; Two methods are used to prepare ATL "dual interface" components.IDispatch ...... COM (Type library) tlb( VC #import)
Platform: | Size: 253927 | Author: 冷寒 | Hits:

[WinSock-NDISMIDAS

Description: 特徵: 1.在客戶端使用IDispatch使appserver可以作为接口使用.可以有代碼輸入提示啦,哈哈 2.支援服務器廣播,由服務器觸發客戶端事件.(callback). 實現過程: 1.在服务器的TLB里面定义一个ICLIENT,在客户端应用程序实现ICLIENT的接口. 2.APPSERVER定义一个注册ICLIENT到服务器的方法,在服务器的需要的时候调用ICLIENT.即可以反映到客戶端 -Feature : 1. The client uses to make appserver IDispatch interface can be used. Code can be input prompts -- catheterization, 2. Broadcasting server support, client server trigger events. (Callback). Implementation process : 1. The server inside the TLB definition a ICLIENT the client application program interface ICLIENT. 2.APPSERVER definition of a registered ICLIENT server, the server needs of the call ICLIENT. that is reflected to the client
Platform: | Size: 798909 | Author: wb | Hits:

[ActiveX/DCOM/ATLcomp9

Description: COM组件设计与应用IDispatch 接口 for vc6.0-COM Design and Application IDispatch interface for vc6.0
Platform: | Size: 104587 | Author: ss | Hits:

[ActiveX/DCOM/ATLcomtut11src111

Description: COM 组件设计与应用IDispatch 及双接口的调用 -COM Design and Application IDispatch interface and dual call
Platform: | Size: 253927 | Author: ss | Hits:

[Internet-NetworkIE4SinkDemo

Description: unit Cweb2 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls, SHDocVw, StdCtrls, ActiveX type TForm1 = class(TForm) WebBrowser1: TWebBrowser procedure FormCreate(Sender: TObject) procedure WebBrowser1DocumentComplete(Sender: TObject const pDisp: IDispatch var URL: OleVariant) procedure DemoEventSink(Sender: TObject) private public { Public declarations } end var Form1: TForm1 implementation {$R *.dfm} uses MSHTML, IEDocHostUIHandler, IEConst, DHTMLEvent,comobj var FDocHostUIHandler: TDocHostUIHandler //为屏蔽右键菜单 Doc : IHTMLDocument2 Element : IHTMLElement EventSink: TDHTMLEvent procedure TForm1.FormCreate(Sender: TObject) begin FDocHostUIHandler := TDocHostUIHandler.Create //为屏蔽右键菜单 EventSink := TDHTMLEvent.Create WebBrowser1.Navigate(GetCurrentDir + \\index.htm ) end procedure TForm1.DemoEventSink(Sender: TObject) Var S:String -unit Cweb2 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls. SHDocVw, StdCtrls. ActiveX type TForm1 = class (TForm) WebBrowser 1 : TWebBrowser procedure FormCreate (Sender : TObject) procedure WebBrowser1DocumentComp lete (Sender : TObject const pDisp : IDispatch var URL : OleVariant) procedure DemoEventSink (Sender : TObject) private public (Public declaration s) var end Form1 : TForm1 implementation ($ R *. dfm) uses MSHTML , IEDocHostUIHandler, IEConst, DHTMLEven t, comobj var FDocHostUIHandler : TDocHostUIHandler / / right-click menu for shielding Doc : IHTMLDocument2 Element : IHTMLElement EventSink : TDHTMLEvent procedure TForm1.FormCreate ( Sender : TObject) begin FDocHostUIHandler : = TDocHostUIHandler.Create / / right-clic
Platform: | Size: 19867 | Author: sbl | Hits:

[CommunicationJSCalls_src

Description: c# class examples bool CWebPage::GetJScript(CComPtr<IDispatch>& spDisp)
Platform: | Size: 2989 | Author: wang | Hits:

[ActiveX/DCOM/ATLdyn_IDispatch_src

Description: 动态创建IDispatch接口 ,这个功能好,可以动态创建自己的COM组件
Platform: | Size: 7704 | Author: 王志强 | Hits:

[ADO-ODBCADO操作ACESS

Description: 直接通过ADO操作Access数据库 ADO(Active Data Object,活动数据对象)实际上是一种基于COM(组件对象模型)中的自动化接口(IDispatch)技术,并以OLE DB(对象连接和镶入的数据库)为基础,经过OLE DB精心包装后的数据库访问技术,利用它可以快速的创建数据库应用程序。-ADOAccess ADO(Active Data Object)COM()(IDispatch)OLE DB()OLE DB carefully packaged database access technology, use it to quickly create database applications.
Platform: | Size: 110470 | Author: 明远 | Hits:

[Browser ClientIE嵌入开发

Description: IE工具栏扩展 就是如何使IE扩展组件可以响应事件。 在自己的程序中使用过WebBrowser控件的朋友都知道,WebBrowser控件定义了诸如BeforeNavigate、DownloadComplete 等事件,我们可以通过编写事件处理代码实现对WebBrowser控件的操作。那么如何实现对IE的事件响应和处理呢?同建立IE面板一样。我们需要建立一个实现IObjectWithSite接口的COM组件,不同的是,我们还需要实现IDispatch接口,在IObjectWithSite接口的SetSite方法中获得IE的WebBrowser接口并建立自身与WebBrowser的连接,然后如果在IE的Webbrowser对象中发生什么事件的话,那么IE就会回调连接的IDispatch接口的Invoke方法。我们通过在Invoke方法中编写代码就可以获得IE事件了。这个利用的是COM编程的回调接口原理。-IE toolbar expansion is how to make IE components can be extended to respond incident. In their own procedures used WebBrowser Control friends all know, WebBrowser control such as the definition BeforeNavigate, DownloadComplete incidents, we can handle the matter through the preparation of code to achieve WebBrowser control operation. So how to achieve the right IE incident response and handling? IE with the establishment of the same panel. We need to build an interface to achieve IObjectWithSite COM different is, we also need to implement the IDispatch interface, the interface SetSite IObjectWithSite method was IE WebBrowser interface and establish their own connections with the WebBrowser, then if the IE object pda.en.wapedia.org what happens incident, then IE the pullback would IDispatc
Platform: | Size: 148373 | Author: 好的 | Hits:

[xml-soap-webservicenetmatters040616380

Description: 1、我想从某个方法中使用该方法的 XML 说明文档,这可能吗?... 2、我想在运行时访问一个 COM 组件,但我没有对应的 interop 程序集。我还能使用它吗?我曾考虑在需要时动态生成一个程序集,但这 样做似乎有些过度。问题是我正在编写一个.NET的通用工具类,在编译时不知道该 COM 组件的 ProgID。而这个组件实现了 IDispatch 接口。-one, I think from a certain method to use the methods of XML documentation, which could? ... Two, I want to run a visit to COM, but I have no response to the procedures set interop. I still use it? I have to consider the need to create a dynamic collection procedures, but it seemed to some excessive. The problem is I was preparing one.NET common tools category, the compiler does not know when the COM the ProgID. While the components to achieve the IDispatch interface.
Platform: | Size: 133465 | Author: 萧鹏 | Hits:

[DocumentsWebBrowser的8个方法和13个属性

Description: WebBrowser的8个方法和13个属性,以及它们的功能: 方法 说明  GoBack 相当于IE的“后退”按钮,使你在当前历史列表中后退一项  GoForward 相当于IE的“前进”按钮,使你在当前历史列表中前进一项  GoHome 相当于IE的“主页”按钮,连接用户默认的主页  GoSearch 相当于IE的“搜索”按钮,连接用户默认的搜索页面  Navigate 连接到指定的URL  Refresh 刷新当前页面  Refresh2 同上,只是可以指定刷新级别,所指定的刷新级别的值来自RefreshConstants枚举表, 该表定义在ExDisp.h中,可以指定的不同值如下: REFRESH_NORMAL 执行简单的刷新,不将HTTP pragma: no-cache头发送给服务器 REFRESH_IFEXPIRED 只有在网页过期后才进行简单的刷新 REFRESH_CONTINUE 仅作内部使用。在MSDN里写着DO NOT USE! 请勿使用 REFRESH_COMPLETELY 将包含pragma: no-cache头的请求发送到服务器  Stop 相当于IE的“停止”按钮,停止当前页面及其内容的载入 属性 说明  Application 如果该对象有效,则返回掌管WebBrowser控件的应用程序实现的自动化对象(IDispatch)。如果在宿主对象中自动化对象无效,这个程序将返回WebBrowser 控件的自动化对象  Parent 返回WebBrowser控件的父自动化对象,通常是一个容器,例如是宿主或IE窗口  Container 返回WebBrowser控件容器的自动化对象。通常该值与Parent属性返回的值相同  Document 为活动的文档返回自动化对象。如果HTML当前正被显示在WebBrowser中,则 Document属性提供对DHTML Object Model的访问途径  TopLevelContainer 返回一个Boolean值,表明IE是否是WebBrowser控件顶层容器,是就返回true  Type 返回已被WebBrowser控件加载的对象的类型。例如:如果加载.doc文件,就会返 回Microsoft Word Document  Left 返回或设置WebBrowser控件窗口的内部左边与容器窗口左边的距离  Top 返回或设置WebBrowser控件窗口的内部左边与容器窗口顶边的距离  Width 返回或设置WebBrowser窗口的宽度,以像素为单位  Height 返回或设置WebBrowser窗口的高度,以像素为单位  LocationName 返回一个字符串,该字符串包含着WebBrowser当前显示的资源的名称,如果资源 是网页就是网页的标题;如果是文件或文件夹,就是文件或文件夹的名称  LocationURL 返回WebBrowser当前正在显示的资源的URL  Busy 返回一个Boolean值,说明WebBrowser当前是否正在加载URL,如果返回true 就可以使用stop方法来撤销正在执行的访问操作 如何利用 WebBrowser 控件,显示 .GIF 动画? 要有一定的网页知识(HTML、JavaScript、CSS) 注意细节: 没有"滚动条"和"鼠标右键弹出的 IE 上下文菜单",".HTM 源文件" ... 我写了一个,效果还真不错! ''Objects: Form1、Command1、CommonDialog1、WebBrowser1 Option Explicit Private Sub Command1_Click() CommonDialog1.ShowOpen If VBA.Len(VBA.Trim(CommonDialog1.FileN欢迎光临学网,点击这里查看更多文章教程 [1] [2] [3] [4] [5] [6] [7] [8] ame)) > 0 Then Dim p As stdole.StdPicture Dim sPath As String sPath = VBA.Trim(VBA.Trim(CommonDialog1.FileName)) Set p = VB.LoadPicture(sPath) WebBrowser1.Width = p.Width * 16 / 26 WebBrowser1.Height = p.Height * 16 / 26 '' WebBrowser1.Navigate "about:blank" WebBrowser1.Document.open WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "WebBrowser1.Document.writeln " WebBrowser1.Document.writeln "WebBrowser1.Document.writeln " " WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" End If End Sub Private Sub Form_Load() Command1.Caption = "&Open" WebBrowser1.Navigate "about:blank" WebBrowser1.Document.open WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "WebBrowser1.Document.writeln "" WebBrowser1.Document.writeln "" WebBrowser1.Document.Close End Sub
Platform: | Size: 3992 | Author: weidonglingsir@163.com | Hits:

[ADO-ODBCADO操作ACESS

Description: 直接通过ADO操作Access数据库 ADO(Active Data Object,活动数据对象)实际上是一种基于COM(组件对象模型)中的自动化接口(IDispatch)技术,并以OLE DB(对象连接和镶入的数据库)为基础,经过OLE DB精心包装后的数据库访问技术,利用它可以快速的创建数据库应用程序。-ADOAccess ADO(Active Data Object)COM()(IDispatch)OLE DB()OLE DB carefully packaged database access technology, use it to quickly create database applications.
Platform: | Size: 110592 | Author: 明远 | Hits:

[Browser ClientIE嵌入开发

Description: IE工具栏扩展 就是如何使IE扩展组件可以响应事件。 在自己的程序中使用过WebBrowser控件的朋友都知道,WebBrowser控件定义了诸如BeforeNavigate、DownloadComplete 等事件,我们可以通过编写事件处理代码实现对WebBrowser控件的操作。那么如何实现对IE的事件响应和处理呢?同建立IE面板一样。我们需要建立一个实现IObjectWithSite接口的COM组件,不同的是,我们还需要实现IDispatch接口,在IObjectWithSite接口的SetSite方法中获得IE的WebBrowser接口并建立自身与WebBrowser的连接,然后如果在IE的Webbrowser对象中发生什么事件的话,那么IE就会回调连接的IDispatch接口的Invoke方法。我们通过在Invoke方法中编写代码就可以获得IE事件了。这个利用的是COM编程的回调接口原理。-IE toolbar expansion is how to make IE components can be extended to respond incident. In their own procedures used WebBrowser Control friends all know, WebBrowser control such as the definition BeforeNavigate, DownloadComplete incidents, we can handle the matter through the preparation of code to achieve WebBrowser control operation. So how to achieve the right IE incident response and handling? IE with the establishment of the same panel. We need to build an interface to achieve IObjectWithSite COM different is, we also need to implement the IDispatch interface, the interface SetSite IObjectWithSite method was IE WebBrowser interface and establish their own connections with the WebBrowser, then if the IE object pda.en.wapedia.org what happens incident, then IE the pullback would IDispatc
Platform: | Size: 148480 | Author: 好的 | Hits:

[xml-soap-webservicenetmatters040616380

Description: 1、我想从某个方法中使用该方法的 XML 说明文档,这可能吗?... 2、我想在运行时访问一个 COM 组件,但我没有对应的 interop 程序集。我还能使用它吗?我曾考虑在需要时动态生成一个程序集,但这 样做似乎有些过度。问题是我正在编写一个.NET的通用工具类,在编译时不知道该 COM 组件的 ProgID。而这个组件实现了 IDispatch 接口。-one, I think from a certain method to use the methods of XML documentation, which could? ... Two, I want to run a visit to COM, but I have no response to the procedures set interop. I still use it? I have to consider the need to create a dynamic collection procedures, but it seemed to some excessive. The problem is I was preparing one.NET common tools category, the compiler does not know when the COM the ProgID. While the components to achieve the IDispatch interface.
Platform: | Size: 133120 | Author: 萧鹏 | Hits:

[CSharpcomp9.net

Description: COM 组件设计与应用(十)——IDispatch 接口 for VC.NET -COM Design and Application (10)-- IDispatch interface for VC.
Platform: | Size: 41984 | Author: lq | Hits:

[ActiveX/DCOM/ATLcomtut11src

Description: 介绍两种方法来写自动化(IDispatch)接口的组件程序,一是用 MFC 方式编写“纯粹”的 IDispatch 接口;二是用 ATL 方式编写“双接口”的组件。这一回将讨论IDispatch 接口和双接口...... 使用者要想调用普通的 COM 组件功能,必须要加载这个组件的类型库(Type library)文件 tlb(比如在 VC 中使用 #import)。-introduces two ways to write automation (IDispatch) interface components procedures with MFC First approach to the preparation of "pure" IDispatch interface; Two methods are used to prepare ATL "dual interface" components.IDispatch ...... COM (Type library) tlb( VC #import)
Platform: | Size: 254976 | Author: 冷寒 | Hits:

[Internet-NetworkMIDAS

Description: 特徵: 1.在客戶端使用IDispatch使appserver可以作为接口使用.可以有代碼輸入提示啦,哈哈 2.支援服務器廣播,由服務器觸發客戶端事件.(callback). 實現過程: 1.在服务器的TLB里面定义一个ICLIENT,在客户端应用程序实现ICLIENT的接口. 2.APPSERVER定义一个注册ICLIENT到服务器的方法,在服务器的需要的时候调用ICLIENT.即可以反映到客戶端 -Feature : 1. The client uses to make appserver IDispatch interface can be used. Code can be input prompts-- catheterization, 2. Broadcasting server support, client server trigger events. (Callback). Implementation process : 1. The server inside the TLB definition a ICLIENT the client application program interface ICLIENT. 2.APPSERVER definition of a registered ICLIENT server, the server needs of the call ICLIENT. that is reflected to the client
Platform: | Size: 798720 | Author: wb | Hits:

[ActiveX/DCOM/ATLIDispatch

Description: 实现IDispatch接口,不需要ATL,MFC, IDL,将SimpleDispatch.h加到工程即可,SystemUtil.h是一个使用SimpleDispatch.h的例子-Achieve IDispatch interface, no ATL, MFC, IDL, will SimpleDispatch.h can be added to the project, SystemUtil.h is an example of the use of SimpleDispatch.h
Platform: | Size: 8192 | Author: 王高全 | Hits:

[VC/MFCIDispatch

Description: 这是关于IDispatch接口原理与应用,很好,很有帮助, 对于学习COM的这一部分内容的人来说。-This is on the IDispatch interface principle and application, very good, very helpful for learning COM, this part of people.
Platform: | Size: 268288 | Author: 李东旭 | Hits:
« 12 »

CodeBus www.codebus.net