>>I execute a VB exe from within my VFP3 application using RUN vb5prog.exe
>>
>>How do I supress the DOS window from coming up when I use the RUN command? Is there another way of calling the EXE?
>>
>>The EXE called is written in VB5.
>
>you can use the WinExec api call.
*****
DECLARE LONG WinExec IN Kernal32.dll string lcCmdLine, integer lnCmdShow
lcCmdLine = "vb5prog.exe"
lnretval = WinExec(@lcCmdLine,0)
*****
Give this a try. I don't have VFP loaded on this PC so there maybe a typo. If there is, sorry about that, but atleast this should point you in a direction (hopefully in the right direction).
Fred Lauckner
You know, it works on my computer. I don't know what your problem is.
.Net aint so bad.