我如何在C#中的路径安装中打开文件 [英] how i can open a file in path install in C#

查看:98
本文介绍了我如何在C#中的路径安装中打开文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

:doh:我想创建一个包含多个pdf文件的应用程序,并通过创建安装程序安装程序链接到此文件,但是我不知道我怎么做
plaese帮助我

:doh: i want create an application that include several pdf files and link to this files by creating setup installer but i dont know how i cant do it
plaese help me

推荐答案

在Visual Studio 2008中(希望如此)

转到创建新项目",然后选择其他项目类型",然后选择设置和部署".

使用安装向导.

这将询问您是否要包含任何其他文件.

选择您的PDF.

现在单击完成.
如果要在桌面上显示pdf链接,请在屏幕左侧选择用户的桌面",然后在右窗格中右键单击并添加快捷方式.

现在导航到应用程序"文件夹,您的pdf文件就在其中...

选择所需的名称,命名快捷方式.

应该是这样. (构建并试用)
In Visual Studio 2008 (hopefully)

Go to Create New Project, and then select Other Project Types, then Setup & Deployment.

Use the Setup Wizard.

This will ask you if you want to include any extra files.

Select your PDF''s.

Now click finish.
If you want to show the pdf links on desktop, select the User''s Desktop on the left hand side of the screen, and then in the right hand pane right click and add shortcut.

Now navigate to Application folder, your pdfs are there...

Select the one you want, name the shortcut.

That should be it. (build it and try it out)


这篇关于我如何在C#中的路径安装中打开文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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