Hello,

the proposed bug fix included in beta17 does not work for windows 2000. If the bug fix is taken back opening the link works fine.

Example map and linked file are attached, the file example.jpg should be saved in directory "C:\test image directory" .

Dimitry

Dan Polansky schrieb:
Hello Chris,

I have noticed Dimitry reported some issues with opening files, issues that appeared after the replacement of toURL() call with toURI().toURL() call.

Attached please find a method from FreeMind.java that works fine for me on Windows Vista, in conjunction with URLs passed to it that are created using toURI().toURL() call.

The key change is located at:

                if (url.getProtocol().equals("file")) {
command = "rundll32 url.dll,FileProtocolHandler "+url.toString();
                    //The above used to be (?) Tools.urlGetFile(url); The

I have only tested the change on a Windows Vista machine; other Windows versions like Windows XP need to be tested too.

Best regards,
Dan


<<inline: EXAMPLE.JPG>>

<map version="0.9.0_Beta_8">
<!-- To view this file, download free mind mapping software FreeMind from 
http://freemind.sourceforge.net -->
<node CREATED="1211138644296" ID="ID_1711886061" MODIFIED="1211138651500" 
TEXT="link map">
<node CREATED="1211138652500" ID="ID_439391282" LINK="../../../../C:/test image 
directory/EXAMPLE.JPG" MODIFIED="1211138766281" POSITION="right" TEXT="link"/>
</node>
</map>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freemind-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemind-developer

Reply via email to