I'm working on some code to interface with some 3rd party software called "HYSYS". The software is installed on another computer and as such the required type libraries are installed on that computer as well. When I want to work on the code on another computer that doesn't have the libraries installed, I get errors as a result and I can't test things out.
I could comment out the offending lines but I was wondering if there was a way to check for the existence/inclusion of a type library and, if it's not installed on the computer, ignore the error and the associated code? It's really a small thing, just some public variable declarations "Public hyApp as HYSYS.Application", for example, but I"m curious if there's a way to do this automatically.
Thanks!!
Matt
I could comment out the offending lines but I was wondering if there was a way to check for the existence/inclusion of a type library and, if it's not installed on the computer, ignore the error and the associated code? It's really a small thing, just some public variable declarations "Public hyApp as HYSYS.Application", for example, but I"m curious if there's a way to do this automatically.
Thanks!!
Matt