|
-
Jan 10th, 2000, 11:23 PM
#1
Thread Starter
New Member
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.
-
Jun 21st, 2002, 07:38 AM
#2
New Member
Hello Yael,
Similiar to your action, I wanted to extract text portion of the office documents (word,excel..) . Is it possible to do this just using vb ? I don't want to use create word/excel application type command in vb? I want to open document exclusively. I mean, I have to read compound file streams of any office document programatically. Could you send me the code you mentioned in your e-mail? Does it help me ?
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|