Solved

calling an exe in TPW1.5

Posted on 1998-11-19
1
467 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 100 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Title # Comments Views Activity
Get pixel color of a jpg in a TImage 1 2,781
Convert date 6 409
Pass a string reference from one unit to another 8 127
Mydac connection data base issue 3 190
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
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…

738 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