• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • Last Modified:

Newly reinstalled FoxPro 9 has serious problems Please advise

Problems with Win10 led to a reset.  This process erased a number (not all) of program files, including VFP9.  It installed easily with SP2.  However I need to revise some things like config.fpw.  But I can't edit that file. I open it with a command

MODIFY FILE "c:\program files (x86)\microsoft visual foxpro 9\config.fpw"

make the necessary changes (in particular in some CD commands), but then click the "Save" icon on the command line and I get this error message "File access is denied c:\program files (x86)\microsoft visual foxpro 9\config.fpw"

I've tried to edit this file several different ways, using say Notepad, and I get similar messages saying I don't have the right to mess with this file.  Please advise. . . Thanks.
0
Dan Moerman
Asked:
Dan Moerman
  • 3
  • 3
1 Solution
 
als315Commented:
You should run editor with administative privilegies (run as administrator)
0
 
Dan MoermanEmeritus ProfessorAuthor Commented:
I ran VFP9 as administrator; I right clicked on the icon, clicked "more", then clicked "run as administrator." I opened the file, edited it, and it saved fine.

How to I make "run as administrator" the default???
0
 
als315Commented:
You shouldn't be an administrator every time. Place edited files to folder, where user have enough rights. Do not use system folders like Program files etc. for editable files.
But, of course, you can create shortcut for your program, open it's properties and set "Always run as administrator" in compatibility tab.
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
Dan MoermanEmeritus ProfessorAuthor Commented:
New question.  When I run this newly installed VFP9, Task Pane Manager opens with this statement:

"0: Class definition MSXML2.DOMDOCUMENT.4.0 is not found."

What does this mean?  What should I do about it?

Again thanks for the assistance of EE.  Very helpful indeed.  dan
0
 
als315Commented:
Sorry, I don't know answer to last question, because I have no VFP9. I would ask new question about it.
MSXML is an XML library  and you could try to install msxml 4 library:
https://www.microsoft.com/en-us/download/details.aspx?id=15697
0
 
Dan MoermanEmeritus ProfessorAuthor Commented:
thanks, that fixed it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now