-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/11/2014 02:28 PM, Rom. wrote: > Hi Steve, > > Following your message in the thread "Windows InnoSetup Installer" > about your C# port of the FreenetTray, i have tested it. > > Menu items work but i can not see them + a little Form1 window > appears. https://lut.im/PWY8TD7K/Yztzh9e6
Odd. These screenshots are very helpful when you point out problems. :) I assume the lack of text is either English not being marked as the default / fallback language or the "en" directory with the dll not being in the same directory as the executable. That is: FreenetTray.exe en/whatever-its-called.dll I'm surprised that the window shows up though, because it's set to be hidden. Maybe I set hidden in the English version but not the default? I will definitely start testing in different locales - that's remarkably fragile. Does it behave differently if you set your locale to English? > Another thing, when i click on the first item (openFreenetMenuItem > according to your code), it opens IE (in private mode). But IE > isn't my default browser (which is Firefox). That partially makes sense, because it goes through the browsers in order of Chrome, Firefox, Opera, IE. [0] If it doesn't find those it falls back to the default browser, which isn't preferable because it won't be in private browsing mode. I realize that one can count on IE being installed on Windows, so I don't know if the system URL call makes sense. That is, unless we plan on having this run on OSes with IE below 8, which introduced InPrivate mode. It does mean that the Firefox finder [1][2] failed to find your Firefox installation. Where in the registry are your Firefox version keys? > System : Windows 7 64b and .NET 3.5 > > According to your files you use Visual Studio . I only have > SharpDevelop 3.2 (http://www.icsharpcode.net/OpenSource/SD/). I > don't want to bother you but what do you think about using > SharpDevelop 3.2 for developing this FreenetTray ? Anyway, i will > take this opportunity to see if i can learn some C# base :) I'm willing to maintain SharpDevelop files alongside Visual Studio ones, but I don't want to commit to changing what I use without trying it. Something like Monodevelop that is cross-platform seems preferable but from what I've been able to find Monodevelop is unmaintained and a commercial fork of it is gaining prominance. If you'd like to open a pull request that adds SharpDevelop files I'd be happy to merge it. - - Steve [0] https://github.com/Thynix/Freenet_wininstaller_innosetup/blob/csharp/FreenetTray/Browsers/BrowserUtil.cs#L27 [1] https://github.com/Thynix/Freenet_wininstaller_innosetup/blob/csharp/FreenetTray/Browsers/Firefox.cs#L100 [2] https://github.com/Thynix/Freenet_wininstaller_innosetup/blob/csharp/FreenetTray/Browsers/Firefox.cs#L12 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJTb+9BAAoJECLJP19KqmFu+LoQAIwROWVJkdF6BZfZgx8LVzp8 aMy4EH3RAkE8YqbbplO0gN0YQpXdNbAZaMxF0S9D9JcuC2TMe0n3NwYwPZfiubDJ SWOkkAgOowbR0Erv1Yegs5nPv0AiT+NsjqKf7pqkU99Fcadym6zPLBiGEEIXK3t7 wusHQe2n456hO85/7agQWumZoJFzAucHXBCx6wJEM26t3oojHd5G1704hPzoBtII FkGV5cId3fPN5J0XmuneekfHUZjqdH84bhyqVh5cuqg7kXZMMMzwYwqW17lIG3eX oYXPHVZzG2z328fky6unugCND/xt3tIjKwbsPAWuoeUG3cerTtfQpTPu0+uS0nx8 obOCMr0OpFwB3swDic50xEHATOcAoI3MCRtem+JfrBsqk4BwF4cPHAnhpeU6M10Y yr2kuuTa5mTOoq10ew7LcSVQxiZRt4LCMBuAfSSh45KF9viJh3a3WaqYJRV/S0NK 6KSYTSnDaiyp8OQXA/qB/uqjgFoIqyIZQLlCxVtosJdYjIAXMuDVE8UEU9JYJTvo zFfdoKQz4scOgaI8KPKXsv78YErjyPVfUKTArz2jocNyKMZux4LTP5nFM4/Q+5An JBXYkGBcXZsVZTzN6j2Xpv8g5dN91rIzxdRrPB2HJHGSGFmvxBLyVQpVSgYfSIOM KiGdoe56BGfPbXnZ6xju =QzCq -----END PGP SIGNATURE----- _______________________________________________ Devl mailing list Devl@freenetproject.org https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl