PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins Typelibrary for Pages and GetModifiedFOrmPages

Reply

Typelibrary for Pages and GetModifiedFOrmPages

 
Thread Tools Rate Thread
Old 09-06-2004, 08:04 PM   #1
Michael Tissington
Guest
 
Posts: n/a
Default Typelibrary for Pages and GetModifiedFOrmPages


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



  Reply With Quote
Old 10-06-2004, 02:22 PM   #2
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: Typelibrary for Pages and GetModifiedFOrmPages

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
>
>
>



  Reply With Quote
Old 10-06-2004, 04:20 PM   #3
Michael Tissington
Guest
 
Posts: n/a
Default Re: Typelibrary for Pages and GetModifiedFOrmPages

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
> >
> >
> >

>
>



  Reply With Quote
Old 10-06-2004, 09:49 PM   #4
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: Typelibrary for Pages and GetModifiedFOrmPages

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



  Reply With Quote
Old 16-06-2004, 10:15 AM   #5
Matt Fletcher
Guest
 
Posts: n/a
Default Re: Typelibrary for Pages and GetModifiedFOrmPages

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

>
>



  Reply With Quote
Old 16-06-2004, 10:16 AM   #6
Matt Fletcher
Guest
 
Posts: n/a
Default Re: Typelibrary for Pages and GetModifiedFOrmPages

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

> >
> >

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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