Hi All,

Through Shell I am opening winxip32.exe in my vb 6.0 application. I want the application to wait until the shelled process has completed and then proceed with execution of the next line of code.
How should I go about it.

Please help.

Regards,
Dinil

Hi,
I think in vb6 you cannot do this using Shell () function. It just executes the exe files. You can use Win 32 APIs (CreateProcess(), WaitForSingleObject() ...) for this.

Thanks man.... Its working now.... Thanks once gain

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.