
VB4.0 under Win95 - How to Terminate a DOS APP ( PKZIP)
Quote:
> Hi:
> I have been trying to develop an app, which requires me to use Pkzip to
> zip the files . I am sucessful doing that but with VB4.0 along with API
> I am not sucessful in checking to see if the ZIp has been completed
> because the zip is being run on a DOS session under win 95 and I am not
> able to use GetmoduleUsage() api under win95. Has any of you dealt with
> Thanks
> Bharath
I any OCX is available then it will ease your job. However, if we have to implement otheerwise, define a PIF file with option
'close on exit set'. Shell this file from your VB code & it will do its job. Remember, You can get the return code from it. You
can have commalnd line args if DOS program accepts.
My understanding is GetmoduleUsage count will not work under Win32, presuming you are using VB4 32bit.
Ajay