Solved

How to set title for a usercontrol.

Posted on 1998-07-12
7
136 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.
0
Comment
Question by:victorlong
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 4

Accepted Solution

by:
tomook earned 80 total points
ID: 1465524
It sounds like you have a custom control rather than a user control. Go to Project-> Properties. On the first tab (General), fill in "Project Description" and recompile. To see the new name in a project, remove any existing reference to the old name, close the References dialog, the open the References dialog again. This should show you an entry under the new name.
0
 

Expert Comment

by:jjames
ID: 1465525
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
0
 
LVL 4

Expert Comment

by:tomook
ID: 1465526
victorlong, was it the description of the project or the user control itself you wanted to change?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:victorlong
ID: 1465527
Adjusted points to 80
0
 

Author Comment

by:victorlong
ID: 1465528
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....
0
 

Author Comment

by:victorlong
ID: 1465529
To james

Thank you for your comment.

Victor
0
 
LVL 4

Expert Comment

by:tomook
ID: 1465530
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.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question