?
Solved

How to set title for a usercontrol.

Posted on 1998-07-12
7
Medium Priority
?
137 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 160 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

Industry Leaders: 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!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

800 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