473,471 Members | 1,737 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Icon for User control

JR
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


Jul 10 '06 #1
2 1163
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.wrote in message
news:20***********************@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


Jul 11 '06 #2
JR
where for is the option:
ToolboxBitmap

if it does not work

"Smokey Grindle" <no****@dontspamme.comschreef in bericht
news:Oz*************@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.wrote in message
news:20***********************@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



Jul 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jacob | last post by:
What's the best way to put an Icon in the client area of a form (not in the ControlBox)? Everything I've tried seems to produce unsatisfactory results. A picture box doesn't give me the icon size I...
2
by: quilkin | last post by:
Hi I have an control app which starts up with a small info message then sits down as a tray icon while it does its work. When started manually (e.g.from a shortcut) this always works fine. However...
1
by: Joe | last post by:
Let me try to state this more clearly. I need to be able to change the icon displayed in the taskbar and the icon displayed when the user toggles among open apps with Alt+Tab. I want the...
2
by: Steve Le Monnier | last post by:
My user interface design requires that ErrorProviders are used for errors but also to indicate warnings to the users as well. In order to provide a clear visual clue between errors and warnings its...
2
by: Mamatha | last post by:
Hi I want to add an icon to the textbox's text. I don't know how to display icon in textbox in VB.NET. If any one knows please let me know. Thanks in advance. Mamatha
1
by: Ellis Yu | last post by:
Hi all, I'd tried to follow the instructions from msdn for adding icon image for a control. I've checked the name of bmp file is same as the control name and turn the bmp file to "Embedded...
2
by: Olaf Rabbachin | last post by:
Hi folks, I'd like to notify the user that rows within a datagrid require user-interaction/processing. The RowHeader is visible and wide enough so that the exclamation-mark icon as i.e. the...
9
by: Rotzooi | last post by:
Hi, I have a VB.NET Service application that's running fine under the Local System account. But for configuration purposes I don't want to be dependent on modifying the registry manually or...
1
by: ourxp | last post by:
Hi I have an idea but not quite sure how to implement it. I have a skeleton of a plug in architecture. My plans are to have the host use a notify icon and place it in the system tray. The plug...
4
by: Pascal | last post by:
Hi all, I'd tried to follow the instructions from msdn for adding icon image for a control. I've checked the name of bmp file is same as the control name and turn the bmp file to "Embedded...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.