On 7/28/07, Brady Kelly <[EMAIL PROTECTED]> wrote: > I have a little utility to show the ADO Data Link Properties dialogue for > editing connection strings. I've just moved all the code out of the > original WinForms test project into a class library, as my code has nothing > to do with any .NET UI, but I've come short with the owner parameter I need > to pass to the DataLinks COM object's hWnd property. > > > > My method signature is: static public DialogResult ShowDialog(IWin32Window > owner) [1]
There is a P/Invoke signature for the overload of ShowDialog that doesn't take the owner parameter. It's in this code: http://codeplex.com/familyshow hth, -- -Christopher | AspInsider http://www.chrisfrazier.net/blog =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com