Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Contacts (http://www.outlookbanter.com/outlook-using-contacts/)
-   -   Some contacts open with: "Object not available on this machine" (http://www.outlookbanter.com/outlook-using-contacts/61889-some-contacts-open-object-not.html)

JWS November 25th 07 10:55 PM

Some contacts open with: "Object not available on this machine"
 
Some of the contacts in my database are subject to the following set of
messages:

1. Cannot load an object because it is not available on this machine.
(OK)

2. An exception ‘run time error’ has occurred in script. (a list of 1
debugger called “New instance of Microsoft Script editor” shows up) Do you
want to debug using the selected debugger? If I answer YES, and then break
the debugger, I could edit the following information: (Object doesn’t
support this property or method: “pageSBE.DataGrid1” line No 11.)

Const c_strFormName = "Financial Information"

Const adUseClient = 3

Const DbgRight = 1

Function Item_Open()

Dim lContactIndex

Dim conn

' Get the objects on this form

Set pageSBE = GetInspector.ModifiedFormPages(c_strFormName)

Set grid = pageSBE.DataGrid1

' Quit now if we are in design mode

If pageSBE.DesignMode Then

Exit Function

End If

3. If I’ve answered "NO" in #2, then I get a pop-up that says: Object
doesn’t support this property or method: “pageSBE.DataGrid1” line No 11.

4. If I answer "OK" in this pop-up the contact opens up.

Any idea of how to stop this from happening?


Russ Valentine [MVP-Outlook] November 26th 07 02:49 AM

Some contacts open with: "Object not available on this machine"
 
Any idea how you created the problem? Outlook doesn't do this all by itself.
There is more to the story you are leaving out.
--
Russ Valentine
[MVP-Outlook]
"JWS" wrote in message
...
Some of the contacts in my database are subject to the following set of
messages:

1. Cannot load an object because it is not available on this machine.
(OK)

2. An exception ‘run time error’ has occurred in script. (a list of 1
debugger called “New instance of Microsoft Script editor” shows up) Do you
want to debug using the selected debugger? If I answer YES, and then
break
the debugger, I could edit the following information: (Object doesn’t
support this property or method: “pageSBE.DataGrid1” line No 11.)

Const c_strFormName = "Financial Information"

Const adUseClient = 3

Const DbgRight = 1

Function Item_Open()

Dim lContactIndex

Dim conn

' Get the objects on this form

Set pageSBE = GetInspector.ModifiedFormPages(c_strFormName)

Set grid = pageSBE.DataGrid1

' Quit now if we are in design mode

If pageSBE.DesignMode Then

Exit Function

End If

3. If I’ve answered "NO" in #2, then I get a pop-up that says: Object
doesn’t support this property or method: “pageSBE.DataGrid1” line No 11.

4. If I answer "OK" in this pop-up the contact opens up.

Any idea of how to stop this from happening?




All times are GMT +1. The time now is 07:58 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2006 OutlookBanter.com