Menu
  • HOME
  • TAGS

WinApp 8.1 (WinJS) App with AngularJS

angularjs,winjs,winapp

I see you're including winstore-jscompat.js... Please see this issue: https://github.com/MSOpenTech/winstore-jscompat/issues/8 ..which is fixed in this fork: https://github.com/ClemMakesApps/winstore-jscompat/blob/master/winstore-jscompat.js Note that this will probably be pulled into the main project at some point so this issue should go away "soon"....

How to get a active file/Application Complete path with file Extension

c#,folder,winapp

public static string GetMainModuleFilepath(int processId) { string wmiQueryString = "SELECT * FROM Win32_Process WHERE ProcessId = " + processId; using (var searcher = new ManagementObjectSearcher(wmiQueryString)) { using (var results = searcher.Get()) { ManagementObject mo = results.Cast<ManagementObject>().FirstOrDefault(); if (mo != null) { return (string)mo["CommandLine"]; } } } Process testProcess =...