eBook authors eBook Software - create and publish your own ebooks
Create your own eBooks
 
   
EBookApprentice.com
Learn How To Create, Publish & Market E-Books
 
   
EBookCompiler.com
E-Book Creation Software
 
   
EBookPower.com
Add sophisticated multimedia to your E-Books
 
   
CoverFactory.com
Create E-Book covers in minutes
 
 
  EBookSubmit.com
E-Book Marketing & Promotion made easy
 
  EBookJungle.com
Search engine for E-Books
 
  EBookInterviews.com
Interviews with eBook authors
 
  EBookEnhance.com
Tools for building better eBooks
 
 
 
Archived Message:

RUN('Ebook')


 
Christian Vignole With Ebook Compiler 4.01 I can RUN() an Ebook from an other one. This is exactly what I was looking for.
How can I close the first Ebook ?
EXIT close Ebook but cause an "violation d'accès" under Windows NT and Windows 98
Thank you for your help.

Posted on: 5:14 pm on February 11, 2001
EBookCompiler Hello Christian, welcome to the forum

I'm not sure what the problem is without a little more info.

Would you mind either posting a little more detailed description of what you're doing (for example the same script).  If you prefer to keep the script confidential you can e-mail me at webmaster@ebookcompiler.com


Posted on: 12:40 am on February 12, 2001
Christian Vignole More details
For exemple from Ebook1 :

<P><A HREF="##RUN('ebook2.exe')##EXIT"><FONT FACE="Arial" SIZE=2>RUNEBOOK</FONT></A></P>

Cause an "Share Violation error" (Dr Watson Windows NT).
But the first Ebook is closed after the Windows advice.
Idem with Active Link internal and External.

Thank you for your anwser.


Posted on: 6:02 am on February 12, 2001
EBookCompiler Ok this is going to be complicated to explain, but I'll do my best

The reason is, what you're trying to do causes the share violation error:

1. Start E-Book #1
2. E-Book #1 unpacks itself
3. From E-Book #1, it starts E-Book#2 which is a file that is part of EBook #1
4. Exit E-Book #1, which tells E-Book #1 to clear itself up, including deleting the EXE file for E-Book #2
5. The delete will fail, sharing violation, because Windows doesn't allow a running file to be deleted.  All other E-Book #1 files will be deleted.

Sharing violation is a non-fatal windows error, which happens quite a lot.  Unfortunately Dr Watson treats it more serious than it is.  If you turn off Dr Watson, you could ignore it safely.

My suggestions

1. Ignore the Dr Watson message

or

2. In E-Book #1 copy E-Book #2, and run the copy.  This would work, with no Dr Watson errors, but means you'd have a temp file left lying around after E-Book #2 exits.

Here's how
<A HREF="##FILECOPY('myvar','{ebook}\ebook2.exe','{tmp}\ebook2.exe')##RUN('{tmp}\ebook2.exe')##EXIT()">Click here</A>

or

3.  Instead of putting E-Book #2 inside Book#1.  You could put both E-Books in the same directory, and use something like

<A HREF="##RUN('{app}\ebook2.exe')##EXIT()">Click here</A>

How do you get them in the same directory?
- For a CD-ROM just make the CD like that
- or for a download you'd need to build an installer.  For a free install builder, tryhttp://www.jrsoftware.org/


Posted on: 11:35 pm on February 12, 2001

Go to Active Discussion Thread

Participate in Current/New Discussions

List All Archived Forums



Copyright © 2000-2015, Answers 2000 Limited.

With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.

Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

Contact Us    About and Terms Of Use    Privacy    Advertising/Endorsements Disclosures