Run Multiple Instances of Windows Store App

We have a desktop app which we are considering porting to Windows Store. Our app allows the user to generate orders. If the user wishes to generate several orders simultaneously, they open several instances of our app.
Is it possible to run multiple instances of a Windows Store app on Windows 10?

Hi,
Another thread in MSDN forum already answered this question:
https://social.msdn.microsoft.com/forums/windowsapps/en-us/19b5bd94-d772-46b0-b5af-a1be475b0e16/multiple-instance-in-metro-app
The app is still single instance, but it can now open multiple windows by calling
CoreApplication.CreateNewView. This is demonstrated in the
Multiple Views Sample
Roger Lu
TechNet Community Support

Similar Messages

  • Disallow running multiple instances of the same web start application..

    on the client? I have an application that is launched on the client by clicking on the link to the JNLP file. The problem is that I don't want the application to launch twice if the user clicks the link twice. Is there a way to keep web start from running multiple instances of the same app?
    I don't want to just disable the button after it is clicked because then the user won't be able to get back in if they need to.
    Any help out there?
    Thanks,
    Melanie

    The way I do this is to try connect to an obscure port number on the localhost at startup.
    if this connection succeeds I assume the app is already running. otherwise the program continues and registers as a server at that port number.
    I actually take this a little bit further by registering a web server at this port (I use the Brazil server), That way if the program finds an instance of itself running it can send a message to the web server and ask the program to do something (like start another window if,for instance you wanted to allow this but only within the same VM).

  • Distributing multiple versions of an app within a single Windows Store app

    The company I work for creates Point Of Sale (POS) software using Software As A Service (SAAS), so we host our clients' databases.  We do not force all of our clients to all be on the same version of our software; i.e. some clients are on version 3,
    others v4, others v5, etc.  As you would expect, the database schema for each of these versions is different, so each of these clients also use a different version of our client-side app.
    We are looking at making a Windows Store app that acts as a light-weight POS app that clients can use to sell their products.  The problem is, we will require having multiple versions of our Windows Store app in production; the version of the app that
    the client uses must correspond to their database version.  We were initially hoping to have our Windows Store app detect which version of the app the client should be using, and then automatically update itself to the correct version, but
    were told on this post that it violates the Windows Store certification criteria, so that's not an option.
    It has been suggested that we put multiple apps into the Store; one for each version of our software. We really don't want to do this though, as when we upgrade a client's database from one version to the next it would require that they uninstall their current
    app and install the newer versions app, causing them to lose all of their custom settings. We would like the updates to remain as transparent to the end users as possible; the store clerk shouldn't need to worry about which version their database is on so
    they know which app to download from the Store.
    As a possible workaround, is it ok for us to package all 3 versions of our app into a single Windows Store app, and then just have the app check at runtime which version it should run?  I assume that this is alright, since we will not be downloading
    any other code or installing any software/apps, as was the case with our original solution that violates the certification criteria.  Essentially we would just have 3 different classes and determine at run-time which classes code we should run. 
    I know that this solution isn't ideal, as it means our app will be 3 times larger than it needs to be, and that an update to any one of the 3 versions of our software will require an update to the Store app (so potentially users may download a new version
    of the Store app, even though it doesn't have any changes for the particular code version (i.e. class) that they will use), but it's one of the best alternatives we have come up with.  I just want to check that this solution doesn't also violate any certification
    criteria before we go down this road.
    If this is not allowed then our only other alternative might be to go with sideloading (as
    I discuss on this thread) and avoid using the Windows Store all together, but we would prefer to use the Store if possible as it eliminates a lot of overhead that we would have to deal with if we use sideloading.
    Any insights or suggestions that you can give are appreciated. Thanks!
    - Dan - "Can't never could do anything"

    Hey Mr_bigworlds, thanks for the reply.  The moderator on this post actually told me that this
    would be a better forum for my inquiries.  I agree that there may be another forum better suited for this question (there are so many that I don't know about), but since this relates to Windows Store certification criteria, I don't think the Windows Desktop
    Development forums are the place for it.
    - Dan - "Can't never could do anything"

  • How can i run multiple instances of Photoshop EXE at the same time on windows 7

    Alright. You may ask why do you need multiple ?
    Assume that i have 10000 PSD files in 10 different folders
    I have a script that just save as them as PNG
    And these files are each 3000x3000 px
    My computer has 8 cores and 1 photoshop exe is only using 1 cpu core
    Also i have SSD raid system it has 750 mb read write per second
    So right now i am wasting my time with running only 1 photoshop exe instead of at least 4

    I'm not aware of a way to run multiple instances or different versions of photoshop at the same time on windows.
    Assuming of course they are all installed on the same operating system.
    On mac versions you can running two different versions of photoshop at the same time, but i don't think that's possible on windows where it
    appears that only one version of photoshop can run at a time.

  • How to run windows store app in windows tablet

    Hi,
    I am developing an windows store app I can run my app in local machine.How can i run my app on windows tablets. I am using ASUS windows 8 tablet .How can I connect tab to my pc and run myapp in tablet.
    Thanks,
    Alok

    1) In Visual Studio, create an appx package (Project -> Store ->Create App packages -> Not for upload)
    2) Zip up the folder of the app package
    3) Send to target machine
    4) Unzip app package
    5) Right-click Add-AppDecPackage.ps1 -> Run with Powershell (must be an admin)
    6) Follow prompts for install
    7) Enjoy
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • How can I run multiple instances of an app in netbeans?

    Hi,
    I would like to run multiple instances of an app in netbeans, this is essential when making GUI changes and you want to compare them with the older version.
    Thanks in advance,

    It is still true that Netbeans cannot launch the same project twice, even with the latest 7.2 and JavaFX Beta version. When trying to "run" the second instance, Netbeans tries to rebuild the project jar file but can't delete it because it is "locked" by the first instance.
    For JavaFX projects, I start one instance by double-clicking the jar file (in the project's dist folder), then use Netbeans to launch the second instance. For comparing your app's old vs. new screens, save the old app version by copying the project folder to another place and use the double-click jar to launch the old app, then proceed to revise the new app version and launch it under Netbeans. That's how you run one version "outside" another version.

  • Windows Store apps on Windows Server 2012 with XenApp?

    We've got asked by a vendor whether our app will be able to support multiple simultaneous users, when installed on Windows Server 2012 and accessed via XenApp.
    I suppose the real question here is whether or not Windows Store apps can be run in XenApp over Windows Server 2012 at all, and if so whether there are any special requirements on the apps to support multiple simultaneous instances execution.
    The app itself takes each user through a log in procedure, during which all the dynamic user-specific data is retrieved from the back-end server; no such data is stored by the app locally.
    Any advice will be greatly appreciated!
    Thank you,
    Alex

    Hi,
    To better help you, the Citrix support could be more helpful on your questions:
    http://support.citrix.com/search?searchQuery=*&lang=en&sort=date_desc&prod=XenApp&pver=
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.
    As I known, we always use Remoteapp feature to share app, but it is only worked for desktop app:
    Publishing RemoteApps in Windows Server 2012
    http://social.technet.microsoft.com/wiki/contents/articles/10817.publishing-remoteapps-in-windows-server-2012.aspx
    About citrix product, I knew little about it.
    Kate Li
    TechNet Community Support

  • Running multiple instances of a service

    ello,
    is it possible (and not "tabooed") to run multiple instances of an application that is designed to be service?
    Im intending to use the Java Service Wrapper to have my app run as a service, but im wondering if it is possible to run multiple instances of my application wrapped in the wrapper.
    What about starting the service using command line arguments?
    This is some details of my scenario:
    Im developing a server that will run without threading - it will read client requests that have been saved by the clients into a database. Thus im going to have an infinite while loop that just keeps reading the db for unprocessed client requests.
    When it is noticed that the load has increased then more than one instance of the server will be necessary.
    if im using the java service wrapper to run my server as a service will it be possible to achieve the above?
    thanks.

    one more thing : if i make any changes in the wrapper.conf xml file for the java service wrapper will the config be automatically loaded?

  • How to find out if the company account for developing windows store apps is verified/approved?

    We have created the account for windows store app. How can I find out if the account was approved (the identity of the company)? 

    Hi,
    There is one more method,i know
    Set the JAVA_HOME and PATH
    then execute the
    $WL_HOME\wlserver_10.3\server\bin>setWLSEnv.cmd
    Go to directory which contains weblogic.jar ($WL_HOME\server\lib) and run below command
    $WL_HOME\wlserver_10.3\server\lib>java -cp weblogic.jar weblogic.version
    WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255
    Hope this will be helpful,
    Regards
    Fabian

  • How to use local .sdf database in a windows store apps

    Hi,
    I am new in windows store app development. I have been working in WPF application development for long time. Now I want develop windows store apps. I am studying on it. I got a problem. I what to store data from windows store app in .sdf database file. I
    confused is .sdf database is compatible with windows store apps.
    I want Deploy the apps in windows apps store. Is .sdf database support in client machine while he download it and run his own machine.
    Please Suggest me about it with sample reference. It will be very helpful for me.
    bye
    With Regards
    Sadequzzaman Monoj
    Bangladesh

    SDF files are used by Microsoft SQL Server Compact Edition. SQL CE is not supported for Windows Store Apps/Universal Apps. Only WP Silverlight Apps can use SQL CE. You will have to switch to a different database format.
    As far as I know the only DB currently supported for local deployment with Windows Store Apps is SQLite.
    This article gives an introduction on how to get started with SQLite in Universal Apps:
    http://blog.tpcware.com/2014/04/universal-app-with-sqlite-part-1/

  • How to use .sdf database in a windows store apps

    Hi,
    I am new in windows store app development. I have been working in WPF application development for long time. Now I want develop windows store apps. I am studying on it. I got a problem. I what to store data from windows store app in .sdf database file. I
    confused is .sdf database is compatible with windows store apps.
    I want Deploy the apps in windows apps store. Is .sdf database support in client machine while he download it and run his own machine.
    Please Suggest me about it with sample reference. It will be very helpful for me.
    bye
    With Regards
    Sadequzzaman Monoj
    Bangladesh

    SDF files are used by Microsoft SQL Server Compact Edition. SQL CE is not supported for Windows Store Apps/Universal Apps. Only WP Silverlight Apps can use SQL CE. You will have to switch to a different database format.
    As far as I know the only DB currently supported for local deployment with Windows Store Apps is SQLite.
    This article gives an introduction on how to get started with SQLite in Universal Apps:
    http://blog.tpcware.com/2014/04/universal-app-with-sqlite-part-1/

  • Tabbed page in a Windows Store App

    I am creating a Windows 8.1 app (Windows Store App) and I need to have a tab-based page in this app. As an example, for adding a new contact, I need to group the new contact details in tabs which can be switched from the left side
    menu items.
    I tried to use a FlipView for this purpose but I don't want the users to be able to switch between pages by flipping. I want to create a page similar to
    [Add a recipe] page in Microsoft Food & Drink app.
    How can I do this?

    You can create a Page that contains a
    Frame and switch out the frame as each menu item is clicked.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • [Forum FAQ] Go to Start Screen/Desktop when closing Windows Store App

    After install Windows 8.1 Update 1, you will notice these things set by default even on touchscreen laptops and desktops:
    Windows 8.1 now boots directly to the desktop.
    Closing Windows Store Apps and go to desktop instead of Start Screen.
    Besides option “When I sign in or close all apps on a screen, go to the desktop instead of Start” since Windows 8, another new option in Taskbar Properties “Show Windows Store app on taskbar” is used to control closing app behavior.
    Features of "Show Windows Store app on taskbar" 
    When the setting is checked, all of the Windows Store apps that are currently running will display on taskbar. You can easily switch between Windows Store apps and your desktop and its applications through the taskbar. For mouse users,
    you can also access the taskbar within a Windows Store app. Just move the mouse cursor to the button of the screen, the taskbar pops up.
    When the setting is unchecked,
    Windows Store apps have no minimize button, only Close button
    Windows Store apps that are open are not visible on Taskbar
    Windows Store apps can still be pinned to the taskbar
    How do these two options work for closing app behavior?
    Modern app and Taskbar   setting
    OFF
    ON
    Boot   to desktop setting
    OFF
    Close goes to Start
    Close reveals the   app that was previously used, and eventually dead ends at the Desktop
    ON
    Close goes to desktop
    Close reveals the   app that was previously used, and eventually dead ends at the Desktop
    Know why “When I sign in or close all apps on a screen, go to the desktop instead of Start” does not work when “Show Windows Store app on taskbar” is checked on
    As MironV mentioned in the
    thread, Windows 8.1 Update is designed to introduce a number of changes for mouse and keyboard users that would help them use and switch between Windows Store apps alongside their familiar desktop applications. A lot of these changes only made sense when
    combined together, so they are toggled by one setting, which is “Show Windows Store apps on the taskbar.” This is usually enabled together with the first setting as a complimentary set of improvements for desktop users. When the setting is enabled, Windows
    Store apps are intended to feel more like regular maximized applications living on the desktop, though they are full screen only. For example, when you launch apps from Start, they appear on the taskbar until they are closed. You can also minimize them or
    switch between them by invoking the taskbar.
    Please understand that unchecking the “When I sign in or close all apps on a screen, go to the desktop instead of Start" setting has no effect on close and minimize behavior when the “Show Windows Store apps on the taskbar” setting is checked, since
    they are controlling two independent things. If you tend to use only one Windows Store app at a given time, it may seem like we’re not respecting the setting by going to the desktop.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    I don't know if I'm the only one, but on my desktop (using mouse and keyboard only) I like to have my Start screen as my main screen.  To ensure this I made sure to uncheck the "When I sign in or close all apps on a screen, go to the desktop" box and
    check the "Show Start on the display I'm using when I press the Windows Logo key" box. I also really like having the task bar appear at the bottom even when I'm using a modern app.  Based on the settings I've chosen (i.e., boxes I've checked or not checked),
    I would expect to be taken back to the start screen and not the desktop whenever I close an app.  From what I've read from your response and from others in this thread, in order to accomplish this function (i.e., closing an app and going directly to the
    start screen) I need to uncheck the "Show Windows Store apps on the taskbar" setting.  By doing this I get the functionality I was looking for when the apps are closed and I get sent to the start screen.  However, I am now not able to see the taskbar
    when I'm in a modern app or when I'm on the start screen.  This seems counterintuitive/confusing as many have mentioned.  Not to mention it creates an additional step for users to get back to the Start screen.
    All I want to do is (1) use my start screen as my main screen, (2) see the taskbar when running whatever app I'm using (e.g., modern), and (3) go back to my start screen (and not the desktop) when I close an app.  It would only make sense that I should
    get these results if I leave the "Show Windows Store apps on the taskbar" box checked and the "When I sign in or close all apps on a screen, go to the desktop instead of Start" box unchecked; but unfortunately this is NOT the case.  I really hope that
    an update fixing this is coming sooner rather than later because this is really annoying.

  • Reading electronic identity cards in a windows store app project

    In a windows store app project, i've been ask to implement a way to read the information on a Electronic Identity card such as this
    is there any API i can use on a windows Store App project to achieve this? can't seem to find anything of sorts

    You would have to be able to tap into a reader with a driver which returns the information back to the app.  Do you have this?
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Printing in Windows Store Apps

    So,
    I am changing this post because my problem is far more complicated (annoying) than originally expected.  If I were creating a WinForms app I would have access to System.Drawing and the Win32 API, but as I am currently trying to create this as a Windows
    Store app, it renders those possibilities moot.
    The idea is to print a small 1x1 inch to a specific printer.  Now, in the Runtime intrerop functionality I could search for the printer driver and just assign that value to the PrintDocument.  Using a graphics I could just draw the in memory bitmap
    to the document and send it away.
    However, in this hyper security limited context of the metro interface "store app" I have found so far only Windows.Graphics.Printing and WIndows.UI.Xaml.Printing namespaces.  Though they seem to allow for sending data to
    a printer thus far I have not found any indication I determine
    which printer.
    The whole idea is a closed box system, so no extraneous dialogs or user interactions.  They pick the image, set the quanity, and the golden hamster wheel spits out a printed label.
    Now, I can do this very simply in a WinForms application, which I will be working on concurrently so I have a final product to deliver, but for myself (and the client) we would prefer a windows 8 metro style app to do this.  (now if store apps just
    access the entirety of .Net that would so much simpler, but wishes and horses).
    So could anyone provide me a map for more advanced control of the Printing process from a Windows Store App that I might figure out how to send the print document to the printer I want?
    Thanks
    Jaeden "Sifo Dyas" al'Raec Ruiner

    Excellent, thanks for the quick reply.
    For clarification, you mentioned a few terms that i would like to clarify:
    1.  windows runtime component / desktop printing API
    this sound like an actual windows 8 desktop application.  Like what you'd run on windows 7 and windows 8 desktop.  (Full .net 3.5/4/4.5 not the "Windows Store App").  Basically a Windows Forms application / class library / win service
    maybe?
    2. brokered
    this term sounds like there is a way to communicate from a Windows Metro/Store (XAML) App to a windows desktop component (a process maybe?).  If so, how does one do that.  If I create a WinForms application and create a class library for it. 
    That class library can be used by any .net application that references it but in the Windows Store App project I can't reference a standard class library, but your use of the term "brokered" suggests there is a way to do this.  Where would I
    find how to do that?
    3. desktop
    Finally, by the mention of the term "desktop" red flags go up.  I personally will never use Windows RT because it lacks the desktop.  However, by the suggestions you've made here the only way to get my goal seems to be in using Windows
    Desktop features.  If I were to create the XAML App and the "brokered component" to thus have access to "desktop printing", is that something that will even work on a Windows RT machine?
    Thanks so much,
    J"SD"a'RR
    "Never Trust a computer. Your brain is smarter than any micro-chip."
    PS - Don't mark answers on other people's questions. There are such things as Vacations and Holidays which may reduce timely activity, and until the person asking the question can test your answer, it is not correct just because you think it is. Marking it
    correct for them often stops other people from even reading the question and possibly providing the real "correct" answer.

Maybe you are looking for