![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#7
|
|||
|
|||
![]()
I got the OLFroms working now thanks, but I am still having a problem with
getting a handle to the pages in the inspector. With the line of code: colPages = oInsp.ModifiedFormPages; I had to type cast "oInsp.ModifiedFormPages" because the ModifiedFormPages property returns an object. When I type cast it to "Outlook.Pages" it works alright but if I type cast it "OLForms.Pages" it dosnt work. Do you have any sugguestions around this ? "Ken Slovak - [MVP - Outlook]" wrote: My bad. I left out some alias declarations in the "using" section before the start of class ThisApplication: using Outlook = Microsoft.Office.Interop.Outlook; using OLForms = Microsoft.Vbe.Interop.Forms; using Office = Microsoft.Office.Core; etc. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "lg" wrote in message ... This might seem like a bit of a dumb question, I added the reference "MS Forms 2.0" to the project but the Visual Studio dos'nt seem to recognize OLForms as a valid namespace, am I missing some else ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
my first outlook add-in, in c++... | optimist | Add-ins for Outlook | 3 | May 16th 06 05:44 PM |
How to add dynamically add controls in Outlook 2003 | Rahul | Outlook and VBA | 5 | May 8th 06 03:38 PM |
How to add dynamically add controls in Outlook 2003 | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 4 | May 8th 06 03:38 PM |
Add-In in Outlook doesn't load any more | outl00kalium | Add-ins for Outlook | 0 | January 8th 06 05:49 PM |