|
-
Apr 14th, 2005, 04:31 AM
#1
Thread Starter
Member
Link program to an icon
How do I link a vb.NET program to an icon? (not the shortcut)
-
Apr 14th, 2005, 06:08 AM
#2
Thread Starter
Member
Re: Link program to an icon
I have a program I have written in vb.NET and I have an icon in the form XXX.ico I want the icon to appear on the desktop so that when you click it it will open the program.exe
I know how to use the "change icon" function to give a shortcut icon, but I don't know how to link a standard icon directly to my program without it being labelled "Shortcut to program.exe".
-
Apr 14th, 2005, 06:43 AM
#3
Fanatic Member
Re: Link program to an icon
If you set the Application Icon, the xxx.ico is used even if you right click on the app and create desktop icon. Right click on the Project->Properties->Build (tree node), browse for your xxx.ico
or compile it with /win32icon:path/icon.ico switch
Or am I missing something here?
-
Apr 14th, 2005, 07:54 AM
#4
Thread Starter
Member
Re: Link program to an icon
Thanks for the replies Kulrom and Nebulom. I have an exe program I have put on a cd and wish to give it to someone. When I put the program on the disk I didn't know how to link my icon to it so I ended up with the standard windows icon - a white rectangle with a blue top.
So when the person I give this program to transfers it from the cd onto his computer, the icon that transfers is just the standard windows icon with a white rectangle with a blue top. Yet I have this other icon which I would like the program to have, but I don't know how to do it.
Thanks for the suggestion Nebulom.... I will try that now.
-
Apr 14th, 2005, 08:24 AM
#5
Re: Link program to an icon
you know when it says "shortcut to myprogram.exe" you can simply edit that text to say whatever you want
also if you are giving this program to someone else, you may want to create an installer package for it, unless you are certain you included everything you need on the CD and they already have the .net framework
-
Apr 14th, 2005, 08:25 AM
#6
Thread Starter
Member
Re: Link program to an icon
Many thanks Nebulom - that was it! Great. Thanks also Kulrom.
-
Apr 14th, 2005, 08:32 AM
#7
Thread Starter
Member
Re: Link program to an icon
Thanks Kleinma. I will follow up your suggestion of an installer package.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|