Click here to Skip to main content
15,911,139 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to add reference of application in windows application through code.
for example i have two autocade reference like briscade and autocad 9 so i have to handle case for that if client have installed briscad then it works on reference basis,and if client have autocad 9 then it work accordingly,in short i have prepare code general for both autocad application.so please guide me.
Posted

 
Share this answer
 
Comments
khyati.ptl 10-Aug-13 2:26am    
thanks for solution i got help from your reference
Hide the actual CAD objects behind some interface(s). Your application has to hold a factory for creating the appropriate objects. The factory is told which one to use (e.g. by configuration, or an Inversion of Control container) or can somehow find out by itself (e.g. searching the registry for the installed CAD application).
 
Share this answer
 
Comments
khyati.ptl 10-Aug-13 2:20am    
actually i have dout that is this possible to get what kind of reference to be added in reference folder through code in vb.net??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900