Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

parsing activeX object as parameter

Status
Not open for further replies.

kristwong

Programmer
Dec 30, 2002
2
HK
I have two activeX objects (ocx) need some communication. In VB, I can do the following

ocx1.SetOCXObject(ocx2)

so that the ocx2 object is passed to ocx1 and ocx1 can then access the methods in ocx2.

However, I cannot do the same in PowerBuilder (version 5.0). When I use:

ole_2.Object.SetOCXObject(REF ole_1.Object)

It crashes and exit PB5.0

Any hints?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top