I'm trying to solve a problem related to run an UWP app on top at startup (with Winodws 10).
I already put the app in the autorun applications but it always runs in background (the application is opened and if I click on the icon in the application bar I can see it). Unfortunately, I would like that it runs automatically on top.
How can I solve it?
#Xavier Xie We are also facing the same problem, what we are trying to build is a Windows 10 IoT machine that displays latest contents in fullscreen from a server automatically whenever the machine is started up / restart. Tried with StartupTask but it only brings up the App minimized / suspended at Windows startup.
The only way workaround for now is to drag a shortcut link of the installed UWP App into the startup folder. (type "shell:startup" in Explorer) Not as elegant and automatic but it works.
Related
I have a Visual Studio project with two start-up applications: a UWP and a console app. In the UWP I launch the Main Page in full-screen mode with
ApplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.FullScreen;
In the App.xaml.cs file. I then launch external applications in Program.cs by creating new processes and setting their filename to the .exe I want to launch. However, when I do this the UWP Main Page goes into full screen but I can't see the external applications. How to I make the external apps launch in front of the main page so that I can see them right away when I run the project?
How to I make the external apps launch in front of the main page so that I can see them right away when I run the project?
For this scenario, you could minimize UWP programmatically after external apps launched, the app will switch to front automatically.
IList<AppDiagnosticInfo> infos = await AppDiagnosticInfo.RequestInfoForAppAsync();
IList<AppResourceGroupInfo> resourceInfos = infos[0].GetResourceGroups();
await resourceInfos[0].StartSuspendAsync();
Please note you need make sure the app's mini version is Windows 10 update 1803 (build 17134).
I have an application in which i am using notifyicon.The application is meant to run at windows startup.The application is getting started in both the OS as i can see the process in task manager but in windows server 2003 the notify icon is not visible.I am clueless why this kind of behavior.The notifyIcon is visible in windows Xp.
I came across this NotifyIcon not showing
but this is not the problem.
Solved the Problem by bumping up the delay at the startup with the help of a script.
Problem seems to be with windows shell.dll
Currently I have a solution with Windows and WP7 XNA projects in it.
Whenever I try to debug just the Windows project it thinks it needs the WP7 emulator and decides to launch it. I opened up the Configuration Manager and created a new configuration just for Windows debugging and unchecked the building and deploying of all my WP7 projects yet it still insists on having the WP7 emulator open.
Is there a way to stop this behaviour?
In Configuration Manager uncheck deploy next to windows phone project
I bet it's very similar to this issue with multiple ASP.NET Development Server instances loading up no matter what project is being debugged. I can't check this right now to be sure, but I bet there might be a similar setting to this "Always start when debugging" option for the emulator.
So opening the Properties Window (View->Properties Window, not the View->Property Pages one) and then clicking on the project in Solution Explorer, then look for a similar setting to "Always start when debugging".
Alternatively, have you tried setting the target to a be Device instead of the emulator? That might also be a workaround.
It's probably because It's set as the startup project:
How to: Set Startup Projects
I have a simple hello world application that target platform is set to "Windows Mobile 6 Classic Emulator", develop with Visual Studio 2008 with .NET frame 3.5. Compile and run test, everything working. Then deployed to Motorola MC75. When run, the application run fine but I cannot access the start menu, start button or the windows taskbar. I go to App Center to setup the application options not to hide start menu, still not see it. How do write an application that has taskbar, start button, and start menu display.
I actually have MC75 siting here next to me. You should be able to see the windows logo on top Left of your Application. Clicking that will minimize your app showing you the "desktop".
I am launching openoffice 3.3.0 on Windows 7 from a WPF app no problem, however when launching on XP openoffice always goes behind my WPF any way to stop this ?
C:\Program Files\OpenOffice.org 3\program\soffice.exe
Guessing here.
Is there no way to launch a program and specify that it opens on-top/in-front?
Or do you need to minimize the WPF application to allow OO.o to show up on top. You may just have gotten lucky on Windows 7.