I am very thankfull for all.
Best Regards.
Haider.
--
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
"haider" <hai...@comsdev.com.pk> wrote in message
news:uyFV2yCz...@TK2MSFTNGP05.phx.gbl...
"Ken Slovak - [MVP - Outlook]" <kens...@mvps.org> wrote in message
news:%232VZmOD...@TK2MSFTNGP04.phx.gbl...
I've used Picture and Mask with Inspectors for years without problems, as
long as the target is Outlook 2002 and later. Those properties don't exist
for Inspectors (or Explorers) in earlier versions of Office products.
What error are you getting? Are you getting a valid object for your
Inspector and its CommandBars collection?
--
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
"haider" <hai...@comsdev.com.pk> wrote in message
news:efh$AAMzGH...@TK2MSFTNGP02.phx.gbl...
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Ken Slovak - [MVP - Outlook]" <kens...@mvps.org> wrote in message
news:eztbT8Pz...@TK2MSFTNGP05.phx.gbl...
--
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
"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message
news:e5qpQHSz...@TK2MSFTNGP04.phx.gbl...
Thanks.
Best Regards.
Haider.
"Ken Slovak - [MVP - Outlook]" <kens...@mvps.org> wrote in message
news:eztbT8Pz...@TK2MSFTNGP05.phx.gbl...
Look in the KB for information about using PasteFace with masking for
transparency. Another thing to consider is that in .NET code you're crossing
process boundaries between COM applications and your .NET code. Mask and
Picture use IPictureDisp and that can't cross process boundaries. WordMail
is Word subclassed by Outlook and so the process boundaries are being
crossed.
--
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
"haider" <hai...@comsdev.com.pk> wrote in message
news:OdB3DDez...@TK2MSFTNGP05.phx.gbl...
I'm having the same problem with an Outlook Add In (VB.NET 2005, Office 2003
SP2).
It worked fine using the Picture and Mask method, until one of my clients
decided to use Word as his email-editor.
So now i am trying to implement the Pastface method
(http://support.microsoft.com/kb/288771/en-us), but the code is VB 6, not
.NET, so it doesn't work, hehe :-)
I'm having troubles with VB6 constants like:
- vbPicTypeBitmap
- vbCFDIB
- vbWhite
- vbSrcCopy
and some functions.
Does anybody has the code converted to VB.NET? Or how should I migrate these
constants and the functions?
Thanks a lot in advance,
Pieter