Migrate from Outlook 2003 to 2007 - CreateObject("Outlook.Application")stopped working

  • Thread starter Thread starter Nedim Azapagiæ
  • Start date Start date
N

Nedim Azapagiæ

Hello,

I have Outlook-based application that uses combination of add-ins and
Public folder Homepage functionality.

It worked flawless for years in Outlook XP and 2003.

I am testing migration to Outlook 2007, and I have problem when
loading Public folder with "Homepage". I need to create object
Outlook.Application and I can't, even very simple code that works with
Outlook 2003 fails with Outlook 2007.

This is complete code of homepage, as you can see it is simple but it
still fails on line with "CreateObject" - only on Outlook 2007.

I will appreciate any help on this. Thanks.

<html>
<script language="VBScript">

Option Explicit

Dim moa
Set moa = CreateObject("Outlook.Application")

</script>
<body>
Hello world!

<script language="VBScript">
Set moa = Nothing
</script>

</body>
</html>

Nedim
 
I forgot to mention - error is:

ActiveX component can't create object: 'Outlook.Application'

Regards, Nedim
 
Hello,

has anybody run this short script as Folder Homepage in Outlook 2007,
does anybody have idea what could be the problem?

Regards, Nedim
 
This is stil issue, so if anyone knows what could be solution (some
registry setting perhaps?)

Thank you,

Nedim
 
Back
Top