Jump to content

AlbertEin

Newbies
  • Posts

    5
  • Joined

  • Last visited

Everything posted by AlbertEin

  1. You're right (obviously), running explorer.exe "http://google.com" opens IE. The weird thing is that if you type the url on the location bar on explorer.exe it does runs the correct browser. So even explorer.exe isn't consistent with itself! :shock: So: [*:1yb3nrfm]explorer.exe URL: IE [*:1yb3nrfm]Typing URL on explorer.exe: Firefox [*:1yb3nrfm]explorer.exe htmlFileWithRedirect: IE [*:1yb3nrfm]Double clicking htmlFileWithRedirect on explorer.exe: Firefox So, it looks like nothing can't be done if explorer.exe is used to launch URLs. Since i don't know how are you avoiding to launch the process without admin privileges i cannot be more helpful. But i'll keep waiting for the source release to see how are you launching explorer without admin privileges (or does explorer.exe always runs as a not elevated user?)
  2. Well, it was a supposition, sorry if it was wrong. I wanted to look at the current implementation to see how it's working but since the current sources haven't been uploaded i looked at a older version, a copy made from the mono guys as base to the mono port. So i looked at http://paint-mono.googlecode.com/svn/ve ... rc_3_0/src which seems to be from 3.0 and it uses ShellExecuteExW. I downloaded and build that source, and it opens the URL on Firefox correctly. Just to let you know it worked before, i know it's not a priority bug, but i hope it helps, maybe i could take a look once the 3.20 source are uploaded. Greets
  3. Ok, i'll trust you, but since you're launching a HTTP URL instead of a HTML file wouldn't be correct use the HTTP entry instead of the HTML?
  4. Well, i'm not Rick, but this is on my registry: [HKEY_CLASSES_ROOT\htmlfile\shell\open\command] @="\"C:\\Archivos de programa\\Internet Explorer\\IEXPLORE.EXE\" -nohome" So, it's IE, but, anyway, that shouldn't be used to open the browser, since every other application on my system uses Firefox instead. So, now i'm confused, it looks like IE should handle html files, but it doesn't apart from paint.net UPDATE: I searched on the registry looking for the key that pointed to Firefox and i found it: [HKEY_CLASSES_ROOT\HTTP\shell\open\command] @="C:\\ARCHIV~1\\MOZILL~1\\FIREFOX.EXE -requestPending -osint -url \"%1\"" Since even the shell uses that, wouldn't be correct use the HTTP entry instead of the HTML ?
  5. I'm having the same issue, Paint.Net opens URLs on IE instead of the default browser (Firefox). Some time ago i installed firefox 3 alpha, but even so all the other apps on my system runs Firefox instead of IE. I tried to download your source, looking for something weird and hopefully send you a path, however the download page doesn't have the link. It would be nice if you guys made public a svn repository or something alike. Anyway, because i was unable to see your code i searched my system looking for something suspicious. So i ran: System.Diagnostics.Process.Start("http://google.com"); And it worked fine, the url was handled by Firefox instead of IE. So, is there some reason to do whatever you guys are doing to detect the default browser instead of delegating that task to the shell?
×
×
  • Create New...