Servoy Client icon not being created on desktop

Quite often our users report that a Servoy Client icon is not created on the desktop of their Windows XP computers when they install Servoy Client. In the Servoy-admin web page “servoy.clientDesktopShortcutCreation” is checked off as “Yes”.

I do not know if they are just missing the dialog that asks them if they want to create an icon on their desktop, because of the way the windows sometimes layer on top of each other and over the dialog, or if it is a bug. It am beginning to suspect that it is a bug. It seems to be happening very often.

I am experiencing this problem as well. Was there ever any solution to this? I have verified that the setting in the server admin pages for creating a desktop icon is set to ‘true’.

Steve in LA

I ended up adding a ‘Create Servoy Client Shortcut’ method to the Methods pulldown menu. Something like this:

var url = '[InternetShortcut]\nURL=' + application.getServerURL() + 
'/servoy-client/servoy_client.jnlp?solution=YourSolutionName'
var thePath = plugins.file.showFileSaveDialog('Servoy Client' + '.url'); 
plugins.file.writeTXTFile(thePath, url);

This works, but doesn’t it leave the user’s browser window open and running in the background?

Steve In LA

SteveInLA:
This works, but doesn’t it leave the user’s browser window open and running in the background?

Steve In LA

No, it just works (using Windows XP Pro with IE6).

Ah ha! I use Firefox and not Internet Explorer. The Firefox browser stays open, but when I switched to IE, it works. I will submit this and see if there is anything the Servoyans can do, but I suspect it is one of those Java things. Thanks for all the help, Westy!

Steve in LA

Westy:
I ended up adding a ‘Create Servoy Client Shortcut’ method to the Methods pulldown menu. Something like this:

var url = '[InternetShortcut]\nURL=' + application.getServerURL() + 

‘/servoy-client/servoy_client.jnlp?solution=YourSolutionName’
var thePath = plugins.file.showFileSaveDialog(‘Servoy Client’ + ‘.url’);
plugins.file.writeTXTFile(thePath, url);

Hello,

I don’t find where do you put this method. Where is the pulldown menu?

thanks

It is to the right of the “Select” pulldown menu, but that is probably not really your question. To make a method appear in the Methods pulldown menu, when using Servoy Editor to create a method place a check in the “show in menu” checkbox at the lower left corner of the window that contains your method.

Dean

Oh ok.

Sorry I didn’t understand what “pullmenu” mean in French :f

Thanks you :wink: