•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Pascal and Delphi section within the Software Development category of DaniWeb, a massive community of 391,946 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,885 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Pascal and Delphi advertiser:
Views: 2882 | Replies: 2
![]() |
•
•
Join Date: Aug 2005
Posts: 20
Reputation:
Rep Power: 4
Solved Threads: 0
Hi,
I have an answer to 'how to execute an external exe file'.
Under 'implementation' and before your first procedure type in 'uses ShellAPI;'
After typing that in, add the following code to one of your procedures:
ShellExecute(Handle, 'open', 'type in the directory of your file e.g. c:\test.txt', nil, nil, SW_SHOWNORMAL);
Hope that helps
I have an answer to 'how to execute an external exe file'.
Under 'implementation' and before your first procedure type in 'uses ShellAPI;'
After typing that in, add the following code to one of your procedures:
ShellExecute(Handle, 'open', 'type in the directory of your file e.g. c:\test.txt', nil, nil, SW_SHOWNORMAL);
Hope that helps
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Pascal and Delphi Marketplace
Similar Threads
- Creating a VB dll (Visual Basic 4 / 5 / 6)
- Verifying the existence of a file with a delphi program. (Pascal and Delphi)
- Creating Bruteforce Program (C++)
- remove install software warning - not digitally signed (Windows NT / 2000 / XP / 2003)
- automating installation problem (Software Developers' Lounge)
- time delay during program execution (VB.NET)
- Creating a program to run under various OS (Pascal and Delphi)
Other Threads in the Pascal and Delphi Forum
- Previous Thread: Can I stop the execution of the program in Dev Pascal for a certain amount of time?
- Next Thread: Help with delphi project


Linear Mode