寻找在 VSTO 中使用 WPF 的教程 [英] Looking for tutorials for using WPF in VSTO

查看:46
本文介绍了寻找在 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:

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