|
-
May 2nd, 2001, 07:48 PM
#1
Thread Starter
Addicted Member
Expert Expert Help
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>
-
May 2nd, 2001, 11:26 PM
#2
Addicted Member
The NT workstation does not have outlook installed. Right ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|