Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread CDCollector Example Access Denied
Sun, Jul 6 2014 5:49 AMPermanent Link

Michael Riley

ZilchWorks

Avatar

I'm running Windows 7 and ran into an issue when I tried to run the
CDCollector example that ships with ElevateDB from inside the Delphi
IDE. I got an *Access* *Denied* error.

To get around this I copied the cdcollector folder from:

C:\Program Files (x86)\ElevateDB 2 VCL-STD\RAD Studio XE4 (Delphi
Win32)\examples\cdcollectorunicode

to:

C:\ProgramData\Elevate Software\cdcollectorunicode


Then I opened the cdcollector project from this location.

--
Michael Riley
GySgt USMC (Ret)
www.zilchworks.com
Mon, Jul 7 2014 4:17 AMPermanent Link

Matthew Jones

Michael Riley wrote:

> I'm running Windows 7 and ran into an issue when I tried to run the
> CDCollector example that ships with ElevateDB from inside the Delphi
> IDE. I got an Access Denied error.

This is a constant issue with any application - how do you put the
samples anywhere that they are useful. The key is that by copying them
to a personal location you get full access, but you also leave the
"masters" alone so you cannot change them. Thus you can always copy
them.

On my applications, I have an installer for the samples which the
application runs the first time it is run, but mine are quite often
used by multiple users on the same computer. Developers are generally
smarter than the average user, as you have shown, and know the reasons
for the access denied, and the solution.

--

Matthew Jones
Wed, Jul 16 2014 9:11 PMPermanent Link

Lance Rasmussen

CDE Software

Avatar

Team Elevate Team Elevate

One of the things I've done over the many years is NOT install any 3rd party components in their default folders.

I have a folder off the root of C:\ called _COMPS and will install everything there. This gets me out of trouble with UAC when running demos or recompiling the components.  

C:\_comps\ElevateDB 2 VCL-STD\RAD Studio XE4 (Delphi Win32)\examples\cdcollectorunicode

Preferably, I'd like to see Tim adopt what some are doing and put their examples under My Documents.  TMS and some others have been doing this.  This helps with the examples, but again, wouldn't help to recompile the components if under Program Files.

Lance


"Michael Riley" wrote:

I'm running Windows 7 and ran into an issue when I tried to run the
CDCollector example that ships with ElevateDB from inside the Delphi
IDE. I got an *Access* *Denied* error.

To get around this I copied the cdcollector folder from:

C:\Program Files (x86)\ElevateDB 2 VCL-STD\RAD Studio XE4 (Delphi
Win32)\examples\cdcollectorunicode

to:

C:\ProgramData\Elevate Software\cdcollectorunicode


Then I opened the cdcollector project from this location.

--
Michael Riley
GySgt USMC (Ret)
www.zilchworks.com
Thu, Jul 17 2014 3:21 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Lance

>One of the things I've done over the many years is NOT install any 3rd party components in their default folders.
>
>I have a folder off the root of C:\ called _COMPS and will install everything there. This gets me out of trouble with UAC when running demos or recompiling the components.
>
>C:\_comps\ElevateDB 2 VCL-STD\RAD Studio XE4 (Delphi Win32)\examples\cdcollectorunicode
>
>Preferably, I'd like to see Tim adopt what some are doing and put their examples under My Documents. TMS and some others have been doing this. This helps with the examples, but again, wouldn't help to recompile the components if under Program Files.

I use "3rdParty" but the principles the same. I also move examples off my C drive into a dedicated examples folder on another drive

Roy Lambert
Image