Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Open Custom Form (http://www.outlookbanter.com/outlook-using-forms/70020-open-custom-form.html)

Nir April 9th 08 10:59 AM

Open Custom Form
 
Hi,

I need to design a set of custom forms which will open in a new separate inspector window.
I only succeed to open a custom form on an existing inspector such as Task.
How can I open my custom form in a new inspector window?

TIA.


Sue Mosher [MVP-Outlook] April 9th 08 03:20 PM

Open Custom Form
 
Have you tried the Tools | Forms | Choose Form command?

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


"Nir" wrote in message ...
Hi,

I need to design a set of custom forms which will open in a new separate inspector window.
I only succeed to open a custom form on an existing inspector such as Task.
How can I open my custom form in a new inspector window?

TIA.


Nir April 10th 08 08:53 AM

Open Custom Form
 
I meant programmatically but I already succeed.

Outlook.MAPIFolder folder = application.ActiveExplorer).CurrentFolder;

Outlook.MailItem item = (Outlook.MailItem) folder.Items.Add("IPM.Note.CustomForm);

item.Display(true);

But now I have another problem :), How can I close the inspector which holds the form, when I tried ActiveInspector().close , it only closes the form and not the window.

Thanks.

Sue Mosher [MVP-Outlook] April 10th 08 02:57 PM

Open Custom Form
 
I'm not sure what you mean. The form and the window are the same thing in this context: The window displays the form, which shows the data from the item.

Also, given that you have the MailItem object, why not use item.CLose?

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


"Nir" wrote in message ...
I meant programmatically but I already succeed.

Outlook.MAPIFolder folder = application.ActiveExplorer).CurrentFolder;

Outlook.MailItem item = (Outlook.MailItem) folder.Items.Add("IPM.Note.CustomForm);

item.Display(true);

But now I have another problem :), How can I close the inspector which holds the form, when I tried ActiveInspector().close , it only closes the form and not the window.

Thanks.


gene May 2nd 08 12:01 AM

Open Custom Form
 
How do I associate a custom form update to a specific Task folder in outlook.
I updated the custom form already assigned to the ITChanges task folder.
When I open a new task in ITChanges the new form does not come up.

I created a test folder to create & applied the new forms there.
I can't get them to save let alone come up as the default form for the folder.

I could realy use a hand.

Help!!

"Sue Mosher [MVP-Outlook]" wrote:

Have you tried the Tools | Forms | Choose Form command?

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


"Nir" wrote in message ...
Hi,

I need to design a set of custom forms which will open in a new separate inspector window.
I only succeed to open a custom form on an existing inspector such as Task.
How can I open my custom form in a new inspector window?

TIA.



Sue Mosher [MVP-Outlook] May 2nd 08 12:21 AM

Open Custom Form
 
While in design mode, did you increment the version number on the (Properties) page of the task form and then republish the form using the same message class?

On the Properties dialog for the folder, is the published custom form set as the default form for the folder?

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


"Gene" wrote in message ...
How do I associate a custom form update to a specific Task folder in outlook.
I updated the custom form already assigned to the ITChanges task folder.
When I open a new task in ITChanges the new form does not come up.

I created a test folder to create & applied the new forms there.
I can't get them to save let alone come up as the default form for the folder.



gene May 2nd 08 06:52 PM

Open Custom Form
 
Thank you for the update.
I tried publish earlier but I did not know about the (Version) attribute on
the [Properties] tab. I incremented the version number & saved it to the
same name.
The updated form comes up as the default form now.

It (however) refuses to save to the folder when filled in.
I checked the permissions properties of the folder and I am listed as an
Owner.
What did I miss?

"Sue Mosher [MVP-Outlook]" wrote:

While in design mode, did you increment the version number on the (Properties) page of the task form and then republish the form using the same message class?

On the Properties dialog for the folder, is the published custom form set as the default form for the folder?

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


"Gene" wrote in message ...
How do I associate a custom form update to a specific Task folder in outlook.
I updated the custom form already assigned to the ITChanges task folder.
When I open a new task in ITChanges the new form does not come up.

I created a test folder to create & applied the new forms there.
I can't get them to save let alone come up as the default form for the folder.




Sue Mosher [MVP-Outlook] May 2nd 08 07:02 PM

Open Custom Form
 
What happens when you try to save an item created with the form? On the folder's Properties dialog, is there a restriction on what forms can be used?

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


