Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Doug Hennig
  Where is Doug Hennig?
 Winnipeg
 Canada
 Doug Hennig
 To: Sheila Mae Sentin
  Where is Sheila Mae Sentin?
 
 Ireland
 Sheila Mae Sentin
 Tags
Subject: RE: Compiling Exe in Vista
Thread ID: 189340 Message ID: 189351 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Windows Vista and VFP
Date: Thursday, August 14, 2008 2:32:02 PM         
   


Hi Sheila.

> I'm getting a message re "Access to Registry Denied" whenever I compile my application to .exe. I don't have this problem whenever I compile the app in Windows XP but now that I'm using Vista, I always get that message. Can someone please explain why this happens.

You have to have administrative rights to build an EXE that's a COM server (ie. it contains one or more classes marked as OLEPublic) because the build process registers the COM server in a part of the Registry that's protected from non-admin users. So, the solution is to launch VFP with admin rights: right-click its icon and choose Run as Administrator.

If you're not sure why you don't have admin rights when you're logged in as an admin user, http://advisor.com/doc/18897 should help explain why.

Doug

ENTIRE THREAD

Compiling Exe in Vista Posted by Sheila Mae Sentin @ 8/14/2008 1:20:15 PM
RE: Compiling Exe in Vista Posted by Mike Gagnon @ 8/14/2008 1:42:41 PM
RE: Compiling Exe in Vista Posted by Doug Hennig @ 8/14/2008 2:32:02 PM
RE: Compiling Exe in Vista Posted by Sheila Mae Sentin @ 8/19/2008 4:25:29 AM
RE: Compiling Exe in Vista Posted by Stefan Wuebbe @ 8/19/2008 7:20:52 AM
RE: Compiling Exe in Vista Posted by Sheila Mae Sentin @ 8/19/2008 8:50:58 AM