ShellExecute(NULL, "open", "C:\\Program Files\\ImageConverter Plus\\ICPCL.exe ", "-convertto jpg -source "C:\\My Documents\\*.*" -dest "C:\\JPEG Files\" -save_opt convert_subfolders:yes restore_subfolders:yes dither:no -oper Resize size:200 100 keep_prop:no", NULL, SW_SHOWMAXIMIZED)
Shell ("""C:\Program Files\ImageConverter Plus\ICPCL.exe"" -convertto jpg -source ""C:\\My Documents\\*.*"" -dest ""C:\\JPEG Files\"" -save_opt convert_subfolders:yes restore_subfolders:yes dither:no log:yes -oper Resize size:200 100 keep_prop:no ")
If you launch the program from your application and Visual Basic doesn't wait till the program finishes the conversion and tries to access converted file before it is ready, you need to use Windows API method WaitForSingleObject().
* This example works the same way with other support formats.