RE: registry class

From: Lee Mitchell (Leemi_at_online.microsoft.com)
Date: 08/30/04


Date: Mon, 30 Aug 2004 21:32:29 GMT

Hi Kevin:

Do you have access to the registry as a user on that machine? If you log
on with full admin rights, does the code work?

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 Public Beta Now Available!! --*
Download the VFP9 beta here: http://msdn.microsoft.com/vfoxpro/

*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
   http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
   http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
 
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
   - VFP5 Mainstream Support retired June 30th, 2003
   - VFP6 Mainstream Support retired Sept. 30th, 2003

>I am using the registry class in an application and have had no
>problems. We are trying to run the application in the IDE on another
>computer and the registry class is giving an error: Variable
>HKEY_CURRENT_USER not found.

>I have tried putting the registry.h include file in the project, but
>even that doesn't work. Any suggestions?

>Kevin Clark
>Seton Home Study School



Relevant Pages

  • Re: Running a program with elevated privilages
    ... Thanks for the post anthony however the installation is not really the problem it's running the program for the first time that creates an issue as admin rights appear to be needed to create registry entries and register an OCX. ...
    (microsoft.public.windows.server.security)
  • Re: anyone running Kodak Dental imaging
    ... > local admin rights for the software to work correctly. ... >> handle imaging integration between Gendex and Dentrix. ... >> I would say that the issues with Kodak Imaging are similar. ... >> and/or per user registry settings. ...
    (microsoft.public.windows.server.sbs)
  • Re: Quickbooks does not open
    ... for now we can to accomodate them and complain to them. ... There is another way around the registry permissions issue. ... > You don't have to give the user full admin rights, but you do have to give ... > computer's Power Users group and all will be right with the world. ...
    (microsoft.public.windows.server.sbs)
  • Re: Local Administrators group
    ... How do I give the users local Admin rights to the registry? ... I'm happy with giving users full admin rights to there local computer. ... >> Mark Heitbrink - MVP Windows Server ...
    (microsoft.public.windows.group_policy)
  • Re: Programs that need admin rights, but user shouldnt have the
    ... > user to have local machine and domain local admin rights. ... For the registry it is a little trickier. ...
    (microsoft.public.win2000.group_policy)