Outlook 2007 Events disabled by WMDC -- Fix??

Status
Not open for further replies.
R

Ron Rosenfeld



It seems that if Outlook 2007 is started up by the Windows Mobile
Device Center, Outlook Events are disabled.

I have an ItemSend event in ThisOutlookSession that has been working
intermittently. I have also tried using it in a Class module with
similar results. (It changes the Subject line depending on the
original Subject line contents).

For testing purposes, I added a Startup event to ThisOutlookSession.

=================
Private WithEvents myOLApp As Outlook.Application
Private Sub Application_Startup()
Set myOLApp = Outlook.Application
Stop
End Sub
===================

And then, when the VBA code Stops, I place a break point in the
ItemSend event code.

If I startup Outlook normally, the Stop statement gets executed, and
my subsequent ItemSend event code also seems to be triggered normally.

However, if I start the Windows Mobile Device Center, which syncs with
my Dell Axim, it will, in turn, start up Outlook. Although Outlook
starts up, the Stop statement does NOT get executed, and subsequent
ItemSend events do NOT trigger anything.

Is there anything I can do to correct this? Or must I remember to
always start Outlook first?
 
H

Harry Yuan



Hi,

Please set the Macro security to run all macros. Why you want to use Stop in VBA code?

Please comment this line, and see if this VBA code could be called.

Here are some resources about this topic. Wish they could help you.

Application_Startup doesn't seem to work - Outlook 2007.
Application_Startup event not firing.

If you have any concern on this topic, just feel free to follow up.

Regards,

Harry
 
R

Ron Rosenfeld



On Thu, 21 Oct 2010 08:01:56 +0000, Harry Yuan wrote:


Hi,


Please set the Macro security to run all macros.


I had already done that. And the macros run fine EXCEPT when Outlook
is started by WMDC.


Why you want to use Stop in VBA code?


I've used it for troubleshooting auto open and startup macros, since
it is an easy way to set a break point for these kinds of event
macros. In this case, it was just to see if the code was being run.


Please comment this line, and see if this VBA code could be called.
Here are some resources about this topic. Wish they could help you.
Application_Startup doesn't seem to work - Outlook 2007 <http://www.eggheadcafe.com/software...artup-doesnt-seem-to-work--outlook-2007.aspx>.
Application_Startup event not firing <http://www.devnewsgroups.net/officedev/t26535-application-startup-event-not-firing.aspx>.


Neither is applicable to my problem. But thanks as it added to my
knowledge.
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
C Outlook 2007 only displaying all day events in a month view Using Outlook 2
D Missing Hotmail Calendar Events in Outlook 2007 Using Outlook 3
S Catch events from pre-existing buttons in Outlook 2007 Outlook VBA and Custom Forms 7
A how to capture outlook 2007 events Outlook VBA and Custom Forms 4
C Why does Outlook 2007 generate 3 events for 1 single "Add"? Outlook VBA and Custom Forms 6
S Verwendung von Outlook 2007 Using Outlook 0
A Arthur needs help with 2007 Outlook e-mail Using Outlook.com accounts in Outlook 3
M PST import from Outlook 2007 to 2010 - Address Book contacts all in 1 group Using Outlook 4
S outlook 2007 calendar search Using Outlook 6
B Migrate Outlook 2007 to Office 365 Using Outlook 3
X I have met my waterloo trying to resolve embedded graphics problem with outlook 2007 and now 2016 Using Outlook 1
R Outlook 2007 only loads some appointments Using Outlook 0
C Move Outlook 2007 to new PC with Outlook 365 Using Outlook 3
J Outlook 2007 Hide Messages Option not Available Using Outlook 2
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 4
S Outlook 2007 Calendar instant search problem. Windows 7 Using Outlook 0
B Server errors Outlook 2007 Using Outlook 1
S Reboot of frozen windows7 results in changed outlook 2007 settings Using Outlook 1
S Outlook 2007 printing wrong email address at top of page Using Outlook 8
M Configure outlook 2007 to accept digital signatures Using Outlook 2
D Outlook 2007 crashes when opening an email Using Outlook 2
R New chap saying hello and needing advice on Outlook 2007 thumbnails Using Outlook 3
icacream From Outlook 2007 to 2016 ! Using Outlook 9
vodkasoda Object could not be found Error in Outlook 2007 Outlook VBA and Custom Forms 5
S Outlook 2007: Address Cards allow entering text! Why? Using Outlook 3
S View Appointment in Text Wrap in Outlook 2007 Month Calendar View Using Outlook 0
L Outlook 2007 Separate the Send/Receive functions Using Outlook 2
M Outlook 2007 Contacts Glitch: Creating a new email Using Outlook 1
C Move from Outlook 2007 Enterprise (MOE) to Outlook Pro plus 2007 Using Outlook 1
J reinstalling Outlook 2007 asking for user name & password Using Outlook 14
P outlook addin unloaded in office 2007 Using Outlook 0
B Fonts in Outlook 2007 Using Outlook 4
R Add Exchange Account to existing POP3 Outlook 2007 Profile Using Outlook 0
C out of space in file group Outlook 2007 Using Outlook 2
A Moving archived contents in Outlook 2007 back into working folders Using Outlook 0
P Outlook 2007 Email Categorization using VBA Outlook VBA and Custom Forms 1
M Unable to Configure Gmail Account in Outlook 2007 Using Outlook 1
R Outlook 2007 or 2010 - Lock Down Functionality Outlook VBA and Custom Forms 3
S Outlook 2007, windows 10 Font size Using Outlook 1
Diane Poremsky Manually create a POP3 account in Outlook 2007 New Slipstick.com Articles 0
J Can Click to Drag Custom Form Field But Cannot Drop When Designing in Outlook 2007 Outlook VBA and Custom Forms 2
L Outlook 2007 Font Using Outlook 3
J Outlook 2007 connector and Windows 10 Using Outlook 3
R Outlook 2007 - Shared Accounts and Resources without Exchange Server Using Outlook 0
L Outlook 2007 - Macro Re Search Using Outlook 16
D Outlook (Office) 2007 & Windows 10 Pro Using Outlook 6
MattC Problem with Outlook 2007 & iCloud / duplicate tasks Using Outlook 1
D Outlook 2007 e-mail header- How to set font & font size in received message headers ? Using Outlook 2
P How to switch back from Outlook 2010 to Outlook 2007? Using Outlook 3
L Outlook 2007 Macro to Contact From a Field Using Outlook 3
Similar threads


















































Top