BoSZ 0 Report post Posted September 2, 2004 hi guyzi fairly new to c++i started readnig a big book but it gonna take me a while to reach the last pageand i need to do a menu quite fast so could any one of You help me with this :i need to know whith action will run an external file using the the app assigned to it in the windows shell (sort of like the "run" command in used in dos)or a brief source code with a button fireing some file to use as a tutorial thanks in advance Share this post Link to post Share on other sites
BoSZ 0 Report post Posted September 27, 2004 K'mon guyzanybody??please help me with thati had to put c++ aside couse i need to perfect my PHP Share this post Link to post Share on other sites
LuciferStar 0 Report post Posted September 27, 2004 in php,try int dl ( string library)in c,try int system( const char *command );in WIN32 API,try 1HINSTANCE ShellExecute( HWND hwnd, LPCTSTR lpOperation, LPCTSTR lpFile, LPCTSTR lpParameters, LPCTSTR lpDirectory, INT nShowCmd);2UINT WinExec( LPCSTR lpCmdLine, // address of command line UINT uCmdShow // window style for new application); Share this post Link to post Share on other sites
BoSZ 0 Report post Posted September 28, 2004 thanks load browill check it outappreciate the help Share this post Link to post Share on other sites
buxgoddess 1 Report post Posted December 17, 2008 Try rapidshare search for some books on C++ or even books.google.com will help. I got most of my scripting needs through rapidshare. Share this post Link to post Share on other sites
Arthur Dent 0 Report post Posted January 8, 2009 in c,try int system( const char *command );I know Im not the asker but could you explain with more details? Thanks. Share this post Link to post Share on other sites