22 April 2014

MS Windows 8.1 : Add shortcut to This PC Explorer sidebar

I'm going to share a very small and easy trick which can be used to add any desired shortcut, file or folder in This PC Explorer sidebar in MS Windows 8.1.

Type following string in RUN (Win+R) or start menu search box and press Enter:
%AppData%\Microsoft\Windows\Network Shortcuts
It'll open "Network Shortcuts" folder.
You can also directly open the same folder by typing Network Shortcuts in Explorer addressbar and press Enter.
Now what you have to do is simply create shortcut to the desired folder and PASTE it in this "Network Shortcuts" folder. You can also paste file shortcuts or simply move the original file in this folder. 

06 April 2014

Microsoft Visual Studio development versions and target platforms

It's a little bit confusing to choose which version of Visual Studio is for desired Windows Phone or Windows Store platform. So I create this table :

Platform
Development
MS Windows Phone 7
MS Visual Studio 2010 Express for Windows Phone

MS Visual Studio 2012 Express for Windows Phone
MS Windows Phone 8
MS Visual Studio 2012 Express for Windows Phone
MS Windows Phone 8.1
MS Visual Studio 2013 Express for Windows Update 2 RC
MS Windows 8 Store Application
MS Visual Studio 2012 Express for Windows
MS Windows 8.1 Store Application
MS Visual Studio 2013 Express for Windows Update 2 RC


30 January 2014

Install Indy components into Lazarus

To have internet or server time in your application, you must install Indy components.
For a lot of users, I'm sure that the information given above won't work, or will be somewhat confusing given the differences between versions and inconsistent explanations.

The website points you to download the latest version from the snapshots page.
This wiki tells you to copy a lot of files over into directories.For me, neither worked, and ended up making a mess of my Lazarus installations.
  • Firstly, the page I would retrieve this from is here. Other sites I tried had problems with some files inside the archive.
  • When you open up the archive above, you will see there are folders: "fpc" and "lazarus".
  • You can copy the contents of "fpc" into: LAZARUS_DIR\fpc\2.6.0\source\packages\indylaz if you want to have things neat and tidy.
  • The "lazarus" folder, you copy into LAZARUS_DIR\components\indylaz
  • With both of these, make sure that there isn't a sub-directory inside the folders given. i.e. LAZARUS_DIR\components\indylaz\lazarus\
  • Go into Lazarus and go to "Package" -> "Open package file" and point it to the "indylaz.lpk" inside the LAZARUS_DIR\components\indylaz directory.
  • Once the package loads inside your project, click on the "options" button, which resembles an image of a parcel with a cog next to it.
  • Click the "Compiler Options" on the left-hand side and Click on the ".." button next to "Other unit files (-Fu) (delimiter is semicolon)". Select the "fpc" folder you created above and click OK. Lazarus will sort out the relative path for you. Don't change it.
  • Click OK and compile and then direct angry bile towards the individual who has steered you wrong with the previous, unhelpful, instructions.
  • Compile then install (will rebuild Lazarus). 
  • Currently, due to a know bug in FPC, you must compile the Indy package TWICE before installing it.

05 November 2013

Getting 'System.IO.FileNotFoundException' in Windows Phone Project with Background Agent

If you start getting 'System.IO.FileNotFoundException' in Windows Phone Project with Background Agent, than you probably missed to add Reference in main project on background agent.

28 October 2013

How to force full sync and have good old SkyDrive in MS Windows 8.1 (syncDriver)

I tried to find the way to force MS Windows 8.1 for full sync of my SkyDrive, because SkyDrive desktop version and notification tray icon is disappeared in 8.1 version of operating system.

Microsoft claims that these new SkyDrive brings smart files in a heart of a system, but smart sync is disappear. After reading many sites, forums and blogs, I finally find one small utility syncDriver which is free for personal use and does missing job perfectly.


"syncDriver is a desktop application that serves as client software for Microsoft SkyDrive cloud file storage solution. syncDriver maps a local folder of your choice to the SkyDrive root directory and keeps these two in sync. Whenever a file is modified locally on your computer, it gets uploaded to SkyDrive. If a file is uploaded or modified in SkyDrive, syncDriver notices that and downloads the file."

The sweetest feature is that program can map drive letter as virtual local drive. And there is a tray icon, too. Brilliant. I suggest this small efective tool to everyone who needs good old SkyDrive on MS Windows 8.1.

MS Windows 8 and 8.1 Speed Up Tweaks

If you want to speed up your MS Windows installation, consider these tips :

  • Turn off Real-time protection in Windows Defender in Control Panel
  • Turn off Windows Firewall in Control Panel
  • Disable System Restore in Control Panel/System/Advanced system settings/System Protection
  • Disable Windows Search service in Control Panel/Administrative Tools/Services
This is my personal tweak, but Anti-Virus and Firewall is turned on when is massive Internet activity.