Re: Running IDE as a standard user in Vista

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.









.



Relevant Pages

  • Re: Starting Existing VB6 Project in Vista
    ... Are you starting the IDE using "run as administrator"? ... On Vista I place a shortcut for VB6 on my desktop and always launch it by right clicking and selecting "Run ...
    (microsoft.public.vb.general.discussion)
  • Re: VB6 Application Extremely Slow under Vista
    ... problem with lots of video cards, which can often make a user interface ... In my own case, for example, I have Vista installed on exactly the same ... fine, but the VB IDE runs like, erm, well, like a pig in treacle. ... from a disk then the VB IDE speeds up miraculously, ...
    (microsoft.public.vb.general.discussion)
  • Strange IDE connection wont allow internet acces
    ... I have 3 physical HDDs 2 SATA and 1 IDE, vista is installed on the ... IDE 200gb HDD ...
    (microsoft.public.windows.vista.hardware_devices)
  • reformat and subsequent disk issue
    ... I actually like Vista now. ... my HDs are a SATA and an IDE, the SATA had the C drive and OS and the ... IDE was a backup. ... partitions on the IDE and the thing wouldn't boot. ...
    (microsoft.public.windows.vista.general)
  • Re: Bugger, main PC dead.
    ... Might be memory, might be motherboard, might be gfx card, but at the age ... Biggest thing is, I don't want to have to scrap my old IDE HDDs, OK I ... This one I have now is a Dell, it was "much" cheaper than buying the bits ... re-installed vanilla Vista. ...
    (uk.rec.cars.modifications)