Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

What would make VBA stop working in Dynamics SL 2011?

(0) ShareShare
ReportReport
Posted on by 280

A customization that is several years old has just stopped working, because it doesn't recognize the VBA function Trim.  What could do this?  In case anyone asks, of course we installed the VBA version of the customization module.  We haven't worked with BSL for years.

*This post is locked for comments

  • Bev Kaufman Profile Picture
    280 on at
    RE: What would make VBA stop working in Dynamics SL 2011?

    I was not aware that the APC folder was hidden.  Once we found the files and deleted them, the VBA errors went away.

  • Carolyn Kolpien Profile Picture
    on at
    RE: What would make VBA stop working in Dynamics SL 2011?

    Hi Bev,

    The .kpr and .exd files are in the APC folder.  Are you using Terminal Server?  If so, then the APC folder will be on the Terminal Server  machine.  

    When you say that the directory does not exist, are you saying that the APC folder isn't there or the entire user folder?

  • Bev Kaufman Profile Picture
    280 on at
    RE: What would make VBA stop working in Dynamics SL 2011?

    The C:\Users\{username}\AppData\Roaming\Microsoft Dynamics SL\APC directory does not exist, for me or another user that frequently uses SL.

    You don't mention where the .kpr .exd are supposed to reside.  Apparently not in the Application folder.

  • Carolyn Kolpien Profile Picture
    on at
    RE: What would make VBA stop working in Dynamics SL 2011?

    Hi Bev,

    We used to see that error in version 6.5.  At that time, deleting the .kpr and .exd files usually resolved the issue.  You could try and delete the whole C:\Users\username\AppData\Roaming\Microsoft Dynamics SL\APC folder and see if that resolves the issue.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

#1
Community Member Profile Picture

Community Member 136

#2
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 102 Super User 2025 Season 1

#3
REUser Profile Picture

REUser 8

Featured topics

Product updates

Dynamics 365 release plans