
VBScript "Unhandled Exception" MSO9.DLL W2k
Quote:
> Some thoughts come to mind...
> 1) The MSO9.DLL file is corrupted. If you rename it and do a detect and
> repair, a new copy should be installed.
> 2) A corrupted Outlook mail profile.
> 3) Are you trying to use Outlook from an unattended task? (eg. Task
> Scheduler or system service?)
> > I am trying to create an instance of Outlook 2000 using VBScript. If I
> > issue the following:
> > Dim oOutlook
> > Set oOutlook = CreateObject("Outlook.Application")
> > I get an access violation in MSO9.dll. I am running windows 2k.
> > I scoured MSDN and did not see any reference to this problem.
> > Thanks,
> > Kurt
Thanks for the response. I can launch Outlook fine by starting the
application explicitly. It is only when I am using automation that
this error occurs. I have a vbs file that I am running from the
desktop. I am not using automation via a service or unattended task.
If my MSO9.dll is corrupt I should not be able to launch Outlook at
all, correct?
Kurt