寻找在 VSTO 中使用 WPF 的教程

Looking for tutorials for using WPF in VSTO(寻找在 VSTO 中使用 WPF 的教程)
本文介绍了寻找在 VSTO 中使用 WPF 的教程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我需要为需要访问数据库的 MS Word 2007 创建一个非常小的加载项.我在网上读到可以在 WPF/C# 中编写用户控件(这对我有很大帮助)并将其托管在 Winforms 主机中.

I need to create a very small add-in for MS Word 2007 which needs access to a database. I've read around the 'net that it is possible to write the usercontrol in WPF/C# (which would help me a lot) and host it inside a Winforms host.

但我需要开始 - 有人知道一些好的资源吗?

But I need to get started - anyone know some good resources?

我需要什么信息:

  • 如何开始部署事物
  • 要求 - 我可以使用第 3 方 dll 吗 - 它们是否需要签名等.
  • 安全性 - 我是否仅限于沙盒安全性?我需要使用 WCF 还是可以直接访问 SQL 服务器?
  • Word 对象模型入门

提前致谢!

推荐答案

是的,完全.几个月前我自己做了一些,虽然我没有直接去 SQL(虽然我认为它可以做到).这两篇文章帮助我入门:

Yeah, totally. Did a bit of this myself a few months ago, albeit I didn't go to SQL directly (although I suppose it can be done). These two articles helped get me started:

  • 使用构建基于 Office 的解决方案WPF、WCF 和 LINQ
  • 将 WPF 与 VSTO & 一起使用办公室2007

这篇关于寻找在 VSTO 中使用 WPF 的教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

Sending parameters to stored procedures vb.net(将参数发送到存储过程 vb.net)
Insert multiple rows, count based on another table columns(插入多行,根据另一个表列计数)
How to hold the location of an image in a SQL Server database?(如何在 SQL Server 数据库中保存图像的位置?)
How to send to email (outlook) the selected items in SQL Server database using vb.net(如何使用 vb.net 将 SQL Server 数据库中的选定项目发送到电子邮件(Outlook))
datagrid checkbox writes Null instead of 0 (false) into database(datagrid 复选框将 Null 而不是 0 (false) 写入数据库)
DBCC CheckDb-any ways to detect errors vb.net?(DBCC CheckDb-vb.net 有什么检测错误的方法吗?)