~cszikszoy/do/shellex-test

« back to all changes in this revision

Viewing changes to Do.Platform.Windows/src/Do.Platform/Do.Platform.Windows/Shell32.cs

  • Committer: Chris S.
  • Date: 2009-06-25 21:34:36 UTC
  • Revision ID: chris@szikszoy.com-20090625213436-uk1vrpx0yxifxzu8
compat w/ XP

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
                        //Console.WriteLine (operation);
76
76
                        //IntPtr ptr = ShellExecute (IntPtr.Zero, operation, item, parameters, directory, showCmd);
77
77
                        //Console.WriteLine (ptr.ToInt32 ());
78
 
                        IntPtr ptr = ShellExecute (IntPtr.Zero, "open", "http://www.google.com", "", "", ShowCommand.ShowNoActive);
 
78
                        IntPtr ptr = ShellExecute (IntPtr.Zero, "open", "rundll32.exe", "url.dll,FileProtocolHandler http://www.google.com", "", ShowCommand.Normal);
79
79
                        Console.WriteLine (ptr.ToInt32 ());
80
80
                        return true;
81
81
                }