Jump to content

ricvec

Newbies
  • Posts

    2
  • Joined

  • Last visited

Everything posted by ricvec

  1. Thank you very much Rick for the answer. I was not aware of the functionality of Explorer to download the files automatically. Obviously I cannot save the image in the original URL :-) Your confirmation is very useful and I have understood I cannot do what I would like to have. Thanks.
  2. Hello everybody, I am trying to open a picture directly from the web following the approach described here below: 1- created a keyword to open automatically paintdotnet with a magnet url (create a .reg file and paste/run this code): REGEDIT4 [HKEY_CLASSES_ROOT\keywordTest] @="URL:keywordTest Protocol" "URL Protocol"="" [HKEY_CLASSES_ROOT\keywordTest\shell] [HKEY_CLASSES_ROOT\keywordTest\shell\open] [HKEY_CLASSES_ROOT\keywordTest\shell\open\command] @="\"C:\\Program Files\\paint.net\\PaintDotNet.exe\" \"%1\"" 2- started a browser and typed: keywordTest:http://forums.getpaint.net/public/style_images/1_pdn40logo_forum_header.png PaintDotNet runs correctly but an error appears: "There was an error while opening the file." and the stack trace is the following: System.NotSupportedException: The given path's format is not supported. at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at PaintDotNet.Controls.DocumentWorkspace.LoadDocument(Control owner, String fileName, FileType& fileTypeResult, ProgressEventHandler progressCallback) in d:\src\pdn\paintdotnet\src\PaintDotNet\Controls\DocumentWorkspace.cs:line 3205 If I open the image starting from paintDotNet, everything is working, but obviously I need another behavior :-) Thank you very much if someone can give me a solution or some hints.
×
×
  • Create New...