Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


How to find object name and properties

 Keywords: OLE Viewer object 

Question:

I've got an application (GUS Display Builder provided by Honeywell) and I would like to manipulate its objects with OLE. The problem is that I don't know anything about the properties' name of the objects of this application.

I've tried:

db=objectopen("GPB.Application.1")

and it works! but now I need to create a sheet inside, how?

In the windows registry i've found this entries:

GPB.Application.1
GPB.Application.3
GPB.Document.1
GPB.Document.3
I've tried:
db.Document
But winbatch errored with "ole object doesn't exist"

Is there a good way to find out all the properties names and methods for GPB.Application.1 for example?

Thank you very much.

Answer:

Ideally you would want the vendor documentation to do stuff like that.

However if you cannot obtain that documentation you could try the following:

It might be in there.



Article ID:   W14907