如何将图像添加到exe位置? [英] How to add an image to the exe location?

查看:74
本文介绍了如何将图像添加到exe位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在C#中安装安装文件后,如何将映像添加到exe位置.

实际上,我正在生成具有一个徽标的Word文件.此文件从exe位置获取此徽标.

Bye

Hi,

How to add an image to the exe location after installation of setup file in C#.

Actually i m generating word file that has one logo. This file taking this logo from exe location.

Bye

推荐答案

如果我是正确的,则需要一些图像,例如.bmp文件所在的.exe文件所在的位置.
如果使用Visual Studio进行安装,则只需在运行安装向导时添加图像文件即可.它将文件复制到exe提取的位置.


问候
If I am correct, you want some image, say .bmp file where your .exe is present.
If you are using Visual Studio for making Setup, just add image file while you run setup wizard. It will copy file to location where exe will extract.


Regards


您是在谈论Icon还是其他?
Are you talking about Icon or something else ?


您的问题对我来说有点困惑,但是如果您正在寻找如何设置图像进入可执行文件,然后看看这些文章.
http://normankosmal.com/wordpress/?p=21 [ http://rongchaua.net/blog/c-add-resources -to-native-executable-file-with-updateresource/ [ http://social.msdn.microsoft.com /forums/zh-CN/csharpgeneral/thread/9e23a82c-8bed-4b96-8b9a-4c2b6136a622/ [
You question is little bit confusing for me but if you are looking for how to set Image into executable file then have a look at these article.
http://normankosmal.com/wordpress/?p=21[^]
http://rongchaua.net/blog/c-add-resources-to-native-executable-file-with-updateresource/[^]
http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/9e23a82c-8bed-4b96-8b9a-4c2b6136a622/[^]


这篇关于如何将图像添加到exe位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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