[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Launching an application with another login access level.

Posted on 2004-09-28
4
Medium Priority
?
132 Views
Last Modified: 2012-05-05
I have an application that launches another program. This is on our internal network and is for internal use only. Part of the child program needs access to a specific account that we have created specifically for this program. What I need to do is have program A run program B using the specified login regardless of who is logged in and running program A.

Hope that makes sense...

1) Joe logs in and runs program A
2) Joe performs the task within program A that causes program B to be started
3) Program A launches a new user session with the proper user/password to make program B run properly


Basically, program B has extra access rights and folder access that other user's don't have. So when it is launched it needs to be run as a specific user.

Can this be done (and how is it done) from within VB?
0
Comment
Question by:schworak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 1500 total points
ID: 12171517
0
 
LVL 3

Author Comment

by:schworak
ID: 12172289
Tried the accepted answer on that page but noting ever runs. It always returns ZERO as the results but never executes anything.

I expected it to fail under Win98 but it still returned zero just like it does under WinXP.

Any thoughts?
0
 
LVL 3

Author Comment

by:schworak
ID: 12172296
RunAs won't allow me to embed the password so that one doesn't work but the accepted answer looks promissing if I can get it to actually run something. Anything.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question