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

  • Thread starter Nedim Azapagiæ
  • 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
 
N

Nedim Azapagiæ

I forgot to mention - error is:

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

Regards, Nedim
 
N

Nedim Azapagiæ

Hello,

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

Regards, Nedim
 
N

Nedim Azapagić

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

Thank you,

Nedim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top