summaryrefslogtreecommitdiffstats
path: root/extensions/test/ole/VisualBasic/readme.txt
blob: 0b18430fca7ebe58935daf6903bd9874220e2a59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Runs a test written in VisualBasic. If no error message appears then the test was ok.

Requirements:
Installed office
Component oletest.Oletest (extensions/test/ole/cpnt)
Component VBasicEventListener.VBEventListener (extensions/test/ole/EventListenerSample/VBEventListener


OleTest is a UNO component. It needs to be registered with the office rdb. Also there are additional
types (oletest.rdb in wntmsci7/bin/) which must be merged with the rdb.
VBEventListener is an ActiveX component. The directory contains a Visual Basic Project and also
the binary VBasicEventListener.dll. This is necessary because the dll contains the type library
which is needed by VB. Otherwise VB would generate a new CLSID on a new build.
The dll must be registered on the system. This is done by
regsvr32 VBasicEventListener.dll
or
by a rebuild of the project.