Popular Posts
android.intent.action.SCREEN_ON & android.intent.action.SCREEN_OFF First, I've tried create a receiver to receive screen on/off and register receiver on AndroidManifest.xml like below, but unfortunately ... my string tool package bruce.lib; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URL... Speed up VisualStudio using RAMDisk STEP: Install RAMDisk and create a ramdisk r: Create a batch file and setting temp variant: @echo off set tmp=r:\ set temp=r:\ call ...
Stats
Change the AppDomain's Base Directory and Environment Directory
// Update AppDomain's Base Directory
string root_path = "c:\\temp\\";
AppDomain.CurrentDomain.SetData("APPBASE", root_path);

// Retrieve AppDomain's Base Directory
AppDomain.CurrentDomain.BaseDirectory.ToString()

// Update Environment's Current Directory
Environment.CurrentDirectory = root_path;