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 5928403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:17:17+00:00 2026-05-22T14:17:17+00:00

Our company uses ClickOnce to internally deploy our main application (AppA). I’m in the

  • 0

Our company uses ClickOnce to internally deploy our main application (AppA). I’m in the process of writing a helper application (AppB) that, ideally, would be started via AppA. We were planning on including AppB in AppA’s solution, then adding a reference to AppB.

Is there any way to actually do something like Process.Start by calling AppB.Program.Main()?

Then, to add a level of complexity, how does this factor in with the ClickOnce deployment of AppA?

Any insight to point me in the correct direction would be greatly appreciated.

Thanks.

  • 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-22T14:17:17+00:00Added an answer on May 22, 2026 at 2:17 pm

    I found the solution for us was to see if they had already installed AppB by looking for the .appref-ms ‘shortcut’ in the Start Menu. If they had it, do a Process.Start(). If not, send them to the Installation URL.

    Private Sub LoadAppBFromClickOnce()
        Dim argsToPass As String = "?arg1=1"
    
        Dim s As String = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Programs), "CompanyName", "AppB.appref-ms")
        If File.Exists(s) Then
            Try
                Process.Start(s, argsToPass)
            Catch ex As Exception
                Throw ex
            End Try
        Else
            MessageBox.Show(String.Format("AppB is not installed.  Please install from {0}.", APPB_INSTALL_URL), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
            Process.Start("iexplore.exe", APPB_INSTALL_URL)
        End If
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an old project at our company that uses shell scripting a lot.
Our company has a project that right now uses nginx as a reverse proxy
Our company uses Sophos Anti-Virus with a default configuration that performs on-access scanning on
An application of our company uses pdfimages (from xpdf) to check whether some pages
I am doing some work updating a data access library that our company uses
Our company provides a network component (DLL) for a GUI application. It uses a
I have developed a script that my company uses to back up our client's
Our company's ecommerce shop uses magento application. Everything is going well but there is
CSLA .NET is a framework that my company uses heavily in most of our
I'm writing a script in Ruby for work. Our company uses FileMaker Pro for

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.