You can check if an object implements an interface, like this:
If TypeOf objToCheck Is IInterface Then
...
End If
--
HTH,
-- Tom Spink, Über Geek
Woe be the day VBC.EXE says, "OrElse what?"
Please respond to the newsgroup,
so all can benefit
"BluDog" <Re**********@here.com> wrote in message
news:ab********************************@4ax.com...
Hi
Anyone know how to drop an object into a textbox if you don't know the
source or type, only that it implements a particular interface?
Thanks
Tom