
Connect to ActiveX Dll in VB-Script
Hi all,
I build an ActiveX Dll in Visual Basic 6.0 that is used as an wrapper for
other Dll's. I need this to access normal dll's from my VB-Script in an HTML
page.
Now my problem is that my script doesn't want to load the ActiveX Dll unless
it is running in debug mode in Visual Basic 6.0.
I have the following code in my HTML:
<OBJECT classid="clsid:69C7239B-5966-11D2-9315-006008BF5C76" id=safutil>
</OBJECT>
<script Language="VBScript" RUNAT SERVER>
<!--
....
MyFormattedVar = safutil.AxFormat(MyVar, MyFormatMask)
....
-->
</script>
AxFormat is an function that formats a variable and returns a string.
My question is: How can I make this ActiveX Dll work while not having the
Dll run in the VB 6.0 de{*filter*}?
Thanks,
Radboud.