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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pass object to another ActiveX EXE?

Status
Not open for further replies.

mkuan

Programmer
Sep 19, 2001
69
CA
Hi, everyone.

Can I pass an object(e.g. form) of an ActiveX EXE to another ActiveX EXE, so that I extract value/s that belong to the 1st ActiveX EXE?

If yes, how?

Thx.

mkuan
 
I did try to pass the form of 1st ActiveX EXE to the 2nd ActiveX EXE as object. In the 2nd ActiveX EXE, I have the following:

Public Sub ShowPassData(objForm as Object)
Msgbox objForm.Caption ' as an example

End Sub

But I got a message saying "Object doesn't support this property or method." :(

Oh, thx for the reply.


mkuan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top