Microsoft Office Outlook >> Outlook 2003 - No Default Calendar or Contacts - OLE Automation Error?

by x10engineer » Wed, 12 Oct 2005 23:31:57 GMT

I have a new install of Office 2003 Basic on a brand new XP Pro SP2
computer. I am getting an OLE Automation Error when our Fox Pro
application tries to send an email through Outlook.

Upon further investigation I found when looking in Contro Panel >
Internet Options > Programs that there is no default Calendar or
Contacts set or available to choose from.

I tried installing Outlook 2003 again from the Install Program on my
SBS 2003 server and get the same results.

Any idea what could be going on here? I need to get the OLE link
working and have to believe that it maybe connected to the same problem
that's keeping me from having a default Calendar and Contact Program.

Thanks. Karl



Microsoft Office Outlook >> Outlook 2003 - No Default Calendar or Contacts - OLE Automation Error?

by Sue Mosher [MVP-Outlook] » Wed, 12 Oct 2005 23:37:08 GMT


Has Outlook every actually been used on this machine? If not, it won't be fully configured. If it has, try Help | Detect and Repair.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx






Similar Threads

1. Outlook 2003 Calendar save as OLE Automation

2. Outlook 2007: Ole Automation Runtime Error 800706ba

Hello Ng,

We are using Outlook Automation to send email out of a database application
(Gupta).
Everything worked fine so far, but since installation of Outlook 2007 Update
KB 969907
we get the error message:
"Ole Automation Runtime Error 800706ba, Invocation of Create Item"

A debug run shows that this error occurs on invocation of function
OutlookApp.CreateItem(Outlook_OlItemType_olMailItem, OutlookMail ).

Has anyone an idea to get rid of this?

THANKS!

regards
Uwe




3. Ole Automation Error Sending eMail via Outlook 2007 - Microsoft Office Outlook

4. Outlook 2000 OLE Automation Email Send error...

Hi,

I have a problem when sending email through the OLE Automation with 
OUTLOOK 2000 (program was done in Delphi 7/Pro).
There are no errors when executing the code (program) and all emails 
sent finish in OUTLOOK's Outbox, but when OUTLOOK tries to send them by 
pressing SEND/RECEIVE or by pressing F9 the following errors appear:

The same messages sent MANUALLY (with same 
sender/recepient/subject/body) don't have ANY problem and are sent 
regularly... (?)

Do you know why this error appear and how to resolve it?

Thanks,
Boro


IN ITALIAN >>>
--------------
Il messaggio non ha raggiunto alcuni o tutti i destinatari.

       Oggetto:	RECALL - Pratiche NON Pervenute (Filiale:003)...
       Inviato:	09/09/2004 11.37

Impossibile raggiungere i seguenti destinatari:

       ' XXXX@XXXXX.COM ' 09/09/2004 11.39
             Impossibile copiare il messaggio locale nel server per l'invio

       ' XXXX@XXXXX.COM ' 09/09/2004 11.39
             Impossibile copiare il messaggio locale nel server per l'invio
---------------

TRANSLATION >>>
---------------
Message did not reach some or all recepients.

	Subject: ...
	Sent   : ...

Impossible to reach following recepients:

	' XXXX@XXXXX.COM ' 09/09/2004 11.39
         Impossible to copy this local message to the server to be sent

       	' XXXX@XXXXX.COM ' 09/09/2004 11.39
         Impossible to copy this local message to the server to be sent	
----------------

5. second attempt: OLE automation error

6. Automation error creating OLE objects

I created a series of macros using VBA to help manipulate 
data in Excel 2002 with SP2. In one of the sheets I 
create check boxes on each line for users to select or 
deselect data. For an unknown reason after creating 1208 
check boxes the execution stops with:

  Run-time error '-2147319765(8002802b)' 
  Automation error
  Element not found

It seems that the 1209th check box is not created. Does 
anyone know if there is some kind of limitation on this?
or am I doing something wrong?

Here is the code:

Function Mark()
  mCount = 0
  Worksheets(mName).Activate
  Do While mCount < mLastRow - 2
    If mNum = 0 Then
      Set OLEo = ActiveSheet.OLEObjects.Add 
ClassType:="Forms.CheckBox.1", Link:=False, _
          DisplayAsIcon:=False, Left:=590, Top:=25, 
Width:=12, Height:=12)
      With OLEo
        .PrintObject = False
        .Top = 24.75 + mCount * 12.75
        .Name = "RerunBox" + Format(mCount + 1, "0")
      End With
    End If
    Range(Cells(3 + mCount, 12), Cells(3 + mCount, 
12)).Select
    If Selection.Value = "NA" Then Range(Cells(3 + 
mCount, 6), Cells(3 + mCount, 7)).Font.Bold = True
    If Selection.Value >= 25 And Selection.Value <> "NA" 
Then
      Selection.Font.ColorIndex = 3
      If mNum = 0 Then OLEo.Object.Value = True
    End If
    If Selection.Value >= 15 And Selection.Value < 25 
Then Selection.Font.ColorIndex = 5
    mCount = mCount + 1
    Set OLEo = Nothing
  Loop
  Range("A1").Select
End Function

7. Office OLE Automation Interface Error - Microsoft Office

8. Late binding for OLE Automation to Outlook.

I have an application that uses OLE automation from Acess to Word and
Outlook.
I want to use late binding because of different versions of Word and
Outlook.

I use late binding for Word, and it works OK, but I haven't managed to do it
with Outlook.

I need: From, To, Subject and Attachment

Dim olkApp as Object
Set olkApp = CreateObject("Outlook.Application")
' from here I am confused
Dim omMail As Object
Dim olMailItem As Object
'Code stops here
Set omMail = olkApp.CreateItem(omMail(olMailItem))

Best regards
ReidarT