disabling references for users that do not have the underlying reference only

  • Thread starter Thread starter phleduc
  • Start date Start date
P

phleduc

I have an application that uses references in code to a third party product
that is not available for all users.
When the application starts on one of the machines where the product is not
installed, I get an error on startup.

Is there a way I can disable those references for those users on startup so
I can limit my application to one front-end?

Philip
 
phleduc said:
I have an application that uses references in code to a third party
product that is not available for all users.
When the application starts on one of the machines where the product
is not installed, I get an error on startup.

Is there a way I can disable those references for those users on
startup so I can limit my application to one front-end?

Philip

Never add references in apps that need to run on multiple systems. Use late
binding instead. It does exactly what you want. Those without the required
libraries can't run the code that requires them, but it does not adversely
affect the rest of the app the way a missing reference does.
 

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

Reference woes 1
set reference with VBA 2
Missing reference 2
Bentley Microstation DGN reference 1
Adding multiple Office References 3
reference question 12
Missing references? 5
User-Defined type not defined 6

Back
Top