How to return data to an HTML form from an Outlook folder with "View Control"

Joined
Aug 3, 2006
Messages
1
Reaction score
0
I am using "View Control" to display an Outlook "New Appointment" window. No problem here. What I want is that when the new appointment is saved, It will update the 2 form fields: sDate and sTime with the start date and start time of the appointment. Could not figure that out. In the future I may want to return additional data as well.

Here is the code I have so far:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>View Control</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
</HEAD>
<BODY>
<form name="form1">
<INPUT TYPE = "SUBMIT" NAME = "getAppointment" VALUE = "GoToDate">
Date: <input type="text" name="sDate">
Time: <input type="text" name="sTime">
</form>
<OBJECT id=ViewCtl classid=CLSID:0006F063-0000-0000-C000-000000000046 width="0%" height=0%></OBJECT>
<SCRIPT language=VBScript>
Sub getAppointment_onClick()
ViewCtl.NewAppointment()
End Sub
</SCRIPT>
</BODY>
</HTML>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top