|
The first snippet runs
client side (in your browser), while the second runs serverside (in CF).
You'll need to install the component on the server in order for it to
work.
This works
<script language="VBScript"> Sub
FindButton_OnClick Dim
ZP4 Set ZP4 = CreateObject("ZPComSrv.ZP4Com") End
Sub </script>
This doesn't
<cfobject type="com"
action="" class="ZPComSrv.ZP4Com" name="zp4">
I get an
error:
An exception occurred when
instantiating a Com object. The cause
of this exception was that: java.lang.NullPointerException.
What
would cause this. It must be registered or the vbscript wouldn't work,
right?
Also, can I access those vars from vbscript (zp4) with cold
fusion later in the page?
Can someone point me in the right direction for troubleshooting com
object and whatever other information on using com object that you know
of.
TIA,
--------------------- David Mineer
--------------------- Don't wish it was easier; wish you were
better. Don't wish for less problems; wish for more skills. Don't wish
for less challenges; wish for more wisdom.
|