How to hide procedure in library MDE
Visual Basic has a procedure properties dialog, which Access does not have. But following trick helps to make a procedure hidden:
Export access module to text using Application.SaveAsText hidden method, add attribute after procedure declaration as:
Attribute ProcName.VB_MemberFlags = "40"
Where ProcName is a name of procedure. Now import back module using LoadFromText.
Export access module to text using Application.SaveAsText hidden method, add attribute after procedure declaration as:
Attribute ProcName.VB_MemberFlags = "40"
Where ProcName is a name of procedure. Now import back module using LoadFromText.



0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home