I am trying to get the path of the default browser....

I used this and it worked on my machine... but not my coworkers... (this seems to be a recurring problem with my code... bah.)

Is there a better/easier/more accurate way of doing this with .net??


VB Code:
  1. temp = Microsoft.Win32.Registry.ClassesRoot.OpenSubKey("htmlfile\shell\opennew\command").GetValue("")
  2.         temp = Mid(temp, 1, Len(temp) - 3)
  3.         P_browser = temp