
W2K Doesn't Load ActiveX Control But W98 and WXP Do Load ActiveX Control Correctly
Developed using VB6 SP5 on W98 (not SE) and also on WXP Pro:
The .asp page - shown below - loads the control using the <object> tag when
referenced from
a W98 or Windows XP Pro machine, and everything works fine.
I used the MS Package and Deployment Wizard to create an Internet
installation.
My browser security settings for Activex Controls are all 'enabled' or
'prompt'.
I haven't 'signed' my control, but by accepting unsigned controls everything
works perfectly on non-W2K machines.
However, when referenced from a Windows 2000 Pro machine I get the 'Object
doesn't support this property or method: oTWC.Startup'.
Here's the asp page on my website:
<HTML>
<HEAD>
<SCRIPT LANGUAGE="VBScript">
<!--
Sub window_onLoad()
call oTWC.Startup
end sub
-->
</SCRIPT>
<TITLE>Client-Side Software</TITLE>
</HEAD>
<BODY>
<OBJECT ID="oTWC" BORDER="0" HEIGHT="0" WIDTH="0"
CLASSID="CLSID:CEF7CA89-5B20-4D87-8788-7CA8702454E2"
CODEBASE="TWC.CAB#version=4,0,0,0">
</OBJECT>
</BODY>
</HTML>
I've even stripped out all code except for opening a blank form with one
button - that closes form - and W2K still won't load it.
--
Thank you,
Dan Sikorsky MSCS, BSCE, BAB