PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Program Addins
Typelibrary for Pages and GetModifiedFOrmPages
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Program Addins
Typelibrary for Pages and GetModifiedFOrmPages
![]() |
Typelibrary for Pages and GetModifiedFOrmPages |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
What type library do I need to use for the Pages collection and a Page item
returned from GetModifiedFormPages ? Thanks -- Michael Tissington http://www.oaklodge.com http://www.tabtag.com |
|
|
|
#2 |
|
Guest
Posts: n/a
|
MSForms 2.0. If you use anything from there in your code make sure to
declare the objects as Object and not as strongly typed objects. -- 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 "Michael Tissington" <michael@nospam.com> wrote in message news:eiBmSSlTEHA.2372@TK2MSFTNGP11.phx.gbl... > What type library do I need to use for the Pages collection and a Page item > returned from GetModifiedFormPages ? > > Thanks > > -- > Michael Tissington > http://www.oaklodge.com > http://www.tabtag.com > > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Ken,
Thanks, I'm using C++ and when I include this (fm20.dll) in my project I get a number of unknowns ... Picture and MouseIcon, any idea which Typelib these maybe in ? Why should they not be strongly type cast ? -- Michael Tissington http://www.oaklodge.com http://www.tabtag.com "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:umat43uTEHA.1984@TK2MSFTNGP12.phx.gbl... > MSForms 2.0. If you use anything from there in your code make sure to > declare the objects as Object and not as strongly typed objects. > > -- > 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 > > > "Michael Tissington" <michael@nospam.com> wrote in message > news:eiBmSSlTEHA.2372@TK2MSFTNGP11.phx.gbl... > > What type library do I need to use for the Pages collection and a Page > item > > returned from GetModifiedFormPages ? > > > > Thanks > > > > -- > > Michael Tissington > > http://www.oaklodge.com > > http://www.tabtag.com > > > > > > > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
No idea, I use VB 6 and have no problems when I reference MS Forms 2.0. I
haven't ever used it with C++ however. Picture is a StdPicture in the stdole library and MouseIcon is also declared as StdPicture, accoriding to the Object Browser in Outlook VBA. -- 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 "Michael Tissington" <michael@nospam.com> wrote in message news:%23ddI55vTEHA.1048@tk2msftngp13.phx.gbl... > Ken, > > Thanks, I'm using C++ and when I include this (fm20.dll) in my project I get > a number of unknowns ... > > Picture and MouseIcon, any idea which Typelib these maybe in ? > > Why should they not be strongly type cast ? > > -- > Michael Tissington > http://www.oaklodge.com > http://www.tabtag.com |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Michael,
if you haven't already cracked this one, this is how I import fm20.dll: #import <fm20.dll> no_auto_exclude \ no_namespace \ named_guids \ rename("OLE_COLOR", "FormsOLE_COLOR") \ rename("OLE_HANDLE", "FormsOLE_HANDLE") \ rename("Pages", "FormPages") \ rename("IFont", "FormsFont") HTH Matt Fletcher "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message news:uy0kezyTEHA.3180@TK2MSFTNGP11.phx.gbl... > No idea, I use VB 6 and have no problems when I reference MS Forms 2.0. I > haven't ever used it with C++ however. > > Picture is a StdPicture in the stdole library and MouseIcon is also declared > as StdPicture, accoriding to the Object Browser in Outlook VBA. > > -- > 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 > > > "Michael Tissington" <michael@nospam.com> wrote in message > news:%23ddI55vTEHA.1048@tk2msftngp13.phx.gbl... > > Ken, > > > > Thanks, I'm using C++ and when I include this (fm20.dll) in my project I > get > > a number of unknowns ... > > > > Picture and MouseIcon, any idea which Typelib these maybe in ? > > > > Why should they not be strongly type cast ? > > > > -- > > Michael Tissington > > http://www.oaklodge.com > > http://www.tabtag.com > > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
Oh, and I include the following typedefs first:
#define Picture IPictureDisp #define PicturePtr IPictureDispPtr MF "Matt Fletcher" <mng001@securitypost.net> wrote in message news:cap32m$t8i$1@news5.svr.pol.co.uk... > Michael, > > if you haven't already cracked this one, this is how I import fm20.dll: > > #import <fm20.dll> no_auto_exclude \ > no_namespace \ > named_guids \ > rename("OLE_COLOR", "FormsOLE_COLOR") \ > rename("OLE_HANDLE", "FormsOLE_HANDLE") \ > rename("Pages", "FormPages") \ > rename("IFont", "FormsFont") > > HTH > Matt Fletcher > > "Ken Slovak - [MVP - Outlook]" <kenslovak@mvps.org> wrote in message > news:uy0kezyTEHA.3180@TK2MSFTNGP11.phx.gbl... > > No idea, I use VB 6 and have no problems when I reference MS Forms 2.0. I > > haven't ever used it with C++ however. > > > > Picture is a StdPicture in the stdole library and MouseIcon is also > declared > > as StdPicture, accoriding to the Object Browser in Outlook VBA. > > > > -- > > 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 > > > > > > "Michael Tissington" <michael@nospam.com> wrote in message > > news:%23ddI55vTEHA.1048@tk2msftngp13.phx.gbl... > > > Ken, > > > > > > Thanks, I'm using C++ and when I include this (fm20.dll) in my project I > > get > > > a number of unknowns ... > > > > > > Picture and MouseIcon, any idea which Typelib these maybe in ? > > > > > > Why should they not be strongly type cast ? > > > > > > -- > > > Michael Tissington > > > http://www.oaklodge.com > > > http://www.tabtag.com > > > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

