Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

current .net directory

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
zaldyagripa
478 Views, 4 Replies

current .net directory

Hello,

Does anyone know if theres a way to know the current .net framework directory via lisp?

Thanks.

Zaldy
Tags (1)
4 REPLIES 4
Message 2 of 5
hgasty1001
in reply to: zaldyagripa

Hi,

 

I'm not sure what do You mean with current .Net directory, if you need to know the framework in use by AutoCAD, you can read the acad.exe.config file, the .NET framework should be under %windir%\Microsoft.NET\Framework directory.

 

Gaston Nunez

Message 3 of 5
zaldyagripa
in reply to: zaldyagripa

Hello.

I know the directory of .net framework. What I want to do is to know what version of the latest .net framework installed in other users computer. Thats what i meant by current. My routine will access dll files on that directory so I want my routine to be flexible. A turnaround in this is to copy the dll files in a permanent directory but it wouldnt be flexible. Would there be another way?

Zaldy
Message 4 of 5
hgasty1001
in reply to: zaldyagripa

Hi,

 

You can query the system using WMI, like this: WMIQuery , I think it's doable with Vlisp getting the winmgts object, but sure it's more easy with .NET or even with VBA.

 

Gaston Nunez

 

 

 

Message 5 of 5
zaldyagripa
in reply to: hgasty1001

Hello,

 

Thank you for the link. I will give it a try..

 

Zaldy

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost