Select to view content in your preferred language

VBA Missing Libraries??

1335
6
11-09-2009 07:20 PM
SeanFadum
Deactivated User
I have tried to run ArcObjects code written in VBA in ArcGIS 9.3.1 and I get an error: "Compile Error: Can't Find Project or Library".  Does this mean that I have to rewrite my code in ArcGIS 9.4?  Is there some way around this?
0 Kudos
6 Replies
AjitMarathe
Deactivated User
1) In the VBA Editor, Click Tools > References.
2) Remove the check to the left of all 'MISSING:.....' references.
3) Click OK.
0 Kudos
SeanFadum
Deactivated User
Thanks... that did the trick!
0 Kudos
RalfGottschalk
Esri Contributor
This is a known issue with Beta 1.  The tracking number is NIM050996 and the issue should be resolved by Beta 2.
0 Kudos
HendrikHänke
Emerging Contributor
hi, i have exactly the same problem. using arc gis 10 and i want to run the tool "rapid land cover mapper", written in vba,. i installed the devvelopper kit from arc 10, which includes vba. i also have  a license for vba . it tells me "can´t find project or library", but i can´t choose references because they are disabled.
any ideas or recomendations?
thank you
hendrik
0 Kudos
FarahRamle
Deactivated User
hi, i have exactly the same problem. using arc gis 10 and i want to run the tool "rapid land cover mapper", written in vba,. i installed the devvelopper kit from arc 10, which includes vba. i also have  a license for vba . it tells me "can´t find project or library", but i can´t choose references because they are disabled.
any ideas or recomendations?
thank you
hendrik


Hi..i have the same problem. Any suggestion how to fix it?
0 Kudos
AlexanderGray
Honored Contributor
references are disabled while you are running code, are you running the code?  Also update the mxd to 10 and make sure it is not read only.   That is all I can think of right now, good luck.
0 Kudos