帮助制造商问题C# [英] Help Maker problem c#
本文介绍了帮助制造商问题C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我已经创建了帮助文件help.chm,我需要知道该文件是否有可能像资源一样插入而不是从路径中调用.因为如果我要进行e设置,将是一个问题.
应用程序处于Windows窗体中.
Hi all,
I have create Help file help.chm, I need to know if there is a possibility that file to insert like a resource and not to call from a path. Because If I want to make e setup it will be a problem.
Application is in Windows Form ...
推荐答案
如此处所述 ^ ]资源,例如strings, images, or object data
.由于.chm
文件不是字符串,也不是图像,因此可以将其存储为对象.但是,然后检索它并访问内容以显示帮助可能很困难.
我认为最好将其保留为单独的文件,并将其包含在安装项目中.
如此处所述 http://vijirajkumar.blogspot.in/2010/03/create -setup-and-deployment-project.html [ http://msdn.microsoft.com/en-us/library/19x10e5c.aspx [ ^ ]
http://msdn.microsoft.com/en-us/library/z11b431t.aspx [ ^ ]
http://www.youtube.com/watch?v=S-rEZ4Ir_PQ [ ^ ]
可能也有帮助.
本代码项目文章与HTMLHelp(.chm)完全集成的C#WinForms应用程序-帮助主题,上下文相关帮助和工具提示 [
As explained here http://msdn.microsoft.com/en-us/library/xbx3z216.aspx[^] resources, such asstrings, images, or object data
, can be included in resources files. Since,.chm
file is not a string and not an image it can be stored as an object. But, then retrieving it and accessing the contents to display help may be difficult.
I think it is preferable to keep it as a separate file and include it in the setup project.
As explained here http://vijirajkumar.blogspot.in/2010/03/create-setup-and-deployment-project.html[^] a file can be included in theSetup project
. When the installation is done on the user machine this file will be copied to the folder on the user machine as designated in the Setup project. Hence, the file can be accessed as a.chm
file from the application.
Regarding Setup project I think the following references
http://msdn.microsoft.com/en-us/library/19x10e5c.aspx[^]
http://msdn.microsoft.com/en-us/library/z11b431t.aspx[^]
http://www.youtube.com/watch?v=S-rEZ4Ir_PQ[^]
may also be helpful.
This Code Project article C# WinForms Application Full Integration with HTMLHelp ( .chm ) - Help Topics, Context Sensitive Help, and Tooltips[^] may be helpful to integrate the help in the application.
这篇关于帮助制造商问题C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文