Function "Dir" fails in Spanish Access 2007 (Use in basRibbonCallbacks and basGDIPlus)
There seems to be a "Bug" in Access 2007 in Spanish. The explanation given by a "MVP" Access to the forum Access in Spanish. The solution was to replace the command "DIR" with "CURDIR" and ready works fine.
Link to the thread here...