Solved

Closeing a dos window

Posted on 1998-11-08
1
122 Views
Last Modified: 2010-04-30
Hello,
I'm writing an installation application that uses auto-extract arj files.
I'm extracting the arj file by using 'CreateProcessA' function. A Dos window is opened, the file is exctacted
and at the end of the process the Dos window does not closed.
Any idea how can I close the window ?

Many thanks
0
Comment
Question by:sas11
1 Comment
 
LVL 2

Accepted Solution

by:
Poddy earned 100 total points
Comment Utility
If you call your dos program prefixed with
COMMAND.COM /C

then your window will close
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now