Let me start here by saying this is my first foray into Outlook (VBA or VBScript) coding. I am a VB C# .Net programmer by trade.
The request: Custom OL Appointment Form, Displayed with a Macro Button and when saving the appointment made by the user email another user the appointment information (this is not inviting the second user to the appointment). This is a form for one user within the company to use through citrix, locally or webmail.
Code to send email is in VBScript located in the Item_Write Function.....this seems to work fine when the custom appointment form is saved to my personal outlook folder. And the Macro is local to my computer (I created a certificate to get rid of the macro message).
But when I publish the same form to an Exchange Server Folder the code does not save the appointment, nor will it send the email.
1. Should the form be published somewhere other than the Exchange Folder?
2. Does my form code need to have some specific code to get the users mailbox, and calendar folders?
3. Is there some Exchange Server security stopping this from working?
4. Would all of this be easier if I figure out how to create an Outlook Add In?
Any help would be greatly appreciated.....I have been referencing Sue Mosher's Outlook Programming book and it is a great help, as well as this website.
Thanks,
The request: Custom OL Appointment Form, Displayed with a Macro Button and when saving the appointment made by the user email another user the appointment information (this is not inviting the second user to the appointment). This is a form for one user within the company to use through citrix, locally or webmail.
Code to send email is in VBScript located in the Item_Write Function.....this seems to work fine when the custom appointment form is saved to my personal outlook folder. And the Macro is local to my computer (I created a certificate to get rid of the macro message).
But when I publish the same form to an Exchange Server Folder the code does not save the appointment, nor will it send the email.
1. Should the form be published somewhere other than the Exchange Folder?
2. Does my form code need to have some specific code to get the users mailbox, and calendar folders?
3. Is there some Exchange Server security stopping this from working?
4. Would all of this be easier if I figure out how to create an Outlook Add In?
Any help would be greatly appreciated.....I have been referencing Sue Mosher's Outlook Programming book and it is a great help, as well as this website.
Thanks,