Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fix defect visual Class

Status
Not open for further replies.

HENDRIKB

Programmer
Oct 1, 2005
10
DE
HI,

I need to fix a visual class. I know what's wrong with it (just member-object with fontsize = 1), but Foxpro says "Error loading File", and just doesn't open it.

So how can open it "low level" and change that wrong value?
The Text-editor will crash the file completely.

I Could generate a Class-definition-prg file and change it there. But how do i get back from there to a visual Class ?

Has anyone an idea.

thank you!

Hendrik
 
Librairies are just tables with a different extension. Use your librairy like a table and go to the offending record and change it.
Code:
use mylib.vcx
browse

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 

Hendrik,

Just to add to Mike Gagnon's solution .... take a backup of the VCX and the accompanying VCT files before you start. If you're careful, you won't need them, but it's sensible to be safe.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top