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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call a program from a program? 1

Status
Not open for further replies.

fxsage

Programmer
Sep 9, 2002
21
US
I have a .prg which runs a scan routine. I also have
a different .prg which contains code for a really neat progress bar.

When I run the scan routine in the 'scan.prg', how can I call the code from the 'progress bar' .prg so that the progress bar works as the scan routine runs?

Thanks
 
Hi

It depends on your code..

It can be..

SCAN WHILE myProgressBar AND myFilterCondition
DO WHATEVER
ENDSCAN

myProgressBar should return a .t. and use the count made available within the loop or whatever.. as I said it depends on your code.

:)

ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top