|
-
Apr 16th, 2007, 07:17 AM
#1
Thread Starter
Addicted Member
How to add icon to ActiveX(OCX)
Hi,
How can i add icon to my ActiveX Ctrl(OCX)?
Like MsWinSck.ocx PC icon!
Very thanks.
-
Apr 18th, 2007, 05:11 PM
#2
Re: How to add icon to ActiveX(OCX)
The icon in Widows Explorer is a generic ocx icon. Do you mean the icon that shows in the toolbox in the IDE? That's the ToolboxBitmap property of the ctl file (Under User Controls).
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Apr 20th, 2007, 04:09 AM
#3
Thread Starter
Addicted Member
Re: How to add icon to ActiveX(OCX)
 Originally Posted by Al42
The icon in Widows Explorer is a generic ocx icon. Do you mean the icon that shows in the toolbox in the IDE? That's the ToolboxBitmap property of the ctl file (Under User Controls).
Like timer icon in Form & Toolbox!
-
Apr 20th, 2007, 01:09 PM
#4
Re: How to add icon to ActiveX(OCX)
That's the ToolboxBitmap property of the control. Click on it and select a 16 X 15 icon.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Apr 21st, 2007, 02:04 AM
#5
Thread Starter
Addicted Member
Re: How to add icon to ActiveX(OCX)
Sorry, i dont understand. Can you attach a simple ActiveX with icon?
Very Tnx.
-
Apr 22nd, 2007, 05:47 PM
#6
Re: How to add icon to ActiveX(OCX)
See this pic.

Highlight that property on the Properties Window and press F1 for local MSDN help. Also read this.
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
|