Grouping in the "Processes" tab of Task Manager - vb.net

How do I have my application's process to show like "Adobe Acrobat Update Service" and other processes which also don't appear on Apps group, but on Background processes group?

There are three different groups that show up in the Processes tab of Task Manager:
Apps - any processes that are showing UI (have a top-level window)
Background Processes - any non-UI, non-Windows processes
Windows Processes - any non-UI, Windows processes
Processes can move between groups while they are running. This can be demonstrated pretty easily using Windows Explorer. Windows Explorer will show up in either the Apps or Windows Processes group depending upon whether it is showing any UI (for example, the Run dialog or a folder).

Related

How window task manager group processes under an application?

As titled, I am wondering how window task manager group processes into 1 application name. Please see below picture for what I want to do.
I have checked out this post. Therefore, I have 2 questions.
How to have an application process to house rest of the processes (including background process) in the task manager such that I can monitor the performance of the application at all
How to rename that root application, and the icon since my application is spawning some python processes at background etc. I would like to name them as "company product" instead of "python" in the task manager.
Any guidelines will be appreciated.
Some more background:
In our application, we spawn many processes (python, postgres, redis etc)
Currently, we bundle the entire application as window application via inno setup
The actual start up process:
Launch a python script (__main__.py)
Create the necessary UI components
Create background processes like redis, postgres etc

vb.net - How to make a "hub" or a main menu of multiple exe projects that will update independently?

I have approx 22 vb.net windows form based projects that are run by different users throughout my company. I publish them using one-click to a network server, then install on each user computer using the set-up file on that server. That way, when I publish an update, it is automatically pushed to each user when they open their programs.
I'd like to consolidate all of this into 1 program. So for example, the Accounting dept, IT Dept, and Customer Service Dept would all have the same icon/program to open, and they choose which program specific to them to open from that main menu. The goal is to remove all 22 programs from user computers and only have 1 installed that runs each individually (somehow).
My dilemma is program updates. When I update a program for the Accounting Dept, IT doesn't need that update. But since it would be only 1 installation and 1 publish, every user on the network would receive updates not relevant to them. So how do I create one main program "hub" for all users that only receives updates to the programs that they need?
You can launch the click once programmatically
Dim url = "\\Software\Production\ClickOnceApp\ClickOnceApp.application"
Process.Start("rundll32.exe", "dfshim.dll,ShOpenVerbApplication " & url)
Just point to the url on your server, where it's installed from. This will launch the app the same way windows does, so it would check for updates when it's run as if it's run from the start menu.
Then you could maintain a list of 22 applications' names and locations in the 23rd app's settings, xml, sql, etc., and add user groups, permissions, etc.
It could be a winforms app which provides buttons according to the configuration above for launching all these apps. Yes, I think this is actually a pretty neat idea.

A large number of windows problems when using the MVP pattern

The situation: Suppose we have a project in which two dozen different boxes with your business logic. Each window can cause other windows. Some windows MDI. Almost all the windows there are methods and setProgressOverlay showMessage. However, not all!
Immediately comes to mind is the creation of a large nesting hierarchy of different types of twist.
Actually the question: how to work with many different ideas as to open other windows (closing) of the presenter.
Write a window manager service to handle the new windows.
You may use different levels for windows (normal/modal).
Whenever you need to open a window, you ask the window manager to do it.
For example, if there is a modal window displayed, any new requests for opening windows gets denied by the window manager.

IntelliJ IDEA: Running multiple applications with one click

My application consists of 5 separate modules - web application, static web resources, 3 Java applications communicating through message queues.
My current workflow is to manually select them one by one from right corner select box and click Run or Debug button. This is especially annoying when I switch between SCM branches several times a day and I need to re-run everything.
Is there a simple way to configure IntelliJ to run all of them with one click?

In windows 8 metro style app, how to update live tile while app is not running?

In windows 8 metro style app, how to update live tile while app is not running ?
And the live tile start to run when OS system begin to start.
http://blogs.msdn.com/b/windowsappdev/archive/2012/04/16/creating-a-great-tile-experience-part-1.aspx
"3.Use polling notifications from the cloud to update the tile while the app is not running"
But I cannot find any example code.
I also try MSDN's PushNotificationSample, But I don't know how to set the "Server URI"?
Does anyone have similar experiences?
Okay, let's get you answered! Here is every single way and resources for each way to get you started. Your scenario isn't clear to me, so I will try to be generic.
There are four ways to update a live tile in Windows 8! And this is true for the primary app tile and the subsequent secondary tiles created by the app, too.
1> The first is that the app, while running, can update the tile
http://thesociablegeek.com/windows-8/livetiles/working-with-live-tiles-locally/
But, you were asking how to update when it is not running:
2> A user can deploy a background task with their Windows 8 app. This background task executes periodically and can update the tile of the app during its execution. The minimum frequency of background tasks is 15 minutes. Windows 8 allocates 1 CPU second every two hours to a task. Your task can execute as often as you want until you exhaust its allocation.
http://thesociablegeek.com/windows-8/livetiles/modifying-live-tiles-in-a-background-process/
3> An app can open a WNS (Windows Notification Services) channel while it is running. When it is not running, a web service can push tile updates across WNS.
http://msdn.microsoft.com/en-us/library/windows/apps/hh465460.aspx
http://visualstudiomagazine.com/articles/2012/03/25/using-push-notifications-in-windows-8.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh868253(v=win.10).aspx
4> A tile can be configured to pull from a URL. The XML from that URL is periodically evaluated for deltas and the tile is refreshed when detected. Tiles expire by default after three days.
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.notifications.tileupdater.startperiodicupdate.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/hh761476.aspx
Point of clarification: you can't cause something like a tile update when the OS is booted. For one, in Windows 8 the idea of rebooting (or at least shutting down) is practically deprecated. But your Store app can only execute in the ways above - and can't do something like the StartUp folder (in the past) or RegEdit/Run (in the past) just the stuff above. But maintenance or timer triggers get you pretty close.
And, that's the answer. Best of luck, dude!
Try background tasks # http://code.msdn.microsoft.com/windowsapps/Background-Task-Sample-9209ade9