Solved

How to .....

Posted on 2000-03-28
1
149 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Internet Explorer View Settings Question 15 116
HTML text in the body of an email (delphi code) 12 166
oracle global variables 4 76
can't find the executable in Simulator 1 100
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

839 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