We help IT Professionals succeed at work.

How to set title for a usercontrol.

victorlong
victorlong asked
on
Medium Priority
148 Views
Last Modified: 2010-05-03
Hi

I forgot where to set the title for a usercontrol (the one will be listed in the component list). I have tried to fill all the boxes when making the .ocx file in the "option", but the title is always Project1 :-(

I am using VB5 Control Creation trial version.
Comment
Watch Question

Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
victorlong,

from VB choose 'View' then 'Object Browser'
from the first drop-down choose your project
then from the 'Classes' window choose your control
right click your control, then choose 'Properties'
enter the new user friendly description in the 'Description' box.

Kind of tricky huh?  jjames

Commented:
victorlong, was it the description of the project or the user control itself you wanted to change?

Author

Commented:
Adjusted points to 80

Author

Commented:
Hi tomook

Thank you for your help and sorry for my delay :-)

Yes, your answe is what I want.

But what is the difference between "user control", "custom control" and "AxtiveX control"? I found the books don't say very clear....

Author

Commented:
To james

Thank you for your comment.

Victor

Commented:
Custom controls are ActiveX controls, two names for the same thing. A "User Control" is a VB component which is an abstraction for building custom controls.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.