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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:14:26+00:00 2026-05-24T16:14:26+00:00

I need to do the following: Application AppA is run by user UserA Now

  • 0

I need to do the following:

  • Application “AppA” is run by user “UserA”
  • Now AppA starts AppB using the runas-command (it is started as UserB)

Is it now possible to let AppA control AppB via COM? While everything works fine without the different user accounts, I can’t seem to get the COM object in the case mentioned above.

By the way: I use Runtime.InteropServices.Marshal.GetActiveObject to get the COM object of AppB.

Any ideas?
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-24T16:14:28+00:00Added an answer on May 24, 2026 at 4:14 pm

    I think you need to set the DCOM Security on the called COM Object. There is an example here:

    1. Given the ProgId
    2. Find the DCOM Configuration in Component Services and get to the properties
    3. Find the Security Tab and set the Launch and Activation Permissions, and give the caller the rights to do this.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We need to build the following application:- User punches in couple of inputs into
I need to create an application that does the following: The application is going
There is a VB6 application. It can be run with command line parameters to
My issue is the following: I need to run a .bat and a .exe
I have a large application (~50 modules) using a structure similar to the following:
I need a way of being able to do the following: A web application
I need following layout for my application: <TextView/> <ListView/> <Button/> But in this layout
I need a simple redirect for my pages. I need the following rewritten: http://abc.de/application/index.cfm/fuseaction/home.uebersicht/idLand/44/idReiseart/268/web/Aktivreisen-Wanderreisen.htm
I am developing one application which need the following functionalities I have webserver. I
Given the following strings: application/pdf; name=a.pdf application/pdf; name=b.pdf application/pdf; name=c.pdf application/pdf; name=d.pdf I need

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.