Solved

How to set title for a usercontrol.

Posted on 1998-07-12
7
132 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Concatenate 2 userform comboboxes to a userform text box 4 65
VBA error replacing data 6 40
Paint/Redraw window while dragging 16 79
Recommendation vb6 to vb.net or others 14 151
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

831 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