Rob: Thanks for the reply and this is a good piece of info you sent. But the process appears long before the icon in the system tray appears. This process is to determine when the SSL connection is available. When the icon (a lock with 2 data lights appears) in the tray the tunnel is up. But the process is there long before the icon shows up. Digging around this process last night I determined that as soon as a DHCP address is granted by the Juniper box is the time that the tray icon appears. The Juniper process creates another adapter and grants the IP address to it. Currently I am looking at the registry for the creation of that adapter then looking for an IP. Thanks again for your suggestion. Regards,
Jack Skelley Rob Anderson wrote: > Hi Jack, > > I'd use WMI to achieve this. > > Maybe this will help :- > > http://www.codeproject.com/cs/system/win32processusingwmi.asp > > HTH, > > Robbo. > > Rob Anderson | Software Engineer | Pegasus, an Infor company | t: +44 > 1536 495000 | d: +44 1536 495006 | f: +44 1536 495214 | > [EMAIL PROTECTED] | www.pegasus.co.uk > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Jack Skelley > Sent: 12 November 2007 23:43 > To: [email protected] > Subject: VFP6: How Can I tell If An Icon Appears In The System Tray? > > Good Evening All: > How can I tell if an Icon appears in the system tray programatically? > I have gone down through the processes and none have changed but then an > > icon appears and still no change to the processes. > Thanks for any help. > Regards, > > Jack Skelley > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

