Share via

VB6 Outlook GetObject

Anonymous
2018-12-07T06:35:18+00:00

HI,

Have two VB6 projects. In Project - References I have no reference to OutLook.

The one project works 100% with GetObject(, "Outlook.Application") and if Outlook is not running I issue CreateObject("Outlook.Application). Both scenarios works.

In the other project I get an error 53 straight away lon GetObject if Outlook is NOT running. If Outlook is running it is fine.

I think it has to do with differences in Project - References - any ideas?

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2018-12-07T10:17:18+00:00

    Hi Henning, thanks for your question. I'm Graeme, a Microsoft Community expert and fellow user.

    I'd suggest that you ask this question at the forums for developers, as this community is mostly for Windows errors and not programming support.

    Here's a link to the MSDN forum:

    https://social.msdn.microsoft.com/Forums/en-US/...

    Let me know if you have any other questions! Thanks!

    Was this answer helpful?

    0 comments No comments