473,441 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,441 software developers and data experts.

Components dialog in the VBE

isladogs
456 Expert Mod 256MB
This is a curiosity I discovered by accident several years ago. I've raised it at several other forums since that time but never had any response to the question. Perhaps this time will be different

If you open the VBE and press Ctrl+T, a Components dialog appears with two tabs: Controls & Designers.





From the appearance of the dialog this has been around a long time. In fact, exactly the same dialog can be found going back to A2000 if not earlier. It also appears if you open the VBE of any other Office program such as Word & Excel.

However, what is its purpose (if any)?
The Controls part shows a list similar to the Access reference list but not identical to it.
The Designers list just contains two items.
I cannot get anything to happen when I click on any item in the dialog

EDIT: Added screenshots that I couldn't do when posting thread
Attached Images
File Type: png Capture1.PNG (19.2 KB, 298 views)
File Type: png Capture2.PNG (10.0 KB, 270 views)
Mar 5 '21 #1

✓ answered by NeoPa

It appears that the Components dialog is for managing items available on MS UserForms. Something seen in other applications that use VBA more than in Access so much because Access has its own (better?) forms as standard.

It's still there because the VBA IDE is essentially Application Agnostic. It's possible to use them in Access - just not much point ;-)

10 2405
NeoPa
32,556 Expert Mod 16PB
I've never seen that myself either.

It looks like a way of configuring what's available from the ToolBox when designing forms but I'll give it some further thought & post back if I discover anything.
Mar 5 '21 #2
isladogs
456 Expert Mod 256MB
Thanks for replying. I asked the same question in the past at UA, SO & AWF. Between those 3 forums I got one reply! Nobody so far has any idea.

For info, I discovered it about 3 years ago when I first installed Office 365 on a Windows tablet. At that time, the VBE toolbar did not appear when in tablet mode. I tried various things none of which helped before clicking Ctrl+T (for tablet) as a random guess...with that unexpected result

To get the VBE toolbar to appear, it was necessary to switch off tablet mode

The good news is that I reported the issue with the VBE toolbar to MS and it was fixed a few months later.
Mar 5 '21 #3
NeoPa
32,556 Expert Mod 16PB
Would you consider Components dialog box to be an adequate response?
Mar 5 '21 #4
isladogs
456 Expert Mod 256MB
Hi Ade
Thanks
I hadn't seen that article before but what it outlines is exactly what I had tried to implement.
I think its a legacy from MDB days and is/was intended to be used with the MS Forms 2.0 library.

However, I was unable to alter the 'toolbox' by ticking any of the control checkboxes. The ribbon controls are definitely not affected.
Ticking MS Forms on the Designers tab also has no effect that I can see.

Perhaps I need to try it again with an old version like A2K
Mar 6 '21 #5
NeoPa
32,556 Expert Mod 16PB
That doesn't sound good. I certainly saw it was still there in my copy of Access 2019. I may need to put a question in to the team. I'll let you know what I find out - or someone else may post is always a possibility.
Mar 6 '21 #6
isladogs
456 Expert Mod 256MB
Thanks
The article was written in 2018 so it should still be active ... perhaps I'm just not doing it correctly.
As I said this is more a curiosity than something essential...but its odd that none of us seem to know what its actual purpose is.
Mar 6 '21 #7
NeoPa
32,556 Expert Mod 16PB
It appears that the Components dialog is for managing items available on MS UserForms. Something seen in other applications that use VBA more than in Access so much because Access has its own (better?) forms as standard.

It's still there because the VBA IDE is essentially Application Agnostic. It's possible to use them in Access - just not much point ;-)
Mar 7 '21 #8
isladogs
456 Expert Mod 256MB
Thanks Ade.
I think that confirms what I was suggesting in post #5.
Mar 7 '21 #9
ADezii
8,834 Expert 8TB
I'm not sure if this is relevant or not, but I use the Components Dialog Box extensively in Visual Basic. The Items listed in this Dialog Box include all Registered ActiveX Controls, Insertable Objects, and ActiveX Designers. You can select one or more Options within the Controls, Designers, or Insertable Objects Tabs, then click OK. After closing the Components Dialog Box, all of the ActiveX Controls that were selected will now appear in the Toolbox, where they can then placed on a Form. Clearing the Check Box next to a Component will remove it from the Toolbox unless an Instance of it is being used on any Form in the Project. Obviously, the same functionality does not exist in Access, maybe it is simply a throwback to Visual Basic. To the best of my knowledge, selecting a Control(s) from the Controls Tab, then OK within the Excel VBA Environment, will NOT list that Control in the Toolbox.
Mar 7 '21 #10
isladogs
456 Expert Mod 256MB
Hi @adezii$
That behaviour was what I was expecting with regard to the user form toolbox in e.g. Excel but, like you, I've had no luck with it in any Office program so far. Yet the article that Ade found suggests it should work with Office VBA
I haven't used VB for at least a decade. However, from your description, the VB version of the Components toolbox has additional functionality compared to that in the VBE
Mar 7 '21 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Basil Fawlty | last post by:
I need help and suggestions on how to modify the below program to get two numbers from user input using a input dialog box. B/c I'm a total newbie with next to no programming experience, I'm not...
1
by: flupke | last post by:
I'm using wxPython and design the gui via wxglade. One of the gui components is a simple dialog class that gets displayed when a user exits the program. I want to use the same dialog but with a...
4
by: dave | last post by:
I have an app that uses the OpenFile Dialog class. When I invoke the ShowDialog method, the hourglass appears and just stays. The dialog window never opens. I created a test form with an...
4
by: Alexander | last post by:
Hi, I have written a program that takes on some operations much more time than I expected. As I have seen users clicking wildly on the screen to make something happen, I want to follow the...
0
by: Andrew | last post by:
I get a Null Reference Exception if I close a modeless form (that is, a form displayed using Show()) when a selection is made from a ComboxBox. If the form is modal (displayed using ShowDialog())...
3
by: Andrew | last post by:
I get a Null Reference Exception if I close a non-modal dialog (that is, a form opened with Show()) when a selection is made from a ComboBox. The error message refers to Unsafe Native Methods, but...
1
by: Oren | last post by:
hi all, i do have an aspx page with "Microsoft common dialog" that i added to my components. when i'm adding new component i get: <OBJECT name="dialog" style="Z-INDEX: 108; LEFT: 83px;...
6
by: pradeep_TP | last post by:
I am facing a strange problem with my web site. Afer reinstalling the web application on the web server, I am getting a dialog box for each page. The dialog box has the following information. ...
7
by: Peter van der Veen | last post by:
Hi I've a component (from the vb.net resource kit; the flexgroup component) But how can i add that to my form?? I don't see it in the components tab. In the example the component is on the...
3
by: Ian | last post by:
I am working with Distributed Components with VB.NET for the first time (pretty much), and am having the following problem. My components have been added and are visible in component services...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.