A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Wordmail



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 16th 07, 09:05 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 1
Default Wordmail

Ken -
I found my way to you through Sue. Respect your work. I'm a rookie,
trying to learn the ropes. I have an application that monitors a
folder for MSG files. if it sees a file, it uses redemption to import
it to a SQL DB. no problems.

What i need to do now is have Outlook essentially "Send and Save" a
copy of the message to this folder. (Not all messages are sent to this
folder, just certain ones, at user discretion.

Anyway, I've figured out the script, of course, without using Wordmail
- but i'll be honest - the wordmail aspect has gone way above my head.

My users use OL2003, with wordmail as the editor. I just want to be
able to add a button to the wordmail editor which "Sends and Saves"
the message to a static folder. Can you point me in the right
direction?

I'd be grateful.

thanks
az

Ads
  #2  
Old July 16th 07, 11:20 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Wordmail

Adding a button to a WordMail item is identical to adding one to an Outlook
editor item. It's managing the UI that's different. Just add your button as
you would for the Outlook editor in the first Inspector.Activate event (not
in NewInspector) and go from there.

To manage anything but Click events from the button is where it gets more
complicated. That and trying to add a button to the Standard toolbar in
WordMail. I never do that, if it's WordMail I create a toolbar instead.

To handle the visibility of the UI you create you need to handle Word
events. Inspector.WordEditor is a Word.Document object. From there you can
get Document.Application to get a handle to the Word.Application object.
Then you handle the Window_Activate event. In that event you check for
Window.EnvelopeVisible. If True it's an email item, if not it's a document.
I then call a procedure that re-instantiates my toolbar and buttons
(otherwise you get automation errors that the property or object is unknown)
and if it's a toolbar I created for that Inspector (checking the Tag
property I add to UI I create) I set it Visible = True, if not I set Visible
= False.

That's pretty much it for the basics. Setting modality on dialogs relative
to the WordMail window and the Outlook ActiveExplorer is where it gets hairy
and proprietary and involves lots of study of what's happening using Spy++
and tons of Win32 API calls.

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


wrote in message
ups.com...
Ken -
I found my way to you through Sue. Respect your work. I'm a rookie,
trying to learn the ropes. I have an application that monitors a
folder for MSG files. if it sees a file, it uses redemption to import
it to a SQL DB. no problems.

What i need to do now is have Outlook essentially "Send and Save" a
copy of the message to this folder. (Not all messages are sent to this
folder, just certain ones, at user discretion.

Anyway, I've figured out the script, of course, without using Wordmail
- but i'll be honest - the wordmail aspect has gone way above my head.

My users use OL2003, with wordmail as the editor. I just want to be
able to add a button to the wordmail editor which "Sends and Saves"
the message to a static folder. Can you point me in the right
direction?

I'd be grateful.

thanks
az


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
access to and subject of a wordmail item [email protected] Add-ins for Outlook 10 March 5th 07 01:16 PM
Toolbar Appearance Issue with Word & WordMail Harish Shinde Outlook - General Queries 0 September 27th 06 06:55 AM
Custom CommandBar in Wordmail Editor. Sanjay Add-ins for Outlook 0 May 31st 06 11:11 PM
Help with 'MailItem' object of WordMail Inspector [email protected] Add-ins for Outlook 2 May 18th 06 08:28 PM
how to detect programmatically if some code is runing in wordmail Herve cadieu Outlook and VBA 5 March 14th 06 04:36 PM


All times are GMT +1. The time now is 11:09 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.