Running this command in command prompt should solve the issue:
“%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe” -full
For PowerBuilder WCF client to work it needs .NET 4.0 SDK. But trouble is that this SDK is provided only for Windows 7. And trying to install it on Windows 10 gives an error. The solution I found is to uninstall Microsoft Visual C++ redistributable packages and only then installing SDK for .NET 4.0, then it works.
Problem is in system locale on Windows 10.
In Windows 10 Microsoft changed date time formats for some regions:
Finnish, Norwegian Bokmål (“Norway” and “Svalbard and Jan Mayen” variants), Serbian (variants “Cyrillic, Kosovo”, “Latin, Montenegro”, “Latin, Serbia” and “Latin, Kosovo”).
It was internally changed so that it has now the same separator in date and time parts.
For example, previously format was “01.01.2001 11:01” now is “01.01.2001 11.01”.
It is so even if in regional settings user sets “:” as time separator.
As in my case system locale for users cannot be changed to any other and it is unknown if and when MS will release any fix, solution in PB should be found.
My proposal would be:
Create function DATE in for example w_sheet window so all other windows inherit it.
public function date date (string astr_string);
Create helper function of_getdate in pfc_n_cst_datetime:
public function date of_getdate (string astr_date);
So, whenever Date( data ) is called in itemchanged (or other) event, our function would be used instead and it would return correct converted date.