Solved

How to .....

Posted on 2000-03-28
1
145 Views
Last Modified: 2010-04-04
How to execute an exe or a nother file from delphi4?
[how to run word,notepad...]
Please help!
Examples needed!
                    M@rko
0
Comment
Question by:marko_svaljek
1 Comment
 
LVL 3

Accepted Solution

by:
ckaneta earned 50 total points
ID: 2665001
include ShellAPI in uses clause

then use this function:
ShellExecute(0, Nil, PChar(tmp), Nil, Nil, SW_NORMAL);

where tmp is the name of the exe or other file to open
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video discusses moving either the default database or any database to a new volume.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now