Solved

How to .....

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Newbie Thread Programming 1 151
Delphi Dbf export problem to a Visual Foxpro application 6 187
Delphi inherited method 6 67
Unique identifier on a terminal server (rdp) 4 52
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
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 …

808 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