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

why can't you add a page to a form just like you can add a page to the property page



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old January 24th 06, 09:58 PM posted to microsoft.public.outlook.program_forms,microsoft.public.office.developer.com.add_ins
donald
external usenet poster
 
Posts: 25
Default why can't you add a page to a form just like you can add a page to the property page


Hi all

I'm trying to add a page of type "Microsoft.Vbe.Interop.Forms.UserForm"
to a item in outlook. But i don't know the right way to do this in my
VB.net COM add-in.

i have got this code at the mo:

Dim objPages As Outlook.Pages
Dim objPage As Microsoft.Vbe.Interop.Forms.UserForm
objPages = CType(activeClient.GetInspector.ModifiedFormPages,
Outlook.Pages)

Dim a As testing1
a = New testing1
objPage = objPages.Add("testing")


activeClient.GetInspector.ShowFormPage("testing")
activeClient.GetInspector.SetCurrentFormPage("test ing")

But i now need to add testing1 on to the form i wish it was a easy as
when u add a property page as the detail expalin below.

So i need to pass the 'a' which is my form in my outlook com add-in

Thanks a lot for any help

Donald


Add method as it applies to the Pages object.

Creates a new page in the Pages collection and returns the new object.
The Pages collection is initially empty, and there is a limit of 5
customizable pages per collection.

expression.Add(Name)
expression Required. An expression that returns a Pages collection
object.

Name Required. String. The name of the page.

Add method as it applies to the PropertyPages object.



Adds a new custom property page to the Microsoft Outlook Options dialog
box or to the folder Properties dialog box.

expression.Add(Page, Title)
expression Required. An expression that returns a PropertyPages
collection object.

Page Required Variant. The property page being added to the dialog
box.

Title Optional String. The caption to be displayed on the
property-page tab.

 




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
outlook page file usage Dan Gunks Outlook - Installation 0 March 5th 06 10:00 PM
Start up page in outlook Tony Pagett Outlook - General Queries 5 March 5th 06 03:02 PM
how do I set up a calendar as a web page? VA rider Outlook - General Queries 1 January 29th 06 09:50 AM
How to add second page of labels in contacts mail merge? Rons Bicycle Works Outlook - Using Contacts 1 January 23rd 06 02:06 PM
Printing 4 months on 1 page R.Connor Outlook - Calandaring 0 January 10th 06 05:20 PM


All times are GMT +1. The time now is 06:30 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.