如何使用VB.NET启动OneNote并在其中打开特定文件? [英] How to launch OneNote and open a specific file in it using VB.NET?
本文介绍了如何使用VB.NET启动OneNote并在其中打开特定文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要打开Microsoft.Office.OneNote并使用vb.net Windows窗体应用程序加载特定文件。我该怎么做?
推荐答案
你需要检查它的命令行选项。
喜欢打开一个带记事本的文件就可以了。
You would need to check its command line options.
Like to open a file with notepad it would be.
Process.Start("Notepad.exe", "C:\Users\Joe\Documents\Test.txt")
编辑:
找到了开关。
http://office.microsoft.com/en -us / onenote-help / command-line-switches-in-microsoft-office-onenote-2007-HA010177833.aspx [ ^ ]
这篇关于如何使用VB.NET启动OneNote并在其中打开特定文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文