带有密码的PowerPoint演示文稿 [英] PowerPoint Presentation with password

查看:72
本文介绍了带有密码的PowerPoint演示文稿的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我正在使用VB 2008.Net.

I am using VB 2008.Net.

我想在我的应用程序中嵌入一个带有演示文稿,时间安排和PowerPoint演示文稿的PowerPoint演示文稿,这样,当单击表单上的按钮时,它将自动启动Pesentation并输入密码.一世 希望这样做,以便只能从其中嵌入了密码的应用程序内部查看PowerPoint演示文稿,而不能仅通过查找PowerPoint演示文稿文件并单击它来运行就无法运行.

I want to embed a PowerPoint presentation with naration, timings and the presentation PASSWORD in my application so that it will automatically start the Pesentation and enter the password, when a button on the form is clicked. I want to do this so that the PowerPoint presentation can only be viewed from within the application, where the password is embedded in code, and cannot be run by just finding the PowerPoint presentation file and clicking on it to run it.

我不希望为用户提供密码.我想我可以使用process.start来运行演示文稿,该演示文稿可以在安装时放在目标计算机上,但是我不知道如何使用密码处理代码. 按钮.

I do not intend for the user to be given the password. I would imagine that i could use process.start to run the presentation, which can be put on the target computer at the time of instal, but I don't know how to handle the password with code on the button.

如果您可以提供一个能做到这一点的代码片段,我将不胜感激.

If you could provide a code snippet that would do this, i would greatly appreciate It.

谢谢oyu,

 

推荐答案

Dan,

我没有直接的答案给您,但以下某些方法可能会有所帮助.

I don't have a direct answer for you but maybe some of the following will help.

首先,要在您的程序中运行该程序,请查看以下内容:

First, for running the program IN your program, have a look at this:

http://social.msdn.microsoft.com/forums/zh-CN/Vsexpressvb/thread/c2c86663-5f6c-46a6-970e-673090d83294/

无视他们在那里实际做什么,而是专注于马丁如何展示如何使用过程".可以通过设置父项在OP的程序中实际显示该程序.

Disregard what they're actually doing there but rather, focus on how Martin shows to use "Process" to actually show the program inside the OP's program by setting the Parent.

对于密码,在Process类中使用

As for the password, in the Process class look into using StartInfo then pass that into the "Start".

我希望这会有所帮助. :)

I hope this helps. :)


这篇关于带有密码的PowerPoint演示文稿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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