Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in running a prg
Message
From
18/08/2005 13:37:32
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Title:
Problem in running a prg
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01042025
Message ID:
01042025
Views:
61
I am trying to develop a program for keeping records of individual student
in respective folder. I have a database table in which the ID and Name
of the Student will be stored. Then the next program will execute. I
have coded it as follows:

SELE A && student
INDEX ON CODE TO mStudT
SEEK mStudentID
IF FOUND()
bn=name
bn=allt(bn)
@12,60 SAY ALLT(NAME)
ENDIF
CH=0
@16,45 GET CH FUNCTION "*H \ READ

IF CH=1

*--------------
BN="c:\"+allt(BN)
if !directory(BN)
!MD &BN
# # [see note below]
!cd &bn
DO P1
ELSE

WAIT WINDOW "ALREADY EXISTS !PRESS [E]NTER TO CONTINUE"
CLOSE ALL
!cd &bn
DO P12
endif



My problem: How I can run the exe from the respective folder through
setup. P1 and P12 are the programs linked with forms, reports,
databases. [If I don't build exe and setup I can easily copied prgs
,databases at the # # above and run]
Next
Reply
Map
View

Click here to load this message in the networking platform