Re: Handling Events in a VBScript Class
- From: mr_unreliable <kindlyReplyToNewsgroup@xxxxxxxxxxx>
- Date: Sat, 05 Jul 2008 11:06:44 -0400
vorpal wrote:
My workaround for the other problem was to have a global sub call the
class member I really wanted to usr. This DOES work, but it breaks
encapsulation. Breaks it? Heck, it crushes it, but like I say, it
does work. Ugly, Ugly
Yes Vorpal, the life of a scripter is filled with disappointments.
vbs is somewhat limited in what it can do, and so you-don't-always-
get-what-you-want. Scripters must frequently resort to:
work-arounds, compromises, brute-force -- and yes --
just plain UGLY code...
Your only consolation is that your boss doesn't usually care
about ugly, as long as you meet your project completion target
date...
cheers, jw
.
- References:
- Handling Events in a VBScript Class
- From: vorpal
- Re: Handling Events in a VBScript Class
- From: mr_unreliable
- Re: Handling Events in a VBScript Class
- From: vorpal
- Handling Events in a VBScript Class
- Prev by Date: Re: wshremote not running script on remote computer
- Next by Date: Re: wshremote not running script on remote computer
- Previous by thread: Re: Handling Events in a VBScript Class
- Next by thread: Multiple IF Conditions
- Index(es):
Loading