09 August 2017

Enable Remote Desktop Services after MS Windows 10 Creators Update

If you

  • cannot enable New Incoming Connection, Under File Menu in Network Connections or 
  • cannot start Windows Service > Remote Desktop Services

Follow this RegEdit Fix:

  • Search for “regedit” using Cortana, then run the regedit command in search results to launch Registry Editor.
  • Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RasMan
  • Create a new DWORD (Edit > New > DWORD)
  • Name the new DWORD SvcHostSplitDisable
  • Open the new DWORD, set the value to = 1, then click OK
  • Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteAccess
  • Create a new DWORD (Edit > New > DWORD)
  • Name the new DWORD SvcHostSplitDisable
  • Open the new DWORD, set the value to = 1, then click OK
  • Restart your PC (Start > Power > Restart)

27 July 2017

UEFI vs Legacy BIOS mode on Windows 10 SSD

In my opinion and after real experience in both cases, I must admit that Legacy BIOS mode is FASTER then UEFI BIOS, because UEFI use additional partition on SSD, which slows down performance of Windows 10.

Maybe, measuring boot times goes on UEFI side, but after that, performance of Windows is significantly faster with Legacy BIOS mode.

Your BIOS mode you can check with Run command : msinfo32. 

How to setup Unicode fields and variables in Delphi with UniDAC and MS SQL Server

To get Unicode characters in Delphi UniDAC and other controls you must convert next database field types :
  • Char -> NChar
  • VarChar -> NVarChar
  • Clob -> NClob
You can convert those fields automatic with ESF Database Migration Toolkit and in the "Data Type" page of "Setting" dialog: Checking "Transfer To National Type".

Also, then in Delphi you have to convert all database fields and code variable types :
  • String -> WideString
And after that actions - you will get full Unicode in all UniDac and other controls, even in design mode.

18 August 2016

How to replace AdMediator control with AdControl in UWP

If you developed application in Windows App Studio for Universal Windows 10 platform and generate source code for further developing in Visual Studio, than :

* Install Microsoft Store Services SDK

Open MS Visual Studio and working project, than :

* remove refence on Microsoft Advertising Universal SDK
* open Layouts\Controls\AdvertisingControl.xaml
* replace


* replace

Select AdControl in Design window and enter these Miscellaneous properties :
* AdUnitId
* ApplicationId
which you prepared in Windows Dev Center - Monetization section

Rebuild project and thats it.

14 August 2016

Windows 10 Apps crash fix (Weather, etc)

If you expirience Windows 10 Apps crash or close, it is likely that the problem is being caused by inadequate access permission to the C:\Program Files\WindowsApps

Go to the directory and right click it and click in Properties, then check the security tab and give access permission to your user (set yourself as directory owner). 

This should solve the problem of any application within the WindowsApp directory that is crashing.

18 March 2016

Install Custom ROM on LG Nexus 4

Install adb and fastboot on your PC

download TWRP 3.0.2-0 from here https://dl.twrp.me/mako/
download CM 14.1 zip build file from here https://download.cyanogenmod.org/?device=mako
download Google Open G-Apps (arm 7.1 nano) from here http://opengapps.org/

check connected device with
> adb devices

reboot phone with
> adb reboot bootloader

install TWRP using fastboot
reboot phone into bootloader using down volume and power buttons
> fastboot oem unlock
reboot phone and go back into bootloader
> fastboot flash recovery twrp-...-mako.img

go straight from bootloader into recovery

use the TWRP menu to

- wipe System, Data and Dalvik Cache

back to TWRP main menu to

use adb to send build zip file to /sdcard
> adb push cm-13.0-...-mako.zip /sdcard

use adb to send zip file to /sdcard
> adb push open_gapps-arm-6.0-pico-....zip /sdcard

use the TWRP Install menu option to

- install both zip files

reboot and wait five minutes

22 November 2015

Windows AdDuplex NuGet support

The best way to integrate AdDuplex into your project is through NuGet system, and not Visual Studio Gallery on MSDN.

This prevent Visual Studio Designer from Unhandled Exceptions.

So, if you already added Reference on installed AdDuplex support from Visual Studio Gallery on MSDN, remove it, and add corresponding NuGet packages for AdDuplex support.

Then in Windows 10 Universal project:

Add a namespace declaration to your page

Add an AdControl to your page:
< adduplex:AdControl AdUnitId="xxxxxx" AppKey="xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" />

Then in Windows 8.1 Store project:

Add a namespace declaration to your page:

Add an AdControl to your page:
< adduplex:AdControl AdUnitId="xxxxxx" AppKey="xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" />

Then in Windows 8.1 Phone project:

Add a namespace declaration to your page:

Add an AdControl to your page:
< adduplex:AdControl AdUnitId="xxxxxx" AppKey="xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" />

Happy coding !


19 October 2015

How to fix MS Office 2016 file associations

If you lost file associations after MS Office 2016 installation, then go to Control Panel - Programs and Features, select Change on right click of the Microsoft Office 2016 item.

Then choose Quick Repair and the problem schould be fixed...

21 September 2015

Setup Windows God mode

This is hidden Windows Icon called God Mode, witch enable you many hidden Control Panel settings. Procedure for creating this God mode icon is:

Step 1: Right click on desktop

Step 2: Click Create folder.

Step 3: Name new folder like this : GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} and press Enter.

Step 4. Enjoy God mode

20 September 2015

How to fix JavaScript IntelliSense in Visual Studio

If you have situation, that after some update in Visual Studio (TypeScript, for example), when you edit a JavaScript file, IntelliSense not work, here is a fix procedure:

Make sure your computer has an internet connection, and
If the Tools for Universal Windows Apps Development are still installed:

Go to Programs and Features, select Visual Studio 2015, click Change.
In Visual Studio setup, click Modify.
Deselect the feature Tools for Universal Windows App Development.
Select Tools for Universal Windows App Development again, and click Update.

If you have already uninstalled the Tools for Universal Windows Apps Development:
Reinstall Tools for Universal Windows App Development.

Or, take the following steps to reinstall the JavaScript project system and language service:
Download the installer for your edition of Visual Studio, such as, vs_community.exe.
Open a command window, and run the following command:
vs_community.exe /modify /installselectableitems JavaScript_Hidden /passive

Change directories to C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE.
Run the following commands
devenv /updateconfiguration
devenv /clearcache