![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I have a piece of code "Send&Journalize" developed in Outlook 2000,
that is activated from mail. The code journalise the mail in an other application (Hummingbird - DocsOpen), send the mail and delete it from Send mail. The code was developed by a former colleque of mine. To bypass the security he run SelfCert.exe and signed the code with the certificate. I tried to do the same thing in Outlook 2003, but with no luck. Outlook still displays the warning about "An application tries to.....". I then made a small vbscript "SendKeystrokes" that detect when the warning occures (the vbscript is places locally on my computer and is manually activated prior to activating the Send&Journalize) and on detecting the warning sends the relevant keystrokes. I have tried to place "SendKeystrokes" code within the "Send&Journalize"-code, with different errors, so now I am trying to write a pice of code in outlook vba, that starts the "SendKeystrokes"- vbscript and then calls the "SendKeystrokes"-sub. |
Ads |
#2
|
|||
|
|||
![]()
You're mixing up two different security issues. Signing a VBA code project has nothing to do with the Outlook object model security guard. The issue is probably that your VBA code is not deriving all its Outlook objects from the intrinsic Application object. Fix that and you don't need the kludge. See http://www.outlookcode.com/d/sec.htm
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Mads Remfeldt" wrote in message oups.com... I have a piece of code "Send&Journalize" developed in Outlook 2000, that is activated from mail. The code journalise the mail in an other application (Hummingbird - DocsOpen), send the mail and delete it from Send mail. The code was developed by a former colleque of mine. To bypass the security he run SelfCert.exe and signed the code with the certificate. I tried to do the same thing in Outlook 2003, but with no luck. Outlook still displays the warning about "An application tries to.....". I then made a small vbscript "SendKeystrokes" that detect when the warning occures (the vbscript is places locally on my computer and is manually activated prior to activating the Send&Journalize) and on detecting the warning sends the relevant keystrokes. I have tried to place "SendKeystrokes" code within the "Send&Journalize"-code, with different errors, so now I am trying to write a pice of code in outlook vba, that starts the "SendKeystrokes"- vbscript and then calls the "SendKeystrokes"-sub. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 Macro | [email protected] | Outlook and VBA | 3 | October 11th 06 08:03 PM |
Hardcoding an Outlook 2003 folder name in a Macro? | James | Outlook and VBA | 3 | June 8th 06 12:01 AM |
Outlook 2003 ADO connection string for use with VBScript... | M Scott S | Outlook and VBA | 14 | May 31st 06 10:14 PM |
Importing Outlook Alias into an Excel 2003 macro | fidgitthedigit | Outlook - General Queries | 2 | May 30th 06 02:11 PM |
open outlook data files from vbscript / macro? | Mad Scientist Jr | Outlook and VBA | 2 | January 24th 06 10:20 PM |