Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GetRef in VBScript classes

569 views
Skip to first unread message

Ole Thrane

unread,
Mar 20, 2002, 7:08:07 AM3/20/02
to
Hi

Passing a function with "GetRef()" in the main program to a (VBS) class is
no problem. Doing the same inside the class, even if I refer to an internal
function, will not work!! I get the error message "Invalid procedure call or
invalid argument: GetRef."

I have tried prefixing the function name with Me (as in GetRef("me.Test")),
but without any luck.

Any ideas?

Thx,

Ole Thrane
Pentia, Denmark

Michael Harris

unread,
Mar 20, 2002, 1:21:03 PM3/20/02
to
You can't use GetRef() with a method of an instance of a VBScript class, it simply isn't supported.

--
Michael Harris
Microsoft.MVP.Scripting
Seattle WA US
--

"Ole Thrane" <o...@pentia.dk> wrote in message news:Ol2nVfA0BHA.2740@tkmsftngp07...

0 new messages