The File Not Found: VBA6.DLL issue which I had explained in my previous post has got a solution.
Thanks to Japheth Nolt, who pointed me to this Partner Forum post.
The following are the steps to fix this issue, taken directly from Dynamics GP Partner Forum Post (Link To the Original Post: File Not Found: VBA6.dll):
———-
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
1. Export all customizations to a .package file.
2. Close Microsoft Dynamics GP.
3. Make a backup of the system registry.
4. Change the following key in the system registry:
KEY_CLASSES_ROOT\TypeLib\{000204EF-0000-0000-C000-000000000046}\4.0\9\win32
to have the path of this: C:\Program Files\Common Files\microsoft shared\VBA\VBA6\VBE6.dll
Note, if on a Windows 2008 Server R2 install the key was this: HKEY_CLASSES_ROOT\TypeLib\{000204EF-0000-0000-C000-000000000046}\4.1\9\win32
5. Delete all VBA files with a file size of 4KB.
6. Rename all VBA files with a file size greater than 4KB.
7. Start GP.
8. Open VBA editor.
9. Check the VBA reference to ensure the path is to the C:\Program Files\Common Files\microsoft shared\VBA\VBA6\VBE6.dll file.
10. Add a window and field to VBA and test the message box code.
11. Verify the message box works.
12. Import all customizations.
13. Verify more than one customization works.
Note, this has only been tested on an Office 32-bit installation. If you have an Office 64-bit installation, you will need to uninstall it and then install the 32-bit version. This will not affect Outlook user profiles.
———-
What I did is the following:
1. I removed all the VBA files from GP Folder in my 32 Bit machine.
2. I performed the steps listed above from #1 to #4 (modifying the registry entry).
3. I launched GP and opened the VBA Editor, to make sure that the Visual Basic for Applications Reference is pointing to the path C:\Program Files\Common Files\microsoft shared\VBA\VBA6\VBE6.DLL.
4. Closed GP. Relaunched it.
5. Imported the VBA Customizations that were exported from 64 Bit machine.
6. My customizations started working.
IMPORTANT NOTE: You must re-reference any 3rd Party plugin references after importing the VBA Packages, in case these 3rd Party plugins sit in Program Files (x86) folder in 64 Bit machine.
Hope this is helpful for people who face this issue.
VAIDY
Like this:
Like Loading...