From: Simon Goodman on
Hi

Just moved over to Windows 7 64 bit and everything is running fine except
some programs cause UAC messages - "Do you want to allow this program.....".

My main programs all run fine without UAC complaining.

I have a few maintenance programs that all give the same problem - whether
run from the IDE or EXE. Even if I say Yes I want to allow it to run it then
it disappears and needs killing from the task manager.

The programs run fine when UAC is switched off.

I've been looking for differences between the main apps and these other and
cant find any.

Any pointers would be very helpful.

TIA

Simon


From: Ginny Caughey on
Do they access the registry or update files in the Program Files tree?

--

Ginny Caughey
www.wasteworks.com



From: Simon Goodman on
Hi Ginny,

No. They don't access registry or Program Files - they access their own
folder / INI files and update DBF structures.

If I run VO as Admin then build and run etc it works fine.

My main apps are all working fine in same folders with same sort of
structure etc.

I've tried removing the manifest file and I'm about to create a new
application and add bits back in until it fails to run - trouble is there
isn't a lot to it - which is why I'm surprised this one gives a problem
where the main ones don't.

Thanks for the interest though.

Simon



"Ginny Caughey" <ginny.caughey.online(a)wasteworks.com> wrote in message
news:4c1b879e$0$11260$c3e8da3(a)news.astraweb.com...
> Do they access the registry or update files in the Program Files tree?
>
> --
>
> Ginny Caughey
> www.wasteworks.com
>
>
>
From: Ginny Caughey on
Simon,

I don't know, but after you figure it out please post back. I run with UAC
on Win7 all the time and generally only need elevated rights for building a
COM server.

--

Ginny Caughey
www.wasteworks.com




From: Geoff Schaller on
Simon.

Where is 'their own folder' ?

If that is in Program Files then this is illegal. Any registry writing
is illegal and any attempt to load COM objects etc is also
administrative actions. It will be doing something along these lines.
Basically, to be a well behaved app it needs to only use the public or
user data areas designated for users. Or turn UAC off, which is not
recommended of course.

Geoff



"Simon Goodman" <simon.spam(a)spam.abersoftware.co.uk> wrote in message
news:wMJSn.37421$US6.20841(a)hurricane:

> Hi
>
> Just moved over to Windows 7 64 bit and everything is running fine except
> some programs cause UAC messages - "Do you want to allow this program.....".
>
> My main programs all run fine without UAC complaining.
>
> I have a few maintenance programs that all give the same problem - whether
> run from the IDE or EXE. Even if I say Yes I want to allow it to run it then
> it disappears and needs killing from the task manager.
>
> The programs run fine when UAC is switched off.
>
> I've been looking for differences between the main apps and these other and
> cant find any.
>
> Any pointers would be very helpful.
>
> TIA
>
> Simon