Solved

ProgID ?

Posted on 1998-10-10
3
542 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
  • 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

Free Trending Threat Insights Every Day

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.

Join & Write a Comment

Suggested Solutions

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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 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…

707 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