E
Error 429 while creating outlook object
I am trying to create outlook object using the following code in VB 6.0
set m_olApp=CreateObject("Outlook.Application")
It works only if outlook is not already open. If outlook is open then I get
"Error 429 ActiveX can't create object" message. However if I add reference
to outlook and create early binding object then it works. But I would like
to use late binding. Again it works on XP. The problem occurs only on
Vista. I am using office 2007. Can someone please let me know what I am
doing wrong?
Thanks in advance
set m_olApp=CreateObject("Outlook.Application")
It works only if outlook is not already open. If outlook is open then I get
"Error 429 ActiveX can't create object" message. However if I add reference
to outlook and create early binding object then it works. But I would like
to use late binding. Again it works on XP. The problem occurs only on
Vista. I am using office 2007. Can someone please let me know what I am
doing wrong?
Thanks in advance