Adding Components in VB 6
This is my first time using visual basic and I cannot figure out how to add a component to my project.
I wish to add Microsoft Common Dialog Control 6.0 but each time I click on OK in the components dialog box, the vb application exits. Is there something that needs to be installed in order to add components to the toolbox of a project?
Any help is greatly appreciated.
Re: Adding Components in VB 6
Click Project/Components
Find the Microsoft Common Dialog control in the components list.
Check the box next to it and click OK
Re: Adding Components in VB 6
I did just that- but when I click OK, the application exits. Is there a special setting for the project properties that enables addition of components?
Re: Adding Components in VB 6
This may be due to limited permissions of the user you have logged in to Windows as.
I log in to Windows as a 'restricted' user, and get the same problem.
If I run VB as a different user (with better permissions), it works fine.
Re: Adding Components in VB 6
Quote:
Originally Posted by si_the_geek
This may be due to limited permissions of the user you have logged in to Windows as.
I log in to Windows as a 'restricted' user, and get the same problem.
If I run VB as a different user (with better permissions), it works fine.
Fascinating piece of information....I did not know that user permissions would have that affect on the VB IDE. :eek:
Re: Adding Components in VB 6
It's wierd.. I guess that there is some kind of "registering" of the controls (to ensure they are valid), which of course the user cannot do.
Re: Adding Components in VB 6
I will check with the IT dept.
Thanks.