Typelibrary for Pages and GetModifiedFOrmPages

  • Thread starter Thread starter Michael Tissington
  • Start date Start date
M

Michael Tissington

What type library do I need to use for the Pages collection and a Page item
returned from GetModifiedFormPages ?

Thanks
 
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.
 
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.
 
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 - said:
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.
 
Oh, and I include the following typedefs first:

#define Picture IPictureDisp
#define PicturePtr IPictureDispPtr

MF

Matt Fletcher said:
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
 
Back
Top