L
Little Bear
I´m planning to make a Class with some routines i use a lot in many
templates. First i was thinking of making the class in my startup-template
and let other templates have a library-reference to it but then a cannot
initialize the class using:
Dim myC as StartUpTemplateName.ClassName
Set myC = New StartUpTemplateName.ClassName
Errormessage: "Invalid use of keyword New"
(Translated from the Swedish error message
I have also tried to create a Add-In with the same result.
The only way I know to make any template to use my Class is to create a
ActiveX-dll and registrate it using Regsvr32.
Is there a way to make a Class i a startup-template wich is usable from any
other template loaded by users?
templates. First i was thinking of making the class in my startup-template
and let other templates have a library-reference to it but then a cannot
initialize the class using:
Dim myC as StartUpTemplateName.ClassName
Set myC = New StartUpTemplateName.ClassName
Errormessage: "Invalid use of keyword New"
(Translated from the Swedish error message
I have also tried to create a Add-In with the same result.
The only way I know to make any template to use my Class is to create a
ActiveX-dll and registrate it using Regsvr32.
Is there a way to make a Class i a startup-template wich is usable from any
other template loaded by users?