Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / May 2004



Tip: Looking for answers? Try searching our database.

VB6 XP SP2 RC1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Barry Morris - 30 May 2004 15:30 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.