Click to See Complete Forum and Search --> : Microsoft Scriptlet Component question


Lothar Haensler
May 18th, 1999, 09:22 AM
I'd like to use some JScript functions in my VB app. Thus, I tried to add a reference to the Microsoft Scripting Component (not the Microsoft Scriptlet Control) to my VB 6 (SP 2 installed) app.

Dim withevents x as wblib.scriptlet

set x = new wblib.scriptlet
x.url = "..."



as soon as I try to assign a value to the URL property VB dies with a general protection fault.

Any hints?
Yes, it does NOT happen if I use the Scriptlet Control, but I am searching for a solution without that control for several reasons.