Invoke Visual Basic ActiveX exe with parms from C Language.
Posted on 2004-11-23
I have the current statement that works fine:
ShellExecute ( NULL, _J("open"), _J("boldvr.exe "), lpDS->szDescriptn01, NULL, SW_HIDE );
This executes the process "boldvr.exe" and passes the "szDescriptn01" pointer to the called process when a button is clicked.
I need to change this so that when the process opens the window, the main window in the background cannot be accessed to click the button and open a 2nd window.
I am using J. D. Edwards Enterprise One editor that builds the C code. This is sometimes very particular so I try to use slightly older commands for best results. I'm pretty sure C++ commands will not work.
I have tried ShellExecuteEx and spawn. If anyone can convert my code to one os these and have the effect I am trying to accompish - that would help me greatly. Thanks.