M Michael Tissington Jun 9, 2004 #1 What type library do I need to use for the Pages collection and a Page item returned from GetModifiedFormPages ? Thanks
What type library do I need to use for the Pages collection and a Page item returned from GetModifiedFormPages ? Thanks
K Ken Slovak - [MVP - Outlook] Jun 10, 2004 #2 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.
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.
M Michael Tissington Jun 10, 2004 #3 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, 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
K Ken Slovak - [MVP - Outlook] Jun 10, 2004 #4 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.
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.
M Matt Fletcher Jun 16, 2004 #5 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. Click to expand...
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. Click to expand...
M Matt Fletcher Jun 16, 2004 #6 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 Click to expand...
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 Click to expand...