You can't use the AutoCAD managed dlls from an .EXE.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
"Rune Aarnes" wrote in message
news:6342596@discussion.autodesk.com...
Hi!
I have created a program with two functions. One find all the 2d solids, and
open a dialog box.
Where the user can choose hatchtype to each solid layer, select the folder
for the "scripts" function, scale for the hatch and some other things.
This is stored in a xml file. Then I replace the solids with hatch
The second function uses the stored values to change from 2d solid to hatch
on all the drawings in the "scripts" folder without opening the drawing.
This works fine
The problem is that I want to start "script" function from a exe file
because this will run every morning at. 06:00.
I refer the dll in the exe fil
When I run the "script" function in dll'en from the exe file, I got this
error message:
Can not load the file or assambly acdbmgd, Verion=18.0.0.0, Cultor=neutral,
PublicKey Topken=null..........
Cant find file
(translate from norwegian)
I have tried all options when it comes to placement of acdbmgd
Any idea?
Thanks
Rune