Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / FoxPro / Setup / February 2004

Tip: Looking for answers? Try searching our database.

Get all the files belong to a project.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Samir R. Ibrahim - 28 Feb 2004 11:34 GMT
can I gather all the files belong to a project in one folder. I mean I want all the .prg .dbf .frx etc etc to be in one folder directory, so i can zip these files.

Thanks in advance.
Stefan Wuebbe - 28 Feb 2004 12:37 GMT
You can scan the project's files collection
   For Each oFile In _vfp.ActiveProject.Files
       ? oFile.Name, oFile.Type
       && copy file ...
       && copy corresponding memo file if any
       && like VCT for VCX, SCT, MNT etc...
   Next

hth
-Stefan

can I gather all the files belong to a project in one folder. I mean I want
all the .prg .dbf .frx etc etc to be in one folder directory, so i can zip
these files.

Thanks in advance.
Cindy Winegarden - 28 Feb 2004 15:47 GMT
> can I gather all the files belong to a project in one folder. I mean
> I want all the .prg .dbf .frx etc etc to be in one folder directory,
> so i can zip these files.

Hi Samir,

When I have a relatively small project I keep everything in one folder -
that is, I don't have Progs, Reports, etc. folders. However, Stefan's idea
will work well if you need to store them separately.

Using WinXP's native zipping function I can zip a folder that has
sub-folders and preserve the subfolders. I do this manually though - not
with a program.

Signature

Cindy Winegarden  MCSD, Microsoft Visual FoxPro MVP
cindy.winegarden@mvps.org  www.cindywinegarden.com

Samir R. Ibrahim - 28 Feb 2004 20:19 GMT
First Thank you Stefan for your code.

I did already have all my functions and report in one folder(300 .prg as
function and 250 report 'system requirement')., but sometimes i make a small
project that i use about 3 already existing prj, and 1 report, in addition
to new prg and report that belong to this project only, so if i need to copy
this project to another location via modem, i need to gather all that
project files coz it will take a lttile time to seach amoung all these
files.

Samir R. Ibrahim

> > can I gather all the files belong to a project in one folder. I mean
> > I want all the .prg .dbf .frx etc etc to be in one folder directory,
[quoted text clipped - 13 lines]
> Cindy Winegarden  MCSD, Microsoft Visual FoxPro MVP
> cindy.winegarden@mvps.org  www.cindywinegarden.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.