The Computer Oracle

Where to find Windows Modern UI apps' source code?

--------------------------------------------------
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Ancient Construction

--

Chapters
00:00 Where To Find Windows Modern Ui Apps' Source Code?
00:26 Accepted Answer Score 16
01:19 Answer 2 Score 1
01:45 Answer 3 Score 1
02:02 Answer 4 Score 0
03:10 Thank you

--

Full question
https://superuser.com/questions/498768/w...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #windows8 #modernui #sourcecode

#avk47



ACCEPTED ANSWER

Score 16


You can find the source code for some of the apps in: (There's probably another folder since this isn't all the apps I have)

C:\Program Files\WindowsApps

For those of you who do not have permissions to access the folder follow these instructions:

  1. Type in “C:\Program Files\Applications” in the Windows Explorer address bar and hit enter. enter image description here
  2. Observe in shock and dismay the system dialogue saying you don’t own a folder on your own machine. Hit “Continue”. enter image description here
  3. After hitting “Continue”, you’ll be confronted by the following dialogue: enter image description here Do not hit “close”, instead click the “security tab” link.
  4. In the following system dialogue click “advanced”. enter image description here
  5. Click the “change” link in the owner security field. enter image description here
  6. Add in your live ID or windows 8 user name to the “select user or group” system dialogue. enter image description here
  7. Click “OK”, Click “OK”, Click “Ok”. enter image description here

Credits: Justin Angel




ANSWER 2

Score 1


You can get examples of metro/modernui/window store app code here from MS's code snippet site - there's more specific samples here. And of course, how to do hello world here. They seem to cover a good range of things and unless you specifically want to have a modified version of say, the mail app, are probably easier to make use of

Why get the apple from the barrel, when you can get it from the tree?




ANSWER 3

Score 1


There is a free e-book from Microsoft press for programming windows 8 apps using HTML 5, CSS and JavaScript. It includes a download for source code.

Link




ANSWER 4

Score 0


Since the question How to get access to C:\Program Files\WindowsApps? was marked as a dupe, I'll add another solution to get access to C:\Program Files\WindowsApps, from https://www.maketecheasier.com:

Save the following as a .reg file and run it:

Windows Registry Editor Version 5.00

; MajorGeeks.Com
; How To Take Full Ownership of Files & Folders
; https://www.majorgeeks.com/content/page/take_full_ownership_of_files_folders.html

[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
E
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

then open MS Explorer, right click on C:\Program Files\WindowsApps and select “Take Ownership.”. It'll show:

enter image description here

then you can access C:\Program Files\WindowsApps.

Notes: