Dear all,

The script below (test.htm) if I execute from my C drive is okay,

but if I put the test.htm on my NT workstation

(remote, non webserver, just as a sharing drive)

it will prompt "ActiveX component can't create object 'Outlook.Application'" after I click the button.

Anybody can tell me why? and how to solve it?

Thank you in advance.


Keiko

--------------------


<HTML>
<BODY>

<Script Language = "VBScript">

Private Sub SendAnswer
Set objOutlook = CreateObject("Outlook.Application")
Set objMail = objOutlook.CreateItem(0)
objMail.Recipients.Add("Keiko")
objMail.Subject = "Test"
objMail.Body = "Test"
objMail.Send
End Sub

</Script>

<input type="button" name="cmdAnswer" value = "Click" size="65" onClick="SendAnswer">

</BODY>
</HTML>