📄 readme.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>ReadMe</title>
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio.NET 7.0">
</head>
<body>
<h1>
Windows Forms: Automate Office</h1>
<P>This demonstration shows you how to automate Office from .NET.</P>
<h2>Featured Highlights</h2>
<P>This application has three demonstrations involving the following Office
components. When referencing the various COM Office assemblies, Visual Studio
.NET automatically creates COM runtime callable wrappers (RCW) so you can
program against them from within .NET. This application shows you how to work
with:
</P>
<P><STRONG>1. Microsoft Agent:</STRONG> Learn how to make Merlin appear in your
applications and do things like speak, move, and show off his various
animations. Merlin and the other Office Agent characters are an excellent way
to provide Help and other assistance to users of your application.
</P>
<P><STRONG>2. Microsoft Word:</STRONG> Learn how to create a Word application and
call the spell checker to check a document loaded into a RichTextBox control.
3. Microsoft Excel: Learn how to create and fill a DataSet from an XML document
and then databind it to a DataGrid. Then export the contents of the DataSet to
an Excel spreadsheet and run an Excel function that calculates the average of
values in a column.Microsoft Agent: Learn how to make Merlin appear in your
applications and do things like speak, move, and show off his various
animations. Merlin and the other Office Agent characters are an excellent way
to provide Help and other assistance to users of your application. For more on
Microsoft Agent see the articles and SDK documentation at
http://msdn.microsoft.com. 2. Microsoft Word: Learn how to create a Word
application and call the spell checker to check a document loaded into a
RichTextBox control.
</P>
<P><STRONG>3. Microsoft Excel: </STRONG>Learn how to create and fill a DataSet from
an XML document and then databind it to a DataGrid. Then export the contents of
the DataSet to an Excel spreadsheet and run an Excel function that calculates
the average of values in a column.</P>
<h2>Requirements</h2>
<P>Microsoft Visual Studio.NET Professional or greater.<BR>
Windows 2000 or Windows XP.</P>
<P>If you want to hear Merlin speak, you may need to install the speech recognition
pack, which is included with Microsoft Office XP but not installed by default.
For instructions on how to do this see:
<BR>
<A href="http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/winxppro/proddocs/input_speech_install.asp">
http://www.microsoft.com/technet/treeview/default.asp?url=/TechNet/prodtechnol/winxppro/proddocs/input_speech_install.asp</A></P>
<H2>Running the Sample</H2>
<P>Simply Press <STRONG>F5</STRONG>.
</P>
<h4>See also</h4>
<P>For more on Microsoft Agent see the articles and SDK documentation at <A href="http://msdn.microsoft.com">
http://msdn.microsoft.com</A>. A good place to start is:<BR>
<A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_msagent-i.asp">
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_msagent-i.asp</A>.
</P>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -