in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Addscriptobject with com object

Last post 06-25-2008 4:07 PM by HugoVonk1. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-25-2008 4:07 PM

    Addscriptobject with com object

    Hi I am having a problem with a com object added to to the report in de startreport section. I the .NET enviremont I can use and retrieve in the immediate window. For example ActiveClient.Notes.Item(3).Caption, which gives me the caption of our note number 3. ActiveClient.Notes.Count gives met the total of notes = 277

    In the report when I try ActiveClient.Notes.Count I get 277 as well. However when I try ActiveClient.Notes.Item(3).Caption the report gives an error saying "object not set to an instance of an object".

     What to to do? Hope someone can help

    The com object is an ActiveX component build in VB6. So it is an interop.

    Kind regards, Hugo

    Filed under: ,
Page 1 of 1 (1 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.