Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Error#36 connecting to DB using CrystalViewer

4 views
Skip to first unread message

Indra

unread,
Sep 2, 2010, 12:29:28 PM9/2/10
to
Hi,

I am getting "Error# 36: Name not found accessing external
object property ..." with following code.

g_ole_crx_application = CREATE OLEobject
gi_return =
g_ole_crx_application.ConnectToNewObject('CrystalRuntime.Application')

g_ole_crx_connection_info =
g_ole_crx_application.database.tables[1].ConnectionProperties
<-- ERROR at this line
g_ole_crx_connection_info.deleteAll
g_ole_crx_connection_info.add("DSN", "Xtreme Sample Database
11.5")

I have added CRAXDRT and CRVIEWER dll's to my application.

Please let me know how to resolve this error.

Thanks
Indra

0 new messages