This article is completely original and all references are
Msdn.microsoft.com/library/en-us/msagent/agentstartpage_7gdh.asp
The following related API description, is a shared article, welcome to any form of reprint, if you want to reference the text of this article, please note the author: windy_sk <windy_sk@126.com>, thank you!
You are welcome to repost your name and despise low-level plagiarism!
Introduction:
I was planning to write it two years ago. The result was delayed for so long. Recently, I saw a friend asking about related things and finally decided to express my remaining memories before I completely forgot it, paper, pen... write!
Don't say you fully understand MSAgent. Maybe you only know about MSAgent ~~~~~~~~
Opening part:
You may not know the MSAgent name, but if you mention the Office assistant, I think there should be few people in this computer world that is dominated by MicroSoft, this article describes how to call this online special feature on a webpage.
Question:
I. Discussion
First, let's take a look at the simplest effect:
<Object style = "visibility: hidden" id = "MSAgent" classid = "CLSID: D45FD31B-5C6E-11D1-9EC1-00C04FD7081F"> </object>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
No. If it goes well, a Q-a cartoon magician will appear on your screen. Yes, this is the legendary MSAgent! The following describes the functions of each part:
The internal index string of AgentID, which is defined by the user;
The role file called by AgentACS can be a local or remote file of the browser, which will be described separately later.
MSAgent. Connected establish a connection;
MSAgent. Characters. Load read role;
MSAgent. Characters. Character returns the role object;
Agent. Show: displays roles;
Now, I have brought MSAgent to you. What? Nothing to see? Only browser errors are reported! It doesn't matter. In the subsequent articles, I will also tell you how to see him. Of course, this view refers to all the people who browse your web page!