vbeginner
asked on
Shellexcute with pkzip.exe
Hi, i am making a program which will zip a directory.. now i am using the third party softare name pkzip.exe.. i am using the shellexcute api to do this..
but, i have a problem.. when zipping is done.. pressing ctrl+alt+delete will
display the winoldap. trying to shutdown will display that pkzip is not closed..
is there a way that when shellexecute is done it will just close the pkzip program by it shelf?
but, i have a problem.. when zipping is done.. pressing ctrl+alt+delete will
display the winoldap. trying to shutdown will display that pkzip is not closed..
is there a way that when shellexecute is done it will just close the pkzip program by it shelf?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I would also recommend TPAbbrevia http://sourceforge.net/projects/tpabbrevia/
Commercial quality component, and yet open-source now.
Commercial quality component, and yet open-source now.
ASKER
jclobocar, i have tried that... but if you press ctrl+alt+del it will display the winoldap and if you select shutdown it will display shutdown.. is there another way?..
vbeginner:
Is it from the your program?
1) Start operating system, and before you call your program, make a ctrl+alt+del and check the result.
2) Remove the ShellExecute, call your program, make a ctrl+alt+del and check the result.
I am waiting for the news,
JC Clobocar
Is it from the your program?
1) Start operating system, and before you call your program, make a ctrl+alt+del and check the result.
2) Remove the ShellExecute, call your program, make a ctrl+alt+del and check the result.
I am waiting for the news,
JC Clobocar
ASKER
jclobocar,
i am using windows 98 still there is... winoldap.. jclobocar is it possible to use the winexec('command.com /c pkzip....',sh_hide) ?
i am using windows 98 still there is... winoldap.. jclobocar is it possible to use the winexec('command.com /c pkzip....',sh_hide) ?
Why don't you make a .PIF file which Run Minimized and Close window at end?
ASKER
esoftbg, does this component handles subfolder?
vbeginner,
yes it handles all subfolders. I am using it for a Setup programm. This Setup programm does UnZip of INTERBASE server which contains atleast 10 subfolders. It works perfect !
emil
yes it handles all subfolders. I am using it for a Setup programm. This Setup programm does UnZip of INTERBASE server which contains atleast 10 subfolders. It works perfect !
emil
I have tried the following and no trouble (under Windows XP):
ShellExecute(Application.H
'c:\zipfile c:\myfolder\*.*', 'c:\', SW_HIDE);
Have a nice coding day!