Solved

ProgID ?

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

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.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

732 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