I call MS Word from my eBook so that the user can make notes in his familiar environment. It works fine. The problem is that when the user modifies the .doc file, he is asked by Word if he wants to save the file. What happens is that apparently the file is only saved in the c:\windows\temp directory so that the changes are saved as long as the ebook programs runs, but the next time the user opens the eBook, the changes are lost. How do I copy the temp document into the directory that has the ebook.exe file. Or am I missing something?
It works fine changing "IF( {f1} <> 0 )" into "IF( {f1} = 0 )" using an immediate link like this: <A HREF="##INIREAD('f1','myconfig.ini','word','copy','0') ##IF( {f1} <> 0 ) ....">Click Here</A> and suppressing '0' in INIWRITE('1','myconfig.ini','word','copy','0') after getting a message "wrong number of parameters"
But for some reason I get a message: "Error opening file c:\windows\temp\.......\doit.as" when I use an internal script file link: <A HREF="#!doit.as">Click Here</A>
I entered the script as the value of an Activ Variable called "doit", Type long HTML fragment Thanks for your help. What am I doing wrong?
I hope you experts had a good time with my last post :-)
So far I had used only activ variables, no activ scripts. Although the help of the E-Book Compiler is very well made, I did not understand that the scripts had to be saved as all other files in the compile directory..... Finally the light came! When I save my script in this directory with a .as extension everything works fine. Hope this helps the new activ Script users.
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.