Solved

What is the command to run other app?

Posted on 1997-10-14
3
161 Views
Last Modified: 2010-05-18
I maen,
in turbo pascal this command is: exec();
i need to know what is the command in Delphi
i want to run e.g the app netscape.exe what is the comand
line?
0
Comment
Question by:dima_sherman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 50 total points
ID: 1347484
Use WinExec or CreateProcess.
Example:  WinExec('C:\WhatEver\Netscape.exe', SW_SHOWNORMAL);

JB
0
 

Author Comment

by:dima_sherman
ID: 1347485
You ll need to add more info next time!
0
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1347486
I think you'll find that I gave you more info than you asked for:
"What is the command to run other app?" ... "In Turbo Pascal this command is: exec(); I need to know what is the command in Delphi."

I gave you TWO commands, and an example.  If you know how to use Exec in Turbo Pascal, then WinExec shouldn't need much explaining...  CreateProcess was merely there for your info.  Delphi's helpfile will spoon-feed the rest to you.

By the way, you're welcome.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question