How can I run Win10 Camera application via command? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
This is the Win10 built-in Camera application.
We usually can run a normal Windows applicaion via command like
notepad
calc
in cmd or powerShell.
For the camera APP, I inspected the process via spy++
The process is ApplicationFrameHost.exe and with -Embedding parameter.
However, I run this command in PowerShell and turned out not work.
ApplicationFrameHost -Embedding
How do I run the Win10 camera APP via command line? Or I use C++, which function can achieve that?

Type follwing command in cmd.
start microsoft.windows.camera:

Related

I have a problem in configuring virtual box to genymotion [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have installed genymotion so as usual it's two icons created on my desktop one generation and other it's shell.
Now I want to configure/run in virtual box.
I have started virtual box click on new and set the requirements as linux and version=linux 2.x/3.x/4.x (64).
And configured the storage. But when I started it by click on start it ask me to choose a file for it but it not showing me the genymotion file instead it is just showing me genemotion folder.
My problem is how to add genymotion like how I added other os
Are you trying to run Genymotion in a virtual machine? If so, it will not work: Genymotion needs direct access to your host machine hardware.
See https://support.genymotion.com/hc/en-us/articles/360002720057-Can-Genymotion-Desktop-run-in-a-virtual-machine-

unable to copy paste on Google compute engine sshed on my browser [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I am unable to copy and paste text copied on my clipboard to the google cloud compute engine instance which I have accessed on my browser.
I have tried firefox and chrome both but it is not working.
I have tried cntrl+c and cntrl+v but it dosent work.
Do i need to change some system settings ?
you can copy text from Cloud Shell (I'm assuming you mean that) by selecting text with the mouse (some scissors icon flashes then), and one can paste text with <Ctrl> + <V>... when trying to paste into there, be careful not to trigger the copy command (eg. by first positioning the cursor and only hitting <Ctrl> + <V>, without clicking onto text)... also see the documentation, for further details.

Writing your own version of windows [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Recently, I've been thinking about how there are multiple versions of linux and how they are all built on a similar kernel. And I was wondering if it was possible with Windows. In this case I am thinking of having the first program loaded after the kernel has booted up and started all the devices, would be the what pops up instead of the windows login screen.
The reason for this is because I was wondering if it was possible to have the system render all the objects on the screen in a distint styling, but still process it as if it were running on a normal windows machine.
Any Thoughts?
Initially I thought this was a naive question, but Mooing Duck's link in the comments proved insightful. There are projects that do just this: EmergeDesktop, SharpE, even the KDE.
They're open and on sourceforge, go get them and dink around to your hearts content.
I'm not sure that the login screen is part of the shell however. So your alternate shell would only show up after you log in.
However, in the long run, alternate shells have no hope of competition. Microsoft controls the environment and they don't play too nice with competition.

How to code a new Windows Shell? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
How would I go about coding a new Windows Vista Shell?
Everything you need to do as shell has never been documented, so there are some issues with file change notifications etc. The basics are:
SystemParametersInfo(SPI_SETMINIMIZEDMETRICS,...MINIMIZEDMETRICS) with (undocumented?) flag 8
Register as the shell (SetShellWindow,SetProgmanWindow,ShellDDEInit,RegisterShellHook etc)
Hide welcome screen by setting a signal ("msgina: ShellReadyEvent" and "ShellDesktopSwitchEvent")
Start registry run key, start menu\startup and ShellServiceObjects
Set registry Explorer\SessionInfo
The good thing is, you are not the first to write a new shell, if you look around, you can find some obscure required info. Here is a list to get you started:
https://web.archive.org/web/2019/http://www.lsdev.org/doku.php
http://bb4win.cvs.sourceforge.net/bb4win/blackbox/Blackbox.cpp?revision=1.49&view=markup
http://xoblite.net/source/Blackbox.cpp.html
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/
http://www.geoffchappell.com/viewer.htm?doc=studies/windows/shell/explorer/index.htm&tx=36
A good place to start would be investigating how to build a command line parser, something that can tokenize and interpret the inputs. There are tools that can help with this like ANTLR, or you might like to try building your own.
Once you've parsed the inputs you need to decide what actions to take - launching processes, piping between processes, redirecting output - and making those system calls.
If you're just after a more powerful shell rather than interested in building one, give PowerShell a try.

Far Manager file view customization [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
maybe some of you use Far Manager as a file manager and could help me with this. I want to be able to call a custom command on viewing a file with a specific extension, i.e. when I press F3 (command for viewing the contents of a file), some custom command is executed on that file and the output is shown in Far Manager's view window.
Appreciate any ideas.
Found what I need - under Commands > File associations need to create new entry with needed file mask, then under View command (used for F3) add this - far:view < your command.
I wanted this to be able to view decompiled Java class files, so I did this:
file mask: *.class
view command: far:view < jad -p !.!