S
Sipho
Hi,
I need to instantiate a VB6 function and call it from javascript in
ASP.
<script language='javascript'>
function onScheduleTask() {
var ocuScheduler
ocuScheduler = new ActiveXObject("CCUtility.CU_ScheduledTaskQueue")
ocuScheduler.AddScheduledTask(SCHEDTASKTYPE_POLLEDQUEUED)
}
</script>
looking at the code above :
->("CCUtility.CU_ScheduledTaskQueue") is a VB6 function running under
COM+
->ocuScheduler.AddScheduledTask(SCHEDTASKTYPE_POLLEDQUEUED)- here I'm
trying to call that function passing a parameter.
I get an error message when I try to execute the code : "Automation
server can't create object"
Please help.
I need to instantiate a VB6 function and call it from javascript in
ASP.
<script language='javascript'>
function onScheduleTask() {
var ocuScheduler
ocuScheduler = new ActiveXObject("CCUtility.CU_ScheduledTaskQueue")
ocuScheduler.AddScheduledTask(SCHEDTASKTYPE_POLLEDQUEUED)
}
</script>
looking at the code above :
->("CCUtility.CU_ScheduledTaskQueue") is a VB6 function running under
COM+
->ocuScheduler.AddScheduledTask(SCHEDTASKTYPE_POLLEDQUEUED)- here I'm
trying to call that function passing a parameter.
I get an error message when I try to execute the code : "Automation
server can't create object"
Please help.