Alex & Access

News, links, downloads, tips and tricks on Microsoft Access and related

About Me Search
My Photo
Name:Alex Dybenko

Location:Moscow, Russia
Google
 
Web AccessBlog.net

Thursday, January 20, 2005

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.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home