I am using an ActiveX EXE running on a server and I want to call an instance of it by client scripting in an ASP. Everything is defined and registered in DCOM, but if I use the <script> tag, how should i do it? Because using the following:
<script language=vbscript>
Dim RSPserver
set RSPserver=CreateObject("RemoteComponent.RSPServer","192.10.10.200"
</script>
I get the following error: Object variable not set: 'createObject'
and if I modify to look like this:
Dim RSPserver as RemoteComponent.RSPServer
then i get 'expected end of statement'
somebody knows what is missing??
Thanks,
alej
<script language=vbscript>
Dim RSPserver
set RSPserver=CreateObject("RemoteComponent.RSPServer","192.10.10.200"
</script>
I get the following error: Object variable not set: 'createObject'
and if I modify to look like this:
Dim RSPserver as RemoteComponent.RSPServer
then i get 'expected end of statement'
somebody knows what is missing??
Thanks,
alej