Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 945099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:41:55+00:00 2026-05-15T22:41:55+00:00

I have a database client application. Some people will run multiple instances (i.e. processes)

  • 0

I have a database client application. Some people will run multiple instances (i.e. processes) of it to connect to different databases simultaneously. I’d like to have this app accept a custom URI scheme for simple commands such as ‘open record 123’. The URI contains the database it pertains to, so, depend on the contents of the URL, one particular process is ‘eligible’ to handle it.

As such, I’ve decided to create an additional app for URI handling that 1) isn’t constantly running, but only invoked through Windows when a URI is clicked somewhere, and 2) finds the right client and passes the URL on to it. I’ve used an IpcServerChannel on the database client, and an IpcClientChannel in the URI handler, so that the URI handler can ask the client which database it’s responsible for.

How do I handle this for multiple clients, though? How can the URI handler ‘discover’ which clients (i.e. IPC servers) are currently running, and how to connect to them through IPC?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T22:41:56+00:00Added an answer on May 15, 2026 at 10:41 pm

    A windows service that each client app registers with when it starts up would be a fairly reasonable way of handling this scenario as it could also take care of URI processing.

    A couple of things you may want to think about though:

    • How will the service handle multiple users being logged into a single PC
    • How will the service handle instances of the client app that are force terminated or crash

    To respond to your comment about not wanting the URI handler constantly running:

    If you have the client application / URI Handler (in a similar way to the way .msi installation triggers the Windows Installer service to start, perhaps) start the service if it’s not currently running, and have the service terminate itself when it no longer has any running clients you’ll achieve that requirement.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 512k
  • Answers 513k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer No it is not. If you want a mutable dictionary,… May 16, 2026 at 5:46 pm
  • Editorial Team
    Editorial Team added an answer You can adjust this to your liking: (kill-new (shell-command-to-string "ls… May 16, 2026 at 5:46 pm
  • Editorial Team
    Editorial Team added an answer According to Wikipedia, you should use the 'MIME-Version: 1.0' heading… May 16, 2026 at 5:46 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I currently have a client website on the Grid server on MediaTemple that will
I have the necessity for a client application to lock (aka check-out certain business
I have an windows application in VB.NET (2.0) and Oracle Database, the connections are
I have a Java application with server and Swing client. Now I need to
I'm not the first to have these issues, and will list some reference posts
I have an application that receives messages from devices every few minutes. I also
I am having a lot of trouble using .dbf files. I have an application
I am writng a Django application that let's you download a file after some
I have a simple ADO.NET Entity Framework 4.0 model (edmx) which defines database tables
We are designing a Payroll Generation System for a client. The organization we are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.