ElektroStudios / Easy-Link-File-Viewer

Desktop application for Windows to read, modify and write shortcut files (.lnk) with ease.
Apache License 2.0
120 stars 11 forks source link

Hangs when using UNC names #6

Open RLE-Compad opened 2 years ago

RLE-Compad commented 2 years ago

Hi Very nice and useful app, thanks :)

I wanted to use it to drop links to a NAS (through VPN) on a users desktop. The NAS ip is different when accessed via VPN. I can't do it by windows "new link" because the nas is not reachable, and the new shortcut wizard checks it.

When i enter a non reachable target in your app, it hangs for almost a minute, but it works. Maybe you could skip that target verification ?

ElektroStudios commented 6 months ago

Hi. I am very sorry for the delay in offering a response, but I have had this project quite forgotten and abandoned.

Responding to your question, and to be honest, maybe I couldn't recreate the required scenario where to reproduce the issue and perform tests. I could work with mapped drives at least, but it would not be enough.

Easy Link File Viewer uses the Microsoft's built-in file dialogs provided for .NET. The issue you are suffering it does not depends on any extra additional checks that I'm doing, but in the internal checks that these file dialogs would do.

I could try to dig and do some modifications to the built-in file dialogs to try improve performance, or even replace the dialogs entirely with sophisticated alternatives (e.g. Ooki Dialogs), but perhaps doing so could make your situation worse rather than help solve the one minute delay problem. And I don't think I can verify the result properly.

Anyway, I'll take the time to investigate and recreate the scenario, although I know I'm too late to offer you any help. I'm sorry again for the delay in my answers.

A new version of Easy link File Viewer is coming soon, and it will have various improvements, fixes and new features (See change log of v1.5).

If you have more questions feel free to continue this debate.

Sincerely, Elektro.