Paul
I don't know if you want to do this just on your own PC or as part of a project but try running a cmd.exe prompt as administrator and doing:
assoc .prg=Visual.FoxPro.Program assoc .vct=Visual.FoxPro.ClassLibrary
(case sensitive after the equals sign)