Hi
The following VB code is failing when attempting to create the interface to
Microsoft Outlook 2000:
Public WithEvents OApp As Outlook.Application
.
.
Set OApp = CreateObject("Outlook.Application")
Causes Permission Denied error
Restoring back to prior SP2 works fine.
So far I ave not found anything in Microsoft's SP2 documentation. Any help
would be greatly appreciated.
T.I.A.
Barry
Barry Morris - 31 May 2004 18:09 GMT
Update:
This problem appears to be with one XP build that I have. I have tried with
two other builds of XP (the same from different restores) and everything is
okay when upgrading to SP2 RC1.
When I run DCOMCNFG on the offending computer the job is "zapped" when I try
and expand Console Root/Component Services/Computers.
I restored back to SP1 and ran DCOMCNFG, the com services could not be
expanded, but this was repaired with:
Msdtc -install -a
I then confirmed that a com server called AISCueCards launched okay and
re-applied SP2. Immediately after loading SP2 (the very first boot when
auto-update etc turned on) the COM server is started correctly, as was
Outlook.exe from the VB application. I also checked the component services
(DCOMCNFG) and this displayed okay except two re-occurring warnings
(msohelp.exe - in all XP builds). After re-boot DCOMCFG crashed after trying
to expand Computers (as above) and neither COM server would start.
Does anybody know how I can repair COM on this XP build please?
Thanks
Barry