Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

calling an exe in TPW1.5

Posted on 1998-11-19
1
Medium Priority
?
487 Views
Last Modified: 2008-02-01
I would like to call an exe file within my program (exe located on public dir in a server).  What are all the necessary declarations and proper syntax to call this exe?  Thanks.
0
Comment
Question by:bytemesbh
[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
1 Comment
 

Accepted Solution

by:
pobwest earned 400 total points
ID: 1216140
To run an apllications using TPW 1.5 you have to use the command Winexec in the Winprocs unit.

Heres a sample program to run a specified file:

program Run;
uses winprocs;
begin
  winexec('c:\windows\calc.exe',1);
end.

Look in the help file for more syntax options, ie maximise on running, etc..
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

610 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