Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Sing Chung Hii
  Where is Sing Chung Hii?
 Sing Chung Hii
 To: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Yousfi Benameur
Subject: RE: Global change of names
Thread ID: 209547 Message ID: 209759 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Forms
Date: Wednesday, December 31, 2008 12:18:28 AM         

Thanks, Yousfi. It is too far for me to comprehend, I am not at that level. Is there any examples I can refer to?

> > Is there a tool that can do a global change of database name, file names, variable names, field names, etc? What happen is I have a program on hand written by a colleague. He wrote the program called invoice, then 'save as' to another program which function as purchase but with all the names remain as 'invoice'. These encompasses the database name, the table names, the form names, field names, report names, control names, properties and the codes. The original program invoice is still in use and existing side-by-side. I find it very confusing when managing them.
> >
> > Thanks in advance.
> Hi Sing
> you can do changes with file collection.see on foxhelp "files collection (visual foxpro)".
> you can make changes in properties (name),methods,.. with : "with....endwith" in all the files of project.
> see also in foxhelp:File Object Properties, Methods, and Events.
> can use these syntaxes
> _VFP.ActiveProject.Files('Main.prg').Modify( )
> ......
> _VFP.ActiveProject.Files('Main.prg').name="myname.prg"
> ...

> regards


Global change of names Posted by Sing Chung Hii @ 12/29/2008 2:34:24 PM
RE: Global change of names Posted by Yousfi Benameur @ 12/29/2008 2:48:44 PM
RE: Global change of names Posted by Sing Chung Hii @ 12/31/2008 12:18:28 AM
RE: Global change of names Posted by tushar @ 12/31/2008 6:08:06 AM