Solved

How to set title for a usercontrol.

Posted on 1998-07-12
7
131 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
  • 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now