Solved

ProgID ?

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create a duplicate finder Application 9 122
Excel - Save a copy of work book 13 89
Export Data to Different .csv Files 26 114
transition to visual .net from vb6 5 37
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…

840 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