Keiko
May 8th, 2001, 01:57 AM
Dear all,
When I execute (after clicking the button) the script below from my C drive ... the result is okay, but when I run it from mapped drive (I use other PC to share its folder, put the script file down there and call the script file from my PC mapped to other PC's folder) ... the result is not okay.
Error message:
ActiveX component can't create object 'Outlook.Application'
Does anyone know why and how to solve it?
--------------------
<HTML>
<BODY>
<Script Language = "VBScript">
Private Sub SendAnswer
Set objOutlook = CreateObject("Outlook.Application")
End Sub
</Script>
<input type="button" name="cmdAnswer" value = "Click" size="65" onClick="SendAnswer">
</BODY>
</HTML>
When I execute (after clicking the button) the script below from my C drive ... the result is okay, but when I run it from mapped drive (I use other PC to share its folder, put the script file down there and call the script file from my PC mapped to other PC's folder) ... the result is not okay.
Error message:
ActiveX component can't create object 'Outlook.Application'
Does anyone know why and how to solve it?
--------------------
<HTML>
<BODY>
<Script Language = "VBScript">
Private Sub SendAnswer
Set objOutlook = CreateObject("Outlook.Application")
End Sub
</Script>
<input type="button" name="cmdAnswer" value = "Click" size="65" onClick="SendAnswer">
</BODY>
</HTML>