Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Question about "systemqq"

royxu
Beginner
455 Views
I used VF to design a software. In the help menu of my software, users can open standalone help file. In my program, I used "systemqq" to active the help file. But the problem is everytime when people click the help menu, a window "C:Windowssystem32cmd.exe" is open and the help window is also open. I only need help window. How do I get rid of the MS prompt window.
Thanks!
Roy
0 Kudos
4 Replies
Steven_L_Intel1
Employee
455 Views
Use ShellExecute, a Win32 API routine, instead. It won't open a command prompt window.
0 Kudos
anthonyrichards
New Contributor III
455 Views
You could also use
use user32
logical retlog
Character*100 helpfilename
helpfilename='c:fullpathhelpfile.hlp'c
retlog=WinHelp(hWnd, helpfilename, HELP_FINDER, 0)
'hWnd' is the handle to your application's window.
This will use WinHelp32.exe to open the help file.
Be sure to supply the full path for the help file.
0 Kudos
Intel_C_Intel
Employee
455 Views
You could just continue using SYSTEMQQ with the 'start' command....
0 Kudos
royxu
Beginner
455 Views
Thanks! I added start commandto my systemqq to make the prompt window disappear. It works!
Roy
0 Kudos
Reply