troubleshooting Question

Permissions & VB6

Avatar of dentab
dentabFlag for United Kingdom of Great Britain and Northern Ireland asked on
Visual Basic Classic
19 Comments1 Solution1221 ViewsLast Modified:
I have a program in Visual Basic 6 that will be run by limited users on an XP system.

I have portions of the program that I need to run as an administrator - I do not have a problem with building the credentials into the program.

Can anyone help with either running a portion of code or subroutine with elevated permissions, or accessing the hard-drive with them?

I am aware of RUNAS and would rather avoid launching a secondary application or running itself again for this purpose.
Join our community to see this answer!
Unlock 1 Answer and 19 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 19 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros