How to hide console window when I launch the program from my application?
Question: I launch your Image Converter Command Line batch image converter from my application.
Is there a way to hide console window that opens at every launch?
Answer: Surely it is possible. Below are examples for Visual
Basic and Visual C++.
Example for Visual Basic:
Shell("""C:\Program Files\ImageConverter Plus\ICPCL.exe"" -convertto tiff dither:no -source ""D:\Graphic Files\in\*.*" " -dest ""D:\out"" -oper Resize size:25 25 keep_prop:no, vbHide)
Example for Visual C++:
ShellExecute(0, "open", "C:\\Program Files\\ImageConverter Plus\\ICPCL.exe", -convertto tiff -source \"C:\\My Documents\\*.*\" -dest \"C:\\TIFF Files" -save_opt convert_subfolders:yes restore_subfolders:yes -oper Resize size:200 100", 0, SW_HIDE)