>Hi,
>
> I once saw a VB app that had a DOS window embeded on one of it's forms. Is it possible to do the same in VFP?. If so, how?
>
Not really - you could create a console for VFP using AllocConsole(), and then launch an instance of the command processor that inherited the VFP-owned console, but there's no easy way to embed the window for the console inside a VFP form and have both VFP and the DOS console app share ownership of the console window. You might consider a console window emulator that launched console commands via RUN and attached the StdIn and StdOut handles to let VFP pipe strings to the DOS command, and have the DOS command pipe it's output to a VFP Window - you might play with the FAQ #7932 entry on sending VFP output to a console as a start point.