Hi,
I'm getting this error "Run-time" error '48' "File not found: *****.arx" calling functions from VBA (Autocad 2011 64b).
Please note that same code (VBA & ARX) works fine on 32b env.
Any ideas?
THK
Hi,
How exactly are you calling ARX from VBA?
You may be aware that on x64 bit OS the VBA engine is running out-of-process from AutoCAD, in a separate 32 bit process, so if you are trying to call a function directly from an ARX file that is loaded into AutoCAD, then that won't work.
In your ARX file you could create commands that would accept parameters and then you could call those using SendCommand.
Or you could implement a COM server inside the ARX that could be accessed from outside (from your VBA application as well) through COM.
I hope this helps.
Adam Nagy
Autodesk Developer Network
Actually, I think this is referring to the acvba.arx, which is the VBA enabler. If its not installed and is called for in an ACAD.RX file (for example), this warning occurs.