Category Archives: Windows 10

MS Network 6: Neum, Bosnia and Herzegovina

Thanks to everyone who came to my talks at MS network 6 conference.

Here are the slides and demo files from my presentations:

Building an Adaptive UI for UWP apps        Slides     Demos

Data in UWP Apps: XML, JSON, SQLite, Entity Framework Core    Slides     Demos

Remember: to run the demos using SQLite, you must first go to Visual Studio ToolsUpdates and Extensions, select the Online category and search for SQLite for Universal Windows Apps. Install that package.

You must also go into the Project References for the projects, and if the SQLite for Universal Windows App Platform is listed but there is a yellow bang icon over it, delete the reference and then re-add it through Add Reference – you will find SQLite for Universal Windows Platform listed in the Extensions list under Universal Windows.

Once again – thanks for hosting me in Bosnia and Herzogovina Smile

Working with SQLite in UWP

*Post will be updated with explanation soon!*

The following samples have been tested on Desktop, Mobile and IoT (Raspberry Pi 2). They require that you have the 10586 SDK installed (Visual Studio 2015 Update 1 or later).

UWP using Entity Framework 7 – use SQLite for persistent storage: EF7Sample

UWP using SQLite-NET, second example using SQLite-WinRT NuGet.
The SQLite-NET sample also demonstrates accessing a SQLite database from a background task (Click the Background Task link on the command bar menu to navigate to a page where you can register and signal (i.e. start) the background task).
*Check the SQLite Extension SDK references in the foreground projects. The samples were built with 3.10.0 but if you have a different SQLite version installed, you will need to remove and then re-add the SQLite extension reference*
SQLiteSamplesUWP

How to fix Windows 10 Explorer ‘Send To’ only showing Bluetooth Device

In my job, I obviously install pre-release versions of Microsoft products frequently, and so it has been with Windows 10. I’ve installed lots of early builds to weed out problems and to help get it into the best possible shape.

In a number of early builds, I found that the Windows Explorer right-click menu Send To feature often broke on my machine. It would show only ‘Bluetooth Device’ in the available destinations list and not all the others, including Compressed (zipped) folder which is the one I use the most, for building archives of projects to email to people when they ask me questions.

Well, in the past I put up with it just being one of those things with pre-release and waited for the next build, which would usually fix it. Well – it’s now happened on my official work PC which is still running 10240 – the public release.

So, I can no longer ignore this and I needed a fix. After much searching through forums and trying various reg files and dismissing other advice that was clearly wide of the mark, I found the answer in the comments to this here: http://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/windows-10-send-to-menu-only-contains-one-option/b7b59890-e0ec-451c-9080-a0cfaa2884e7 . So thank you ‘hillyhill’ who replied with the answer that worked for me.

In short, the solution is:

  • Press Windows + r – this brings up the Run dialog
  • In the open box, enter shell:sendto and press OK
  • This opens an explorer window where you will see a list of the items that should appear on your Send To destinations list
  • If there is a 0 bytes entry second in the list called Bluetooth, delete it. This is a bad file that stops the list from displaying
  • That’s it! You should have all your Send To destinations back Smile

Of course, that worked for me and your mileage may vary. Let me know in the comments if you have any different experiences.