Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Running An Extenal File, how to
BoSZ
post Sep 2 2004, 01:04 AM
Post #1


the one with a short temper
*********

Group: Members
Posts: 247
Joined: 26-July 04
Member No.: 211



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
post Sep 27 2004, 12:35 AM
Post #2


the one with a short temper
*********

Group: Members
Posts: 247
Joined: 26-July 04
Member No.: 211



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
post Sep 27 2004, 10:17 AM
Post #3


Advanced Member
*******

Group: Members
Posts: 114
Joined: 9-August 04
From: Suzhou Jiangsu China
Member No.: 743



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
post Sep 28 2004, 11:12 AM
Post #4


the one with a short temper
*********

Group: Members
Posts: 247
Joined: 26-July 04
Member No.: 211



thanks load bro

will check it out

appreciate the help
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Reactions To A Busy File(2)
  2. Local File Time To File Time()(0)
  3. Simple C File Handling In Action(3)
  4. File Format Encyclopedia Release 1.00(2)
  5. Encrypting A File(5)


 



- Lo-Fi Version Time is now: 6th September 2008 - 05:11 PM