Solved

ProgID ?

Posted on 1998-10-10
3
550 Views
Last Modified: 2009-12-16
Hi,
I am using VB6 and have been reading up on adding controls at runtime without creating a control array first.

My problem is that I cannot find a list of the ProgID fields for certain controls (maybe they do not even exits).

RichTextBox
TabStrip

I know for example, that button is VB.CommandButton, I tried VB.- for the above and it did not work...anyone know what the strings are?

Also, is it possible to declare a control array at runtime, in the same way you would create a single control?

Thanks
0
Comment
Question by:guava070998
[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
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
BergJC earned 70 total points
ID: 1439238
The RichTextBox is RichTextLib.RichTextBox and
the TabStrip is MSComctlLib.TabStrip.

The way I determined this is from looking at the Object Browser (F2)



0
 

Author Comment

by:guava070998
ID: 1439239
Hi,
That is great, thanks for the tip (F2).

How about the other question, about creating a runtime control array?  Is this possible, and how?
0
 
LVL 2

Expert Comment

by:BergJC
ID: 1439240
I'm not sure about the other question. You might want to create another question and see if anyone else knows.

Good luck!

BergJC
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

691 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