>>Dragan,
>>
>>In house, all the VCX are in a subdirectory that is * not * included in the search path. They are included (as mentioned) in the setclasslib statement.
>>Normally, I run a program such as startup.prg (as opposed to .app or .exe)
>>
>>In the field, the VCX are included in the project a .exe is run.
>>
>>In keeping with the above set-up, what are you recommendations?
>
>Well, check that process.vcx is really there - suspend immediately after your set classlib statement, and try to instantiate the class from the command window. Instead of your batch file, you can use any DOS command ("Dir >tmp.txt" would do), and use "NOR" instead of "HID" as the last parameter while testing, so you get to see your DOS window.
>
>If it works there but not in the piece of code where you really want to use it, check whether Set("Classlib") still keeps process.vcx - you may have a piece of framework code which sticks to some previously created list (I know I've had this problem elsewhere).
>
>If this is not working - try CreateObject instead of NewObject(), or try mentioning process.vcx with a path. Newobject() may well ignore the Set Classlib (didn't test that, ever), and without a path, it wouldn't be able to find it then.
Dragan,
oprocess=createobject('api_apprun', ' ', lcbatFile, lcThere, 'NOR')
Generated a 'must specify additional parameters' error.
Removing the ' ' worked, * but * the black DOS windows appears and the zipping is not visible at any time although the files zips successfully.
This occurs for both the 'NOR' and 'HID' params.