• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 558
  • Last Modified:

ProgID ?

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
guava070998
Asked:
guava070998
  • 2
1 Solution
 
BergJCCommented:
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
 
guava070998Author Commented:
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
 
BergJCCommented:
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 Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now