如何将我的应用程序的快捷方式添加到桌面 [英] How to add a shotcut of my Application to Desktop

查看:86
本文介绍了如何将我的应用程序的快捷方式添加到桌面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

家伙,

没有人帮助我,因为我想拥有我的应用程序到桌面的快捷方式,而无需使用右键单击命令发送到桌面(创建快捷方式).我想在我的应用程序中对其进行编码,以便在安装后,它会自动创建桌面的快捷方式....
我什么都没做...所以请帮助我....

在此先感谢...

Hellow guys,

does anyone help me, cause i want to have a shortcut of my application to desktop without using the right click command to send to Desktop(create shortcut). I want to code it in my application so that after installing it, it will automatically create shortcut to desktop....
I have done nothing yet...so please help me....

Thanks in advance...

推荐答案

通常是在安装程序中完成的.如果您使用VS安装项目,则可以在安装程序时创建快捷方式而无需编写任何代码.
That is usually done in the installation program. If you use a VS Setup project, you can have a shortcut created when the program in installed without really coding anything.


查看此链接.这似乎是一个合理的解决方案.我尚未对其进行测试,但仅扫描代码即可查看.
尝试一下.
Check out this link. It seems to be a reasonable solution. I have not tested it, but it looked pretty good just scanning over the code.
Try This.


如果您使用图标文件在您的项目中,您可以在安装项目中使用此图片或任何其他图片.您可以选择在安装项目中将图像用作快捷方式.
希望这会有所帮助

问候Zeldacat
If you use an icon file in your project, you can use this or any other pic in your setup project. You have an option to use an image as a shortcut in you setup project.
Hope this helps

regards Zeldacat


这篇关于如何将我的应用程序的快捷方式添加到桌面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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