IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Closed TopicStart new topic

Running An Extenal File

, how to


BoSZ
no avatar
the one with a short temper
*********
Group: Members
Posts: 247
Joined: 26-July 04
Member No.: 211



Post #1 post Sep 2 2004, 01:04 AM
hi guyz

i fairly new to c++

i started readnig a big book but it gonna take me a while to reach the last page

and i need to do a menu quite fast

so could any one of You help me with this smile.gif :

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

rolleyes.gif thanks in advance rolleyes.gif
Go to the top of the page
+Quote Post
BoSZ
no avatar
the one with a short temper
*********
Group: Members
Posts: 247
Joined: 26-July 04
Member No.: 211



Post #2 post Sep 27 2004, 12:35 AM
K'mon guyz
anybody??

please help me with that

i had to put c++ aside couse i need to perfect my PHP
Go to the top of the page
+Quote Post
LuciferStar
no avatar
Advanced Member
*******
Group: Members
Posts: 114
Joined: 9-August 04
From: Suzhou Jiangsu China
Member No.: 743



Post #3 post Sep 27 2004, 10:17 AM
in php,try int dl ( string library)

in c,try int system( const char *command );

in WIN32 API,try
1
HINSTANCE ShellExecute(
HWND hwnd,
LPCTSTR lpOperation,
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR lpDirectory,
INT nShowCmd
);
2
UINT WinExec(
LPCSTR lpCmdLine, // address of command line
UINT uCmdShow // window style for new application
);
Go to the top of the page
+Quote Post
BoSZ
no avatar
the one with a short temper
*********
Group: Members
Posts: 247
Joined: 26-July 04
Member No.: 211



Post #4 post Sep 28 2004, 11:12 AM
thanks load bro

will check it out

appreciate the help
Go to the top of the page
+Quote Post
buxgoddess
no avatar
Super Member
*********
Group: Members
Posts: 285
Joined: 2-November 08
From: Cosmos
Member No.: 71,240
myCENT:42.91



Post #5 post Dec 17 2008, 05:15 PM
Try rapidshare search for some books on C++ or even books.google.com will help. I got most of my scripting needs through rapidshare.
Go to the top of the page
+Quote Post
Arthur Dent
no avatar
Newbie
*
Group: Members
Posts: 6
Joined: 18-October 08
Member No.: 70,077



Post #6 post Jan 8 2009, 07:35 PM
QUOTE (LuciferStar @ Sep 27 2004, 11:17 AM) *
in c,try int system( const char *command );


I know Im not the asker but could you explain with more details? Thanks.
Go to the top of the page
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 13 stevey 5,867 16th August 2006 - 09:59 AM
Last post by: NightRider
No New Posts   8 -Pandemonium- 9,335 25th August 2004 - 04:00 PM
Last post by: -Pandemonium-
No New Posts 6 dozen 4,673 9th September 2004 - 11:58 PM
Last post by: Triple X
No New Posts   4 annylei 4,671 14th September 2004 - 09:38 PM
Last post by: Triple X
No New Posts 10 jailbox 4,932 19th August 2009 - 07:17 PM
Last post by: iworld200
No New Posts   1 BCD 178 3rd September 2009 - 09:28 PM
Last post by: truefusion
No New Posts   3 josh_sg1 4,257 12th October 2004 - 12:02 AM
Last post by: s2city
No New Posts   8 sohahm 5,147 21st October 2004 - 08:44 PM
Last post by: beg4mercy
No New Posts   0 sohahm 3,566 16th October 2004 - 01:46 AM
Last post by: sohahm
No New Posts   13 Lyon 13,736 9th February 2009 - 10:42 AM
Last post by: aloKNsh
No new   14 Lyon 7,577 1st November 2004 - 07:43 PM
Last post by: -3ad3oy-
No New Posts   1 liliano 3,359 29th October 2004 - 07:30 PM
Last post by: BoSZ
No New Posts   11 Deaths Aprentice 3,766 17th July 2009 - 02:42 PM
Last post by: lastelement0
No New Posts   9 MuTeD 6,810 13th November 2004 - 12:22 PM
Last post by: no9t9
No New Posts 8 soleimanian 2,480 16th March 2009 - 08:50 AM
Last post by: aloKNsh


 



RSS Open Discussion Time is now: 22nd November 2009 - 01:33 AM

Web Hosting Powered by ComputingHost.com.