Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don´t want users see DOS command screen
Message
 
To
20/03/2002 18:14:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00635260
Message ID:
00635263
Views:
12
Hi,

>Hi. I'm coping a dbf file in a VFP program to a c:\filexxx.txt (using command run of VFP) and I don´t want the user see the DOS type screen. (What kind of screen it is: modeless or what?). How can I do just show something like an advance bar....o anything else?

You can use the dbf-file with fopen(). Read blocks of a certain size from the file and write the block to the new file. Between copying the blocks you can update your progress bar. I think this will slow down copying a little. As an alternative to the DOS command you could use the VFP command COPY FILE.

Regards,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform