gilgaribi
Jan 10th, 2000, 10:23 PM
Hello,
I am looking for the internal format of a VB class module.
First, let me explain, why I need this peculiar information..
I would like to extract the VB macro code out of a Word97 Document, much
like an anti-virus scanning program.
I've studied the format of a Word97 document, and found that VB Standard
modules are kept in separate "compound file streams", therefore I
know how to access them.
Unfortunately, I found that class modules' streams incorporate code
and properties together, thus, making it difficult to separate the code
from the rest (e.g. for digital signaturing purposes).
For example, I can get the code of a AutoOpen Module, but cant extract
the code of a ThisDocument Document_Open macro.
Is there any documentation as to how VB stores its information, namely,
that of the Class modules?
Alternatively, are there any known comunitees/newsgroups for "macro
anti-virus" programmers who might share this type of information?
Thanks for reading,
Yael.
I am looking for the internal format of a VB class module.
First, let me explain, why I need this peculiar information..
I would like to extract the VB macro code out of a Word97 Document, much
like an anti-virus scanning program.
I've studied the format of a Word97 document, and found that VB Standard
modules are kept in separate "compound file streams", therefore I
know how to access them.
Unfortunately, I found that class modules' streams incorporate code
and properties together, thus, making it difficult to separate the code
from the rest (e.g. for digital signaturing purposes).
For example, I can get the code of a AutoOpen Module, but cant extract
the code of a ThisDocument Document_Open macro.
Is there any documentation as to how VB stores its information, namely,
that of the Class modules?
Alternatively, are there any known comunitees/newsgroups for "macro
anti-virus" programmers who might share this type of information?
Thanks for reading,
Yael.