PDA

View Full Version : Executable file is not working in other computer



avinash patil
2021-01-07, 11:03 AM
Hi!

I have created program which is connection with AutocAD and sent data to Excel. after compiling it works good in my pc. but after copying in other's computer it is not working it gives error. attached image.

I also copied auocad.interop files in current program directory in other's pc.

Please help me for this.

Thanks,

Avinash Patil

Ed Jobe
2021-01-07, 03:19 PM
Does the other pc have AutoCAD installed?

avinash patil
2021-01-08, 03:23 AM
Yes, same AutoCAD version same Microsoft office version, same both pc are 64bit version, only visual studio is in my pc.

Ed Jobe
2021-01-08, 03:43 PM
On the other pc, make sure that Autodesk.AutoCAD.Interop.dll is present in the same folder as acad.exe. Also, be sure that in your project, Copy Local is set to false for your dll reference.

avinash patil
2021-01-09, 11:43 AM
I will try and get back to you.