common dialogue control licence confusion

P

Paul Foster

Ive added Microsoft Common Dialog Control 6.0 to one of
my forms to get the address of a picture. It works fine
on my machine, but just gives errors on another machine.
If I try to open the form in design view on the other
machine and add the control, it says I dont have a
licence. Can anybody shed some light on this? Both
machines have Office xp, access2002. My machine has
visual studio.net installed.
Ive come across some code that allows me to do the same
thing using the common dialog dll, but its not as easy to
use as the common dialog control. Any ideas?

Any help much appreciated.

Paul Foster
Bournemouth UK
pfos.uk NO SPAM PLEASE (at) ntlworld dot com
 
S

Scott McDaniel

Your vs.net install allows you the license to use the control on your
machine. The other machine ovbiously doesn't have the design license.

You'll be muuuuuch better off in the long run if you use the code Cheryl
pointed you to. The Common Dialog control is prone to versioning issues,
while the code isn't.
 
C

Cheryl Fischer

Your first posting indicated that you wanted to capture the address of a
file. In the code found at the MVPS link, there is a function named
TestIt() which will display the name of the selected file in a Message Box.

If I have misinterpreted your question, please post back with more detail
about what you want to do.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top