"Gene" wrote in message ...
Thank you for the update.
I tried publish earlier but I did not know about the (Version) attribute on
the [Properties] tab. I incremented the version number & saved it to the
same name.
The updated form comes up as the default form now.

It (however) refuses to save to the folder when filled in.
I checked the permissions properties of the folder and I am listed as an
Owner.
What did I miss?

"Sue Mosher [MVP-Outlook]" wrote:

While in design mode, did you increment the version number on the (Properties) page of the task form and then republish the form using the same message class?

On the Properties dialog for the folder, is the published custom form set as the default form for the folder?

"Gene" wrote in message ...
How do I associate a custom form update to a specific Task folder in outlook.
I updated the custom form already assigned to the ITChanges task folder.
When I open a new task in ITChanges the new form does not come up.

I created a test folder to create & applied the new forms there.
I can't get them to save let alone come up as the default form for the folder.




gene May 2nd 08 07:26 PM

Open Custom Form
 
It's fixed now.
I revisited the [IT Changes] Task Folder Properties dialog again and spent
some more time on the other tabs.
* "When posting to this folder, use" Drop down box on the [General] tab was
blank
* I chose the form update from yesterday
* That action populated the "Forms associated with this folder:" Text Box
and actived the [Manage...] button on the [Forms] tab.
* The form update I did today then allowed itself to save.
* I (however) more form names than care to look at.

Multiple forms have been published to this folder.
How do I go about cleaning up?

Gene Townsend
"Sue Mosher [MVP-Outlook]" wrote:

What happens when you try to save an item created with the form? On the folder's Properties dialog, is there a restriction on what forms can be used?

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


"Gene" wrote in message ...
Thank you for the update.
I tried publish earlier but I did not know about the (Version) attribute on
the [Properties] tab. I incremented the version number & saved it to the
same name.
The updated form comes up as the default form now.

It (however) refuses to save to the folder when filled in.
I checked the permissions properties of the folder and I am listed as an
Owner.
What did I miss?

"Sue Mosher [MVP-Outlook]" wrote:

While in design mode, did you increment the version number on the (Properties) page of the task form and then republish the form using the same message class?

On the Properties dialog for the folder, is the published custom form set as the default form for the folder?

"Gene" wrote in message ...
How do I associate a custom form update to a specific Task folder in outlook.
I updated the custom form already assigned to the ITChanges task folder.
When I open a new task in ITChanges the new form does not come up.

I created a test folder to create & applied the new forms there.
I can't get them to save let alone come up as the default form for the folder.




Sue Mosher [MVP-Outlook] May 2nd 08 08:11 PM

Open Custom Form
 
On that same folder Properties dialog, on the Forms tab, click the Manage button.

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


"Gene" wrote in message ...
It's fixed now.
I revisited the [IT Changes] Task Folder Properties dialog again and spent
some more time on the other tabs.
* "When posting to this folder, use" Drop down box on the [General] tab was
blank
* I chose the form update from yesterday
* That action populated the "Forms associated with this folder:" Text Box
and actived the [Manage...] button on the [Forms] tab.
* The form update I did today then allowed itself to save.
* I (however) more form names than care to look at.

Multiple forms have been published to this folder.
How do I go about cleaning up?

Gene Townsend
"Sue Mosher [MVP-Outlook]" wrote:

What happens when you try to save an item created with the form? On the folder's Properties dialog, is there a restriction on what forms can be used?

"Gene" wrote in message ...
Thank you for the update.
I tried publish earlier but I did not know about the (Version) attribute on
the [Properties] tab. I incremented the version number & saved it to the
same name.
The updated form comes up as the default form now.

It (however) refuses to save to the folder when filled in.
I checked the permissions properties of the folder and I am listed as an
Owner.
What did I miss?

"Sue Mosher [MVP-Outlook]" wrote:

While in design mode, did you increment the version number on the (Properties) page of the task form and then republish the form using the same message class?

On the Properties dialog for the folder, is the published custom form set as the default form for the folder?

"Gene" wrote in message ...
How do I associate a custom form update to a specific Task folder in outlook.
I updated the custom form already assigned to the ITChanges task folder.
When I open a new task in ITChanges the new form does not come up.

I created a test folder to create & applied the new forms there.
I can't get them to save let alone come up as the default form for the folder.





All times are GMT +1. The time now is 09:15 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-2006 OutlookBanter.com