|
-
Apr 18th, 2005, 11:17 AM
#1
Thread Starter
New Member
vb6 - run _self as admin
Hey y'all
My stress levels are soaring with this problem that I have been trying to find a solution to for the last week or so!...lol
I've created an ActiveX control that calls some .dll functions. These functions perform system checks that require local admin privileges and read/writes data to files. I have tried using the CreateProcessWithLogonW function to start the calling app with admin priv's, but this seems to accomodate only starting another process in the context of admin.
What I really need to do is to start the initial app with admin privileges, NOT another instance of this or another app.
I would be extremely grateful if anyone has any quality advice on how/if this can be achived with VB6/API ?
yours most grovellingly
noc_trix
Last edited by noc_Trix; Apr 18th, 2005 at 11:21 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|