S
Sarah M. Weinberger
Hi,
I have a VB6 based application and I read a post that I should post an entry
here, so I am doing so. My application needs to run with administrative
privileges. As a VB6 appliction it is not a .Net application that has built
in support for manifests. Visual Basic v6.0 does not support direct
manifests, but I am using InstallShield, which is running with
administrative privileges. The question is what changes do I need to make to
cause my application to forcibly run in administrative mode? Another post
mentioned that all the manifest does is to make an entry to the
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentViersion\AppCompatFlags\Layers
hive/folder. I checked this path on my Windows Vista installation and I do
not see the Layers sub-folder. Sadly, the post does not mention what the
settings are. I figured as much that all the manifest does is to set a
registry entry in the registry, which tells Windows that whenever and
however the application runs, be it by shortcut or direct launch, that the
privilege level should be as an administrator.
What are the settings that I should make to the registry to affect my VB6
application to run as with administrator privileges?
Is there another method?
Thanks in advance,
Sarah M. Weinberger
ButterflyVista, LLC
I have a VB6 based application and I read a post that I should post an entry
here, so I am doing so. My application needs to run with administrative
privileges. As a VB6 appliction it is not a .Net application that has built
in support for manifests. Visual Basic v6.0 does not support direct
manifests, but I am using InstallShield, which is running with
administrative privileges. The question is what changes do I need to make to
cause my application to forcibly run in administrative mode? Another post
mentioned that all the manifest does is to make an entry to the
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentViersion\AppCompatFlags\Layers
hive/folder. I checked this path on my Windows Vista installation and I do
not see the Layers sub-folder. Sadly, the post does not mention what the
settings are. I figured as much that all the manifest does is to set a
registry entry in the registry, which tells Windows that whenever and
however the application runs, be it by shortcut or direct launch, that the
privilege level should be as an administrator.
What are the settings that I should make to the registry to affect my VB6
application to run as with administrator privileges?
Is there another method?
Thanks in advance,
Sarah M. Weinberger
ButterflyVista, LLC