BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Winzip problem

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
Ian Trackman
Guest





PostPosted: Sat Jan 10, 2004 7:41 pm    Post subject: Winzip problem Reply with quote



I'm trying to automate a Winzip backup of data files when my program ends.
I close the session then use CreateProcess to call Winzip. But Winzip
reports a file sharing problem.

I remember seeing a thread some time ago about this being related to a bug
in the BDE.

Does anyone have a solution or workaround please ?

Ian Trackman


Back to top
Bill Todd (TeamB)
Guest





PostPosted: Sat Jan 10, 2004 9:05 pm    Post subject: Re: Winzip problem Reply with quote



It is very difficult to answer database questions when you do not tell
us what database you are using.

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
Back to top
Ian Trackman
Guest





PostPosted: Sun Jan 11, 2004 9:46 am    Post subject: Re: Winzip problem Reply with quote



<It is very difficult to answer database questions when you do not tell
us what database you are using.>

Paradox under Delphi 5

Ian


Back to top
Bill Todd (TeamB)
Guest





PostPosted: Sun Jan 11, 2004 2:45 pm    Post subject: Re: Winzip problem Reply with quote

On Sun, 11 Jan 2004 09:46:10 -0000, "Ian Trackman"
<ian (AT) bluechipbridge (DOT) co.uk> wrote:

Quote:
Paradox under Delphi 5

Try calling Session.Close before you try to zip the files.

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)

Back to top
Ian Trackman
Guest





PostPosted: Sun Jan 11, 2004 7:36 pm    Post subject: Re: Winzip problem Reply with quote

< Try calling Session.Close before you try to zip the files. >

I'm already doing that (as per my original email).

Ian


Back to top
Bill Todd (TeamB)
Guest





PostPosted: Sun Jan 11, 2004 8:10 pm    Post subject: Re: Winzip problem Reply with quote

The only other alternative is to do the backup from another program
that does not open the database.

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
Back to top
Ian Trackman
Guest





PostPosted: Sun Jan 11, 2004 9:44 pm    Post subject: Re: Winzip problem Reply with quote

<The only other alternative is to do the backup from another program
that does not open the database.>

So is there some way of getting the first program to cause the second one to
execute after it ends (other than wrapping them both up in e.g. a batch
file) ?

Ian


Back to top
Bill Todd (TeamB)
Guest





PostPosted: Mon Jan 12, 2004 2:21 am    Post subject: Re: Winzip problem Reply with quote

On Sun, 11 Jan 2004 21:44:10 -0000, "Ian Trackman"
<ian (AT) bluechipbridge (DOT) co.uk> wrote:

Quote:
So is there some way of getting the first program to cause the second one to
execute after it ends (other than wrapping them both up in e.g. a batch
file) ?

Use ShellExecute or CreateProcess. For an example of using
ShellExecute see FMXUTILS.PAS in the Demosdocsfilemanex directory.

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.