-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attribute VB_Name: trouble in and out #72
Comments
If you can fix it then a PR would be most welcome, thanks for sharing your findings. |
My understanding is that the .bas files on github were produced from Office 2010, though perhaps not from the VCS_ExportObject method. Since I'm also using Office 2010, the discrepancy seems odd. I don't know what systems operate with Assuming I could figure out which style the running copy could support (I suppose I could write a test file in the style of |
In case any non-essential references are added to a new blank database, this function removes them before importing the references from the source specifications. See msaccess-vcs-integration#72 for further details.
Rather than using the lowest targeted version (Access 2010), set the version number to the correct reference version based on the version of Microsoft Access. This should keep the reference version numbers consistent with the expected values. Closes msaccess-vcs-integration#72
The .bas files have
Attribute VB_Name = "VCS_xxx"
as their first line. When I attempted to import a file with such a line (VCS_Query.bas) VBA and the regular Access window hung and I had to kill Access. This was repeatable.Further, when I file out code with
VCS_IE_Functions.VCS_ExportObject acModule, m.name, fpath
the resulting file does not haveAttribute VB_Name
.When I deleted the first line from VCS_Query.bas I was able to import it. I made similar deletions from the other files awhile ago--I noticed this becaue VCS_Query is new to me (just did a fetch).
VBA version 1643, also identified as Retail 7.0.1643
Access 14.0.7197.5000 (32 bit) part of Office Pro 2010.
Win 7 Ultimate 6.1.7601 SP 1 Build 7601 (64 bit)
Database is an .mdb file, the front end of a split database. Probably created with an earlier version of Access.
The text was updated successfully, but these errors were encountered: