vb.net message pump help
hi,
im trying to make a kdvd batch encoder in vb.net, everything works great but i got a slight niggle im hopin u can help me with im using shell cmds with wait=true to go thorugh the various steps vdub (audio extraction) besweet (audio) quenc(vid) pulldown (if needed) bbmpeg (muxing) the main thing is id like to include a log file tab but on shell executing the form just whites out and is not responsive , after many searches on google i think it has something to do with message pump , but cant for life of me find any code on it. im a noob @ programming and everything so far ive found by google search but cant figure this one. can someone offer some insight as to where im going wrong please |
Hi powie,
You're going to have to find out a way to redirect "stdout" of your program to a pipe, where you can capture the log. The reason is that while your external program is executing, you loose control until it returns. So if the running program can write to a pipe, then you can capture it on the upper forking (main calling) program. Hope you understand what I mean. Can't give you any more help, because I don't do any .Net programming. -kwag |
after a little googling stdout does seem the way i need to go
guess i got a lot of learning to do thanks for the nudge in the right direction :) |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.