Re: Running IDE as a standard user in Vista
- From: "Jack" <replyto@it>
- Date: Fri, 28 Nov 2008 22:55:11 -0500
That message comes before loading forms.
Jack
"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@xxxxxxxxxxxxxxxxxxxxxxx
Hi 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@xxxxxxxxxxxxxxxxxxxxxxx
That 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@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
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.
.
- Follow-Ups:
- Re: Running IDE as a standard user in Vista
- From: Bill McCarthy
- Re: Running IDE as a standard user in Vista
- 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
|