Lee,

Witango doesn't like certain types of COM objects -- I can't remember off
the top of my head what the different types are and which it does/doesn't
like.  For example, while the Editor will allow you to add the Office (i.e.
Word, Excel, etc.) objects, the Server doesn't like calling them.

I imagine this is what you're seeing.

What we've found in this situation is that we have to create our own COM
'wrapper' in VB and have Witango talk to that instead.  Witango likes VB
"ActiveX DLL" projects...

Jon





-----Original Message-----
From: Lee Sobo [mailto:[EMAIL PROTECTED]]
Sent: 05 June 2002 12:06
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: Using a com object within Tango


We are using a com object within Tango successfully. One of the method
calls returns an ado recordset object with methods of its own.

 Suupose the ado recordset was called "ors". The developer's want us to
use this code once we call the method: Note how they require additional
methods of the returned object to be called:

 ors.AddNew
 ors.Fields("group_id").Value = "ACT"
 ors.Fields("notes").Value = "adding new note to loan"
 ors.Fields("record_status") = "2"
 ors.SetGridData("notes",ors)

These methods are not part of the com object. We attempted to use the
<@CALLMETHOD> tag to call these methods anyway but ran into the
following error:

"Error getting object's introspection info. Couldn't find info for
method addNew"

Does anyone have an idea of how to deal with this?



________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to