On 1/4/2010 4:12 PM, Aaron Smith wrote:
make a copy of Win.Parent, and then validate that it's not Nothing (and probably
validate that it's a Window object too).

Ron reminded me (again) that Window.Parent will never be Nothing. It will either be Parent or Application. So you should use TypeName to check to make sure that it is in fact a "Window" object. If it's not, toss it.

Aaron

--
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.

Aaron Smith
GW Micro
Phone: 260/489-3671
Fax: 260/489-2608
WWW: http://www.gwmicro.com
FTP: ftp://ftp.gwmicro.com
Technical Support & Web Development

Reply via email to