Wait for the shelled app to finish

E

Ewa Sowa

I'm using CeCreateProcess to run a program that installs myApp.exe on my
Pocket PC. If myApp is already installed, a dialog box pops up asking if
you want to reinstall. Right after myApp.exe is installed, I want to use
CeDeleteFile to remove the icon associated with myApp (it's a hidden app
that the user is not supposed to see).

The problem is that CeDeleteFile fires before the myApp is installed.
How do I tell the program to wait for the shelled app to finish?

I'd appreciate your help. Thanks.
 
H

Herfried K. Wagner [MVP]

Hello,

Ewa Sowa said:
I'm using CeCreateProcess to run a program that installs
myApp.exe on my Pocket PC.

Are you sure the question is in any way related to the VB.NET language?

Regards,
Herfried K. Wagner
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top