Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Cetin Basoz
  Where is Cetin Basoz?
 Izmir
 Turkey
 Cetin Basoz
 To: Matt Slay
  Where is Matt Slay?
 Birmingham
 Alabama - United States
 Matt Slay
 Tags
Subject: RE: Edit a VCX file in a text/code editor?
Thread ID: 209564 Message ID: 209589 # Views: 2 # Ratings: 1
Version: Visual FoxPro 9 SP2 Category: Classes and Objects
Date: Monday, December 29, 2008 7:27:01 PM         
   


> I sometimes like to work with my VCX classes in the class browser, and use the IDE to edit the classes, but sometimes I would like to be able to edit them as text/code files. VFP makes you choose one or the other.
>
> I know there is a tool on VFPx that will export a VCX to a working code file, but it is only a one-way conversion.
>
> I may be dreaming here, but is there a way to export the VCX to a text file, edit it in a code editor, then push it back into a VCX file?
>
> That would be the best of both worlds. (And much like Visual Studio I might add).

There are 2 ways (and maybe more):
1) PrgToVCX.prg - Tom Rettig's code. I think you can find it.
2) SccText.prg that ships with VFP is bidirectional. Check:
modi comm (_scctext)

Cetin Basoz

ENTIRE THREAD

Edit a VCX file in a text/code editor? Posted by Matt Slay @ 12/29/2008 4:39:16 PM
RE: Edit a VCX file in a text/code editor? Posted by Anders Altberg @ 12/29/2008 5:35:24 PM
RE: Edit a VCX file in a text/code editor? Posted by Cetin Basoz @ 12/29/2008 7:27:01 PM
RE: Edit a VCX file in a text/code editor? Posted by Yousfi Benameur @ 12/29/2008 8:00:29 PM
RE: Edit a VCX file in a text/code editor? Posted by Yousfi Benameur @ 12/29/2008 7:43:54 PM