Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Best way to programmatically create a custom outlook form

Posted on 2009-04-08
9
Medium Priority
?
668 Views
Last Modified: 2012-05-06
Hello.

I have been tasked with creating a customized Outlook appointment form (Exchange 2003) and writing the contents of the form to a sql database which will be pulled by a SharePoint Calendar.  I have been searching online for ways to extend Outlook through Visual Studio.  As a C# programmer, is it possible to create a customized Outlook appointment form (add-in perhaps and winform)?  Can anyone recommend a tutorial to send me in the right direction?  What I am most concerned is how the form would be opened in Outlook.    Please advise.  Thanks in advance.  
0
Comment
Question by:ayoZen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 76

Accepted Solution

by:
David Lee earned 800 total points
ID: 24098458
Hello again, ayoZen.

As I mentioned in your question from yesterday it is not possible to create a custom Outlook form outside of Outlook.  The ONLY way to create a custom Outlook form is via the form designer that's built into Outlook.  Custom Outlook forms are constrained to being a modified version of an existing Outlook form.  A custom appointment form would have to be based on Outlook's built in appointment form.  You could write an add-in that uses a WinForm, but Outlook will never see this as an Outlook form and it will never behave like an Outlook form.  You can extend Outlook via Visual Studio by writing an add-in.  By extend I mean add behavior to Outlook that it does not already possess.

Based on the task you outlined above you can accomplish this by

1.  Creating a custom Outlook form using Outlook's form designer

2.  Writing code behind the form to add logic and functionality to the form.  That code MUST be written in VBScript.  if you take this approach, then you will only need to deploy the form.  The code behind the form is actually part of the form.

3.  As an alternative to #2 you can create an add-in that complements the form.  Add-ins can be written in C#.  If you select this approach, then you will have to deploy the form and the add-in to every computer that will ever use the form.
0
 

Author Comment

by:ayoZen
ID: 24098571
I see.  Adding to every computer would be a pain.  Please bear with me.  Is it possible to deploy the form and add-in on the exchange server?   Thus, the form would be available to all users within the specified group.
0
 
LVL 76

Expert Comment

by:David Lee
ID: 24098613
The form, yes.  The add-in, no.  Forms are published to either a folder or a form library.  Add-ins are compiled and must be installed at every computer that's going to use them.  You can use an automated tool like Microsoft SMS, but you can't just drop them on the Exchange server.  
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:ayoZen
ID: 24148253
What is Microsoft SMS?  How does this work?
0
 

Author Comment

by:ayoZen
ID: 24148369
Oh...one more question,  as i looked at the alternatives you outlined, #2, you stated that I would only need to deploy the form:

<<2.  Writing code behind the form to add logic and functionality to the form.  That code MUST be written in VBScript.  if you take this approach, then you will only need to deploy the form.  The code behind the form is actually part of the form.>>

By deploying the form, does that mean that I could then place the form on the exchange server?  I need to be able to swap my custom form as a default main form and only for a particular AD group.  

thanks in advance for your patience.

0
 
LVL 76

Expert Comment

by:David Lee
ID: 24153413
Forms are normally deployed by publishing them to the organizational forms library.  That will make the form available to everyone, but it won't make it the default form.  That's done by making a change in the registry.  You can also publish a form to a particular folder and set it to be the default form for that folder.  
0
 

Author Comment

by:ayoZen
ID: 24185898
thanks so much for your help!
0
 

Author Closing Comment

by:ayoZen
ID: 31568078
Thank you!
0
 
LVL 76

Expert Comment

by:David Lee
ID: 24189004
You're welcome.  Glad I could help.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question