Login  
Search All Forums
Dart Home | PowerTCP Zip Compression for Active | Custom Development Reply | PowerTCP Zip Compression for ActiveX Topics | Forums   
AuthorForum: PowerTCP Zip Compression for ActiveX
Topic: Runtime Error 13002
Swordfish212

From: New York, NY USA
Posts: 12
Member Since: 04/29/05
posted August 13, 2006 9:40 AM

Hello Support,

I have found a reproducible error in a sample program file that you provide for VB6. The sample is a called "Unzipper," and the error is a 13002 run time error which occurs in the Zip1_Progress module.

To reproduce this error, set the constant called
PROGRESS_DISPLAY_METHOD = 3. This will activate the third progress reporting method which is supposed to set the progress bar to the current file size, and step progress by how much has been extracted from the current file, so far. 

I would like to use this method in my own project, but since it does not seem to work in the provided sample, I guess need a hint on how it should be setup. The error message produced is: "The current instance of the ZIP object is already running an operation." Any ideas?

Many thanks,

Todd



Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted August 14, 2006 11:57 AM

I have duplicated what you are seeing and will write up the problem for future investigation.

Just so you know, the error only occurs on the first call to the progress event, so you can work around it by doing the following:

On Error Resume Next
sz = Zip1.FileStore(FileNumber).Size
On Error GoTo 0

Hope this helps!
Swordfish212

From: New York, NY USA
Posts: 12
Member Since: 04/29/05
posted August 14, 2006 11:58 AM

Hey Tony,

I appreciate the reply.

I have used another e-mail account to register the product. I am sorry for this confusion. I called Dart today to clarify the accounts I use for both the forums and my registration, so it should be worked out by the time you have read this message.

Incidentally, I have now found the new Process64 event in the latest update of the ActiveX product (just downloaded it). I will dig around and see if I can get it to do what I want. However, since the current ActiveX is also reverse compatable with the Progress event and since I have already written code around this event, I would like to know if the old sample could ever be made to work.  

I appreciate your time.

Todd
Swordfish212

From: New York, NY USA
Posts: 12
Member Since: 04/29/05
posted August 14, 2006 11:59 AM

LOL ... I see you posted 1 minute before me. Thank you. I will give this a try...
Reply | PowerTCP Zip Compression for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX