Popular Posts
jQuery : post/get using data() as param object <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPE html... 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 ... runas RUNAS 使用方法: RUNAS [ [/noprofile | /profile] [/env] [/netonly] ] /user: program RUNAS [ [/noprofile | /profile] [/env] [/netonly] ...
Blog Archive
Stats
Use event log in windows
System.Diagnostics.EventLog evtLog = new System.Diagnostics.EventLog();
evtLog.Source = "application";  // 應用程式
evtLog.WriteEntry("message", System.Diagnostics.EventLogEntryType.Warning);
evtLog.WriteEntry("message", System.Diagnostics.EventLogEntryType.Warning, 12029);