com >> MS Outlook 2000 COM project help...

by Um9iRG9n » Tue, 21 Mar 2006 13:03:09 GMT

Hello all, I have a few issues I am hoping someone can point me in the right
direction regarding a COM addin I am working on in MS Outlook 2000.

Background:
I work for a Hospital who like most Hospitals have unique business models
given the industry we work in. All MS Outlook 2000 clients are installed on
a LAN within 1 domain name "ourdomain.org". There are about 520 users that
have Internet Email capability. The other 333 DO NOT have internet email
capability. Nurses are an example of an Employee that does not have internet
capability. They just need to communicate to their supervisor or other
Employees per policy. So non internet users have an email such as JDOE
instead of XXXX@XXXXX.COM . This COM addin needs to verify if a user is
sending an email to another domain name. So, the logical thing to do is
check (if TO or CC or BCC <> URDOMAIN.ORG then popup secure email dialog
box else do nothing). The purpose is to secure patient data per HIPPA
regulations. If we enter [Secure] in the subject line our secure server will
pick it up and secure the email.

Software:
1. MS Outlook 2000 clients (some sp3 and some not approx. 853 clients)
installed on mostly Windows 2000 and some new Windows XP machines.
2. MS Exchange Server 2003 on Windows 2003

COM addin for Outlook 2000 requirements:
1. When the user selects "Send" to send the email message. The addin needs
to check all email addresses in the To;CC;BCC fields. The addin needs to
check the email address to see if any of the email addresses are going to an
outside entity or outside of the LAN or domain.

2. When it finds one I need it to popup a dialog box to ask the user if they
would like to secure the email. If the user selects Yes then add a
"[Secure]" token in the subject line. That will tell our encryption server
to secure the email. Otherwise if no continue without doing anything.

Now here are the few issues I ran into I can seem to get past
1. If user enters JDO the name is resolved to JDOE. I need to check if the
domain is different then urdomain.org So, I check its SMTP address in
the GAL and Contact address book. I am just checking domain name if
different then ours popup the secure popup to ask the user to secure it.
2. Access the address book for more than 1 minute popup. I discovered and
read why this annoying box pops up. I understand it happened after SP3 for
security. I do understand why and don mind so long as there is a fix for
using it internally to your own business. I believe I read I can add the com
to the favorite com addin list in the secure public folder list. I can add a
shim I think as well unless that is for Outlook 2003 only. I am not sure
here yet.
3. If user is in MS Excel and selects S>nd>Outlook Message or attachment.
MS Excel may lock up and does not free up unless we end task. I am clueless
here unless it is an in process out of process issue.

If I need to post my code to further help understand what I am doing I would
be happy to. Thanks in advance for any assistance
-Robert



Similar Threads

1. Importing MS Outlook 2000 tasks into MS Project 2000

2. Help needed :ASP to MS Project 2000

Hello !!!
I'm working on ASP ,SQL server200.I want that I should be 
able to add tasks,duration to ms project from my page and 
should be avle to see the gantt chars online.
Please tell me hoe this is possible.
Is there any component available so that i can use it's 
methods or otherwise.
Waiting for your help,
Bye 
Vinod Savkare

3. How to get the linked project files of a resource pool within ms project 2000

4. Outlook 2003 cannot view message body of an Outlook 2000 saved .ms

Hello everyone, 
   I've this problem:
on some Outlook 2003 client,  opening a "my_file.msg" created with "save as" 
CDO 
command on an Outlook 2000 client, I can view subject, adresses and 
attachments but not the text body. The save as is implemented in the _send 
event of a mailitem object in a custom add-in.
The original message was sent in html format.
If I create a text format message on the same Outlook 2000 the .msg saved 
file can be correctly viewed on the 2003 station.

UPDATE:
I found something:
if I make the "save as" from the outlook 2000 menu on the sent message than 
it'll be correctly displayed opening it on a OLK2003 client.

UPDATE2:
If I use redemption (God bless Dmitry) to load the unviewable .msg and than 
use this code to resave it than the OutFile becomes correctly viewable:

Private Sub ConvertFile(sInFile as String , sOutFile as String )
Dim myRed As New Redemption.RDOSession
Dim myMailItem As RDOMail
    With myRed
        Call .Logon("Outlook", , False, True, , False)
        Set myMailItem = .GetMessageFromMsgFile(sInFile, False)
        With myMailItem
            .Body = .Body
            .BodyFormat = olFormatHTML
            Call .SaveAs(sOutfFile, olMSGUnicode)
        End With
        Set myMailItem = Nothing
        .Logoff
    End With
End Sub

Any comment'll be appreciated

-- 
TIA Giovanni

5. Need a MS OUtlook Programmer with exchange & com for a small project

6. VBA macro works in MS Word but not in MS Access 2000 (COM objects)

Hi,
We've have a DDE interface to our application, which we have
written a COM object towards to make it easier for 3rd party
providers to interface. It works fine usually, but we have recently
discovered that it is not possible to use it from MS Access using VBA.
Using VBS works fine as well as VBA macro from Word. It is normally used
from applications written in C+ and then there are no problems
whatsoever.

Are there any common mistakes that can be made in a COM object that
could make it incompatible with MS Access/VBA?

thanks/Patrik Sjren, Sectra

7. Project 2000 / Oracle COM - hanging on save

8. COM Addin Crashes MS Project, But Only When Debugging

I have a VS2003 COM Addin for MS Project that causes MS Project to have a 
hard fail (the Add-in ends up on the blacklist) whenever I try to run it 
under the debugger (F5).  If I run it using the menu option "Start without 
debugging" (cntrl F5), it runs just fine.   I can tell that it is never 
reaching the OnConnect method nor is it ever reaching the constructor for the 
COM Add-In, since I have message boxes that announce where it is, and these 
are never reached under the debugger.  There are pdb files for all my dlls.   
The registry must be right, or else it wouldn't work with I run it without 
debugging.  

I would be very grateful if anyone could suggest some way of figuring out 
what's going on here.   MS Project just briefly splashes on the screen and 
then dies, telling me no further hints of what the problem is.

--- November Jim