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.
 
Back
Top