Hi! 26 Jul
Windowskb and hwkb and dbmonster etc are making me lazy. I seem to be going
away from debugging and R&D effort ( the only things that excite
programmers/sys analysts) when I face problems. I just present the problem
in one of the fora, and someone who has been there/done that is always ready
to help. Three cheers.
I have installed Fox 7 on Vista Home premium. I think the user was standard
user when I installed it. Fox works perfectly OK, except for MODIFY FORM. It
complains that memo file &form.sct is invalid or could not be found. When
launched via RunAsAdmin, things are fine.
Is it because the installation was by a standard user? I changed the user to
Admin, but no luck.
Should I uninstall and reinstall? Or is there some other setting in
Defender/Firewall etc? Or AVG coming in the way?
Thanks all
Mohan
Stefan Wuebbe - 26 Jul 2008 14:09 GMT
> Hi! 26 Jul
>
[quoted text clipped - 12 lines]
> Should I uninstall and reinstall? Or is there some other setting in
> Defender/Firewall etc? Or AVG coming in the way?
That sounds as if your form.SCX/SCT are in a folder where the current user
has no write privileges. If so, moving your project folder to a self-made folder
like D:\myProjects or into a subfolder of the current users Documents folder
should work.
IOW, it is not directly related to UAC, but would be similar in WinXP with
a "Limited" user account.
hth
-Stefan

Signature
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------
bnmohan - 26 Jul 2008 14:46 GMT
Hi Stefan 26 Jul
very VERY sad.
I shifted the default directory to somewhere else, and things are OK.
I reset permissions for c:\progra~1\Micros....., but things were still not ok
for the form I was trying. I tried a new form and that worked. I tried
deleting the form from Fox, and access was denied to the SCX file. SCT got
deleted. I deleted the file from windows explorer.
So now I do not know whether the problem was with the .scx file or
permissions or whatever.
Thanks again!!
Mohan
>> Hi! 26 Jul
>>
[quoted text clipped - 11 lines]
>hth
>-Stefan
Stefan Wuebbe - 27 Jul 2008 07:43 GMT
> Hi Stefan 26 Jul
>
[quoted text clipped - 9 lines]
>
> Thanks again!!
When you take it as a feature, it is not so sad, IMO :-)
Windows is attempting to protect its setup for you, so by default it allows
writing to certain parts of the filesystem and registry only.
The %programfiles% folder belongs to the protected areas, that's Ok I think.
hth
-Stefan

Signature
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------
bnmohan - 27 Jul 2008 13:34 GMT
No No No. I am VERY happy with Vista UAC. I am very sad that I (EDP Head)
could not see that as the reason, simple though it was!
Mohan
>> Hi Stefan 26 Jul
>>
[quoted text clipped - 9 lines]
>hth
>-Stefan
Craig Berntson - 28 Jul 2008 17:09 GMT
Everyone is a standard user by default under Vista, even if they are in the
Administrator group. The problem is most likely happening because you're
trying to modify a form that is stored in the Program Files or Windows
directory, where you don't have rights to write files.

Signature
Craig Berntson
Microsoft MVP
-------------
> Hi! 26 Jul
>
[quoted text clipped - 22 lines]
>
> Mohan