There's no setting I know of that sets an form Owner property to support UI
automation, I have no idea what you're talking about. You set a form owner
to another form or to the window handle of some application's window, such
as the main Outlook window or an Inspector window.
Usually that's not at all necessary however, unless in a special case such
as with WordMail and the dialog you are showing is coming up under the
WordMail window and using the usual methods for setting z-order aren't
working.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"ArtisticPinoy" wrote in message
...
The code is for showing a dialog box much like when you click on
Help...About. Originally, the code was oSetup.Show in VB6.
But after migrating the project to VB.Net, I got an error on this line and
I
got a suggestion to use oSetup.ShowDialog() and setting the Owner property
of
the form to Support UI Automation. So the question i posed was "What is
the
code for setting the Form.Owner's property to support UI Automation?"