Subject Re: Run As Administrator
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Wed, 1 May 2019 21:13:00 -0700
Newsgroups dbase.getting-started

On 5/1/2019 9:11 PM, Ken Mayer wrote:
> On 5/1/2019 7:41 PM, michael wrote:
>> Hi Bruce/Andy,
>>
>> I would rather run it in my own private directory c:\RT9999 and I use
>> Set directory for that but it seems that if I dont run it as
>> administrator it looks for the program in the windows32\system folder
>> regardless.
>>
>> So, then If I run as Administrator then windows wont execute it in the
>> startup folder.
>>
>> So, what i am asking is why does dbase need to run as Administrator?
>>   Can we work around it? I already set directories depending on users.
>
> The default in dBASE is to use CUA (Common User Access) Paths. You can
> turn this off by using:
>
> _app.useUACPaths := false
>
> All of this is discussed in my books ...

You may also want to look at the manifest file issues -- there's a
setting there that can be done but that may not help with this
particular issue (but may with the run as administrator option).

Ken


--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm