N
nitro
Hi,
I'm a newbe to all of these technologies so please bear with me.
I have a .oft created, which is basically a meeting request form with a
couple radio buttons and a text box present in a new tab. I am able to
display the form using the code below but I can't seem to access the values
that the users enter into these additional fields. Essentially, what I'm
trying to do is to present this form to a user and obtain their inputs from
the form before they hit send. Can someone please tell me how to add to the
code below in order to retrieve (and even save within Outlook) the values of
these additional fields that I've defined.
<code>
Outlook._Application olApp = new Outlook.ApplicationClass();
Outlook._NameSpace olNs = olApp.GetNamespace("MAPI");
Outlook.MAPIFolder foldername =
olNs.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar);
Outlook._AppointmentItem oAppointment =
(Outlook._AppointmentItem)olApp.CreateItemFromTemplate("C:/OutlookForms/TelePresenceForm2.oft", foldername);
oAppointment.Display(true);
</code>
Thanks.
I'm a newbe to all of these technologies so please bear with me.
I have a .oft created, which is basically a meeting request form with a
couple radio buttons and a text box present in a new tab. I am able to
display the form using the code below but I can't seem to access the values
that the users enter into these additional fields. Essentially, what I'm
trying to do is to present this form to a user and obtain their inputs from
the form before they hit send. Can someone please tell me how to add to the
code below in order to retrieve (and even save within Outlook) the values of
these additional fields that I've defined.
<code>
Outlook._Application olApp = new Outlook.ApplicationClass();
Outlook._NameSpace olNs = olApp.GetNamespace("MAPI");
Outlook.MAPIFolder foldername =
olNs.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar);
Outlook._AppointmentItem oAppointment =
(Outlook._AppointmentItem)olApp.CreateItemFromTemplate("C:/OutlookForms/TelePresenceForm2.oft", foldername);
oAppointment.Display(true);
</code>
Thanks.