Re: Running IDE as a standard user in Vista
- From: "Bill McCarthy" <Bill@xxxxxxxxxxxxx>
- Date: Sat, 29 Nov 2008 14:53:27 +1100
Do you get this with no project loaded ? If so try disabling add-ins.
"Jack" <replyto@it> wrote in message news:uhUt8UdUJHA.5084@xxxxxxxxxxxxxxxxxxxxxxx
I done it as you suggetested, Bill.
Now, when I start IDE there is a message "Permission denied"
Jack
"Bill McCarthy" <Bill@xxxxxxxxxxxxx> wrote in message news:eEK0NhcUJHA.1960@xxxxxxxxxxxxxxxxxxxxxxxHi Jack,
It shouldn't. I run VB6 IDE as a normal user without problem. Have you checked the properties on the shortcut and or the VB6.exe ?
Click on the compatibility tab and make sure run as administrator is not checked. You need to also click on the Show settings for all users button just below that.
"Jack" <replyto@it> wrote in message news:edd8AacUJHA.2468@xxxxxxxxxxxxxxxxxxxxxxxThat is not really the answer I am looking for.
When I start IDE in Vista standard user profile, I cannot run IDE as a current user.
Vista forces me to start IDE as an administrator. I do not want that, because it changes environment I want to use IDE in.
Jack
"expvb" <nobody@xxxxxxx> wrote in message news:eYevXp3TJHA.6044@xxxxxxxxxxxxxxxxxxxxxxx"Jack" <replyto@it> wrote in message news:eAONVQ3TJHA.1908@xxxxxxxxxxxxxxxxxxxxxxxHello,
It is more to Vista security as I thought.
Starting project's IDE under Vista (as standard user) invokes User Account Control asking for the administrator password. Supplying one it is possible to step or run IDE but the result is not the same as running the compiled executable.
One of the differences is that the registry cannot be read from IDE, but the same registry is read by the compiled executable (and it is not run on elevated privileges!)!
Why is that difference? How to simulate in IDE the same environment the single executable has?
The IDE is probably calling RegCreateKeyEx with KEY_ALL_ACCESS, which is denied for HKLM and HKCR, but should fine for HKCU although I am not sure about the later. The IDE was made in 1998, before NT usage was common.
.
- References:
- Running IDE as a standard user in Vista
- From: Jack
- Re: Running IDE as a standard user in Vista
- From: expvb
- Re: Running IDE as a standard user in Vista
- From: Jack
- Re: Running IDE as a standard user in Vista
- From: Bill McCarthy
- Re: Running IDE as a standard user in Vista
- From: Jack
- Running IDE as a standard user in Vista
- Prev by Date: Re: Running IDE as a standard user in Vista
- Next by Date: Re: Running IDE as a standard user in Vista
- Previous by thread: Re: Running IDE as a standard user in Vista
- Next by thread: Re: Running IDE as a standard user in Vista
- Index(es):
Relevant Pages
|