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 and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Is it possible to open the default Contact form with the Activities tab activated from a custom form? VSTO 2005, Outlook 2003



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 20th 06, 09:48 PM posted to microsoft.public.outlook.program_vba
David Webb
external usenet poster
 
Posts: 1
Default Is it possible to open the default Contact form with the Activities tab activated from a custom form? VSTO 2005, Outlook 2003

I have created a custom Contact form which is attached to the contacts. I
would like to use a button on the custom form to open the default Contacts
form with the Activities tab selected. The Click event would detach the
contact from the custom form, open the default form with the Activities tab
activated (which is what I don't know how to do), and then reattach the
contact to the custom form again leaving both forms open.

Right now, I can open a contact in the Custom form, click a button on the
custom form to detach the contact from the custom form, and then click on
the contact again which opens the default form leaving both the custom and
default forms open. But once the form is detached from the contact, it
remains detached until Outlook is restarted (which attaches the form to all
contacts) or a button on the main outlook toolbar is clicked attaching all
of the contacts to the custom form again.

As far as I know, the only way to get the functionality from the Activities
tab would be to either open the default contact form with that tab selected
or create another custom form and try to reproduce the functionality.

If possible, how can I open the default Contact form with the Activities tab
activated?

David


Ads
  #2  
Old June 20th 06, 09:59 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Is it possible to open the default Contact form with the Activities tab activated from a custom form? VSTO 2005, Outlook 2003

Take a look at the Inspector.ShowFormPage method. That's what you use to show any particular page.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"David Webb" strangecargo wrote in message ...
I have created a custom Contact form which is attached to the contacts. I
would like to use a button on the custom form to open the default Contacts
form with the Activities tab selected. The Click event would detach the
contact from the custom form, open the default form with the Activities tab
activated (which is what I don't know how to do), and then reattach the
contact to the custom form again leaving both forms open.

Right now, I can open a contact in the Custom form, click a button on the
custom form to detach the contact from the custom form, and then click on
the contact again which opens the default form leaving both the custom and
default forms open. But once the form is detached from the contact, it
remains detached until Outlook is restarted (which attaches the form to all
contacts) or a button on the main outlook toolbar is clicked attaching all
of the contacts to the custom form again.

As far as I know, the only way to get the functionality from the Activities
tab would be to either open the default contact form with that tab selected
or create another custom form and try to reproduce the functionality.

If possible, how can I open the default Contact form with the Activities tab
activated?

David


 




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
Why is my contact form not showing the Activities Tab? Priority Outlook - Using Contacts 5 June 16th 06 01:31 AM
Tab not visible on custom form Matt Outlook - Using Forms 2 May 25th 06 12:19 AM
Duplicate Contact Detection Outlook 2003 Custom Form [email protected] Outlook - Using Contacts 1 March 20th 06 03:02 PM
Custom form tab name change Richard Edwards Outlook - Using Forms 1 February 22nd 06 02:24 PM
Cannot programmatically open custom message in custom form ms Outlook - Using Forms 1 January 20th 06 03:01 PM


All times are GMT +1. The time now is 06:59 PM.


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