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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

calling a vbscript from a macro in Outlook 2003



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 23rd 06, 05:11 PM posted to microsoft.public.outlook.program_vba
Mads Remfeldt
external usenet poster
 
Posts: 1
Default calling a vbscript from a macro in Outlook 2003

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  
Old November 23rd 06, 05:32 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default calling a vbscript from a macro in Outlook 2003

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


All times are GMT +1. The time now is 10:43 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.