473,385 Members | 1,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Icon for User Control

Hi
I have created my user control and I would like add it in control toolbox
with my icon but I do not know how?
Please Help!
Nov 20 '05 #1
2 4597
"George Labljuk" <la***@livas.lv> scripsit:
I have created my user control and I would like add it in control toolbox
with my icon but I do not know how?


See:

<http://groups.google.de/groups?selm=%23YMos%23vQDHA.2476%40TK2MSFTNGP10.ph x.gbl>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Create a 16 x 16 pixd give it the name of the class ("Class BlaBla" ->
"BlaBla.bmp").

Then you can add the bitmap to the project and set its build action to
embedded resource.

Extend your code like this: \\\

<ToolboxBitmap(GetType(BlaBla))>

Public Class BlaBla . . .

???

End Class

But I do not know how create BlaBla?

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bl************@ID-208219.news.uni-berlin.de...
"George Labljuk" <la***@livas.lv> scripsit:
I have created my user control and I would like add it in control toolbox with my icon but I do not know how?
See:

<http://groups.google.de/groups?selm=...2MSFTNGP10.phx
..gbl>
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Nov 20 '05 #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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.