Discussion:
Icon for project template
(too old to reply)
M***@gmail.com
2006-09-26 14:06:09 UTC
Permalink
I created a wizard and put the .vbz file in the Templates/Projects
folder. The New Project dialog box correctly shows my wizard in the
list of project templates. The icon it uses is the standard wizard
icon, with the magic wand and three colored blocks. Is there any way
to specify my own icon to be used for my project template? Thanks.
Ralph
2006-09-29 12:17:19 UTC
Permalink
Post by M***@gmail.com
I created a wizard and put the .vbz file in the Templates/Projects
folder. The New Project dialog box correctly shows my wizard in the
list of project templates. The icon it uses is the standard wizard
icon, with the magic wand and three colored blocks. Is there any way
to specify my own icon to be used for my project template? Thanks.
This icon is associated with the ".vbz" extension. You can change it through
the Registry (VisualBasic.VBZFile) - but that would change the icon for all
files with a ".vbz" extension.

You can create your own extension, with its own icon, and associate it with
VisualBasic.VBZFile, so when launched would display identical behavior.
However the problem is getting VB6 to 'see' it as something to display in
the "New Projects" dialog.

I remember there was a way to do this and meant that we had to hack every
developer's VB6 install. Sorry I don't remember the details. I wasn't the
programmer tasked with the project, just an innocent bystander. But believe
it wasn't pretty. <g>

(It might have been creating and adding a new Addin which VB then
recognized, that then invoked the .vbz file. <?>)

So I always hate to say something is impossible (what in programming really
is?), but I doubt you may find it worth the effort.

hth
-ralph

Loading...