Jump to content

Recommended Posts

Posted

We are upgrading our computers to windows 7 from xp and our autocad customization is have problems. Upon opening acad mep 2008 in xp mode and as admin I am getting a VBA error in a .dvb file.

 

the line code that I get is this:

 

strLoginName = UCASE (ThisDrawing.GetVariable ("LOGINNAME"))

 

with Ucase highlighted in blue

 

the error is Complie Error: Can't find project or library.

 

 

Any help would be amazing and grateful. My VBA experience is extremely beginner.

Posted

I just had this issue with regard to the Microsoft Office Excel Object Library.

 

Your fix *should* be similar... open the project in VBAIDE, and go to Tools > References...

 

Look for the 'AutoCAD 2008 Type Library' reference and make sure you have the appropriate acax##enu.tlb referenced (I do not have 2008, but 2009 is acax17enu.tlb, so I would imagine that 2008 is acax16enu.tlb ...?).

 

Hope this helps!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...