A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to create and call Microsoft Custom Form in Outlook 2003 Mail?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 8th 08, 01:02 PM posted to microsoft.public.outlook.program_forms
Naval kishore
external usenet poster
 
Posts: 1
Default How to create and call Microsoft Custom Form in Outlook 2003 Mail?

Hi Experts,

This is my current requirement for which I am looking for a solution
desperately.

I have to create a Microsoft Custom Form having Command Butons and TextBoxes
in which the values will get populated from an MS-Access Database.

Then, I have to call this form whenever a user clicks on a mail existing in
the Outlook 2003 Inbox.

The form should open up inside the message(body of the mail) window when I
open the mail.

I have searched many avenues but I have not found any success on how to do
this.

I would appreciate any sample code, documentation and ideas on how to do the
same

Warm Regards,
Naval Kishore

  #2  
Old May 8th 08, 01:53 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to create and call Microsoft Custom Form in Outlook 2003 Mail?

The form should open up inside the message(body of the mail) window when I
open the mail.


That's not how custom forms work. The body of the message is one among many elements of a form, not a container for the form. In other words, the body appears on the form, not the form inside the body.

I have to create a Microsoft Custom Form having Command Butons and TextBoxes
in which the values will get populated from an MS-Access Database.


These pages have information to assist you:

http://www.outlookcode.com/article.aspx?ID=35 - basics on creating Outlook forms
http://www.outlookcode.com/article.aspx?ID=25 - connecting Outlook with databases

The event that fires when a form opens to display is Open, so you probably would want to put your VBScript code to connect with the database in the Item_Open event handler.

Then, I have to call this form whenever a user clicks on a mail existing in
the Outlook 2003 Inbox.


To get an existing message to open with a custom form, you must change the MessageClass property of the message to point to your published custom form. The default value is "IPM.Note." To use a custom form, the value would need to be "IPM.Note.MyForm" or whatever the class is of the custom form. There are several possible ways to process incoming items to make this change; see http://www.outlookcode.com/article.aspx?id=62. If this application is for your personal use, you can handle that task in Outlook VBA. If it's for other people, you should be looking at building an add-in.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Naval kishore" Naval wrote in message ...
Hi Experts,

This is my current requirement for which I am looking for a solution
desperately.

I have to create a Microsoft Custom Form having Command Butons and TextBoxes
in which the values will get populated from an MS-Access Database.

Then, I have to call this form whenever a user clicks on a mail existing in
the Outlook 2003 Inbox.

The form should open up inside the message(body of the mail) window when I
open the mail.

I have searched many avenues but I have not found any success on how to do
this.

I would appreciate any sample code, documentation and ideas on how to do the
same

Warm Regards,
Naval Kishore

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create custom form in Outlook 2007 [email protected] Outlook - Using Forms 11 October 17th 08 06:43 PM
Problems with Outlook 2003 to form Microsoft Mail Excequiel A. Outlook - General Queries 1 June 19th 07 03:37 PM
Custom Form w/ DB Call rm Outlook - Using Forms 0 March 8th 07 01:35 AM
How do you create dropdowns in a form using Microsoft Outlook? Slappy Outlook - Using Forms 4 July 27th 06 12:10 AM
Is it possible to create and publish Outlook Custom Form through VBA [email protected] Outlook - General Queries 3 March 10th 06 09:25 PM


All times are GMT +1. The time now is 06:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.