From: David Ching on
"Joseph M. Newcomer" <newcomer(a)flounder.com> wrote in message
news:k6ei73lrchdicaenmioopse9g35of5ec15(a)4ax.com...
> It appears to work, and this is real blessing because I have to restart
> VS2005 SP1/Vista
> about every 5 minutes these days (it crashes for no discernable reason,
> for example, doing
> such unbelievably complex tasks such as reloading a file that changed
> outside the VS
> editor, starting a compilation, breaking in the debugger, single-stepping,
> etc.). Thanks.

I'm glad the shortcut auto elevate trick worked for you, Joe. I also cannot
remember to right-click and Run as Admin, so I use this often.

Perhaps your troubles are due to running on 64-bit? Try more common
scenarios. I always stick way off the bleeding edge.

-- David


From: Scott McPhillips [MVP] on
> Joseph M. Newcomer wrote:
>
>> It appears to work, and this is real blessing because I have to
>> restart VS2005 SP1/Vista about every 5 minutes these days (it crashes
>> for no discernable reason, for example, doing such unbelievably
>> complex tasks such as reloading a file that changed outside the VS
>> editor, starting a compilation, breaking in the debugger,
>> single-stepping, etc.). Thanks. joe


Joe, are your Vista/VS2005+SP1+VistaUpdate crashes on one machine only?
I'm running that combination daily on a new HP notebook and have had
zero crashes or lockups in the 6 weeks I've had this machine.

--
Scott McPhillips [MVP VC++]

From: Tom Serface on
One nice thing is when I use this shortcut Vista reminds me that devenv.exe
is running as admin so I know I'm still under the guidance of the UAC.

Thanks again David.

Tom

"David Ching" <dc(a)remove-this.dcsoft.com> wrote in message
news:66cei.20756$C96.9088(a)newssvr23.news.prodigy.net...
> "Joseph M. Newcomer" <newcomer(a)flounder.com> wrote in message
> news:k6ei73lrchdicaenmioopse9g35of5ec15(a)4ax.com...
>> It appears to work, and this is real blessing because I have to restart
>> VS2005 SP1/Vista
>> about every 5 minutes these days (it crashes for no discernable reason,
>> for example, doing
>> such unbelievably complex tasks such as reloading a file that changed
>> outside the VS
>> editor, starting a compilation, breaking in the debugger,
>> single-stepping, etc.). Thanks.
>
> I'm glad the shortcut auto elevate trick worked for you, Joe. I also
> cannot remember to right-click and Run as Admin, so I use this often.
>
> Perhaps your troubles are due to running on 64-bit? Try more common
> scenarios. I always stick way off the bleeding edge.
>
> -- David
>

From: Tom Serface on
I've also been running that combination for over 3 months and I've had no
problems. To be honest, I typically work on the same things every day so if
it worked at all it would likely continue to work. Lately, I've bee working
on an ASP.NET project with C# code and that all works fine too once I
figured out how to get debugging working on Vista.

I have occasionally been held hostage by Intellisense, but I don't think
that is Vista's fault (my guess is it happens on XP as well).

Tom

"Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp> wrote in message
news:raOdnZaH0__AzOTbnZ2dnUVZ_tCtnZ2d(a)comcast.com...
>> Joseph M. Newcomer wrote:
>>
>>> It appears to work, and this is real blessing because I have to
>>> restart VS2005 SP1/Vista about every 5 minutes these days (it crashes
>>> for no discernable reason, for example, doing such unbelievably
>>> complex tasks such as reloading a file that changed outside the VS
>>> editor, starting a compilation, breaking in the debugger,
>>> single-stepping, etc.). Thanks. joe
>
>
> Joe, are your Vista/VS2005+SP1+VistaUpdate crashes on one machine only?
> I'm running that combination daily on a new HP notebook and have had zero
> crashes or lockups in the 6 weeks I've had this machine.
>
> --
> Scott McPhillips [MVP VC++]
>

From: Alexander Grigoriev on

"Joseph M. Newcomer" <newcomer(a)flounder.com> wrote in message
news:cage73tj26cvekaikuokodvhn3gkag6niq(a)4ax.com...
> Which is exactly the rationale I'm applying. I don't want to deliver a
> product that fails
> in the field once deployed because it ran fine for me as admin, but won't
> work for anyone
> else.
>
> What I want to do is twofold:
> Never, ever have to explicitly run a program "as administrator" if I
> always want
> run it as administrator; double-clicking the icon will ask me if I want
> to elevate, and I will click "continue" or "yes" or "ok" or whatever
> is required
> Never, ever have to supply a password in response to a privilege elevation
> prompt
> joe
>

The rationale for privilege elevation password prompt is that otherwise any
malicious program would be able to do that by API means.