|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Icon for User controlHi,
I maked some controls into a DLL the work fine Now I want to add a icon for each control. i converted the icons into bmp I added the line <ToolboxBitmap(GetType(ctrl_DigiKlok), "DigKlok.bmp")> in fron of the class but I still have that old default and stupid icon from ms when I recompile i DON'T have an error I work with VB.net 2003 I don't believe that user controls will show toolbox icons.. Ive never seen
it work myself, ive only had it work on custom controls. Show quoteHide quote "JR" <x.x@x.x.> wrote in message news:20ysg.529749$842.12929074@phobos.telenet-ops.be... > Hi, > > I maked some controls into a DLL the work fine > > Now I want to add a icon for each control. i converted the icons into bmp > I added the line > <ToolboxBitmap(GetType(ctrl_DigiKlok), "DigKlok.bmp")> > > in fron of the class > > but I still have that old default and stupid icon from ms > > when I recompile i DON'T have an error > > I work with VB.net 2003 > > > > > > where for is the option:
ToolboxBitmap if it does not work Show quoteHide quote "Smokey Grindle" <nospam@dontspamme.com> schreef in bericht news:OznjCRJpGHA.756@TK2MSFTNGP05.phx.gbl... >I don't believe that user controls will show toolbox icons.. Ive never seen >it work myself, ive only had it work on custom controls. > > "JR" <x.x@x.x.> wrote in message > news:20ysg.529749$842.12929074@phobos.telenet-ops.be... >> Hi, >> >> I maked some controls into a DLL the work fine >> >> Now I want to add a icon for each control. i converted the icons into >> bmp >> I added the line >> <ToolboxBitmap(GetType(ctrl_DigiKlok), "DigKlok.bmp")> >> >> in fron of the class >> >> but I still have that old default and stupid icon from ms >> >> when I recompile i DON'T have an error >> >> I work with VB.net 2003 >> >> >> >> >> >> > > |
|||||||||||||||||||||||