monica1
27th May 2005, 10:19
Hello,
I have a question about app_start(). It is possible that the black screen that appears when you execute app_start() doesn't appear?

Thank you in advance,

The code of my program is:

file = "cmg" & str$(utc.num())
file = "\\192.168.0.3\root\baanERP\bse\tmp\" & file

commadline = "cmd /c dir " & ruta & " /b | find " & """.old""" & " /v >" & file
ret = app_start(commadline, "", "", "", "")
if ret >= 0 then
| not equals
while app_status(ret) <> 0
suspend(500)
endwhile
endif

mark_h
27th May 2005, 15:37
Is there an option on cmd to run in background mode? Or can you create a shortcut that runs in a minimized mode, then run the shortcut instead of the cmd option. Never tried it, but thought I would mention it.