Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 8th, 2025, 8:40 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: DocView
PostPosted: December 1st, 2004, 11:15 am 
Offline

Joined: November 3rd, 2004, 4:12 pm
Posts: 173
Location: UK
Simple question, but I haven’t used DocView previously and I assume the DocView object (in this case, a series of text files) is not embedded during the publish process but needs to reside in a separate folder on the published CD. Is this correct?


Top
 Profile Visit website  
 
 Post subject:
PostPosted: December 1st, 2004, 12:16 pm 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Hi,

Thank you for your enquiry.

Files viewed through a DocView object are not embedded in the published executable, but are instead copied over to the publication directory during publishing and given a numerical filename (such as 00000000.txt) to prevent end-users from immediately identifying which resource corresponds to which file.

By default, the resource resides in the root publication directory (at the same level as the published executable). If you do not want resources in the publication directory, you would need to use a system variable when setting up the DocView object. For example, if you open the properties of the DocView object and set the path to the file as:

<SYSTEM_PUBLICATION_DIR>\Resources\test.txt

This will tell the publication to look within the directory from which it is running (which will obviously be the root of the CD when distributed) and try to find a folder named 'Resources'. If found, the publication will then look in this folder for a file named 'test.txt'. If found, the contents of this file will be displayed in the DocView object.

By the way, it is not necessary to use a DocView object to view text files, and I would perhaps recommend adding a normal Text object to the page, then opening the properties of this object, selecting the Text tab and enabling the 'Automatically read in this disk file' option. You can now browse to the text file you wish to display, then apply the changes and preview. The benefits of using a text object are that you will not see the bevelled border which affects DocView objects, the publication will not need to generate an ILMOle.dll file and the text should display noticeably quicker than when using DocView (as the text object does not need to communicate with the OLE engine).

I hope this helps. Please do not hesitate to contact me if you have any further queries.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


Top
 Profile Visit website  
 
 Post subject:
PostPosted: December 1st, 2004, 2:18 pm 
Offline

Joined: November 3rd, 2004, 4:12 pm
Posts: 173
Location: UK
Thanks, Robin. I'll go the way you suggest.


Top
 Profile Visit website  
 
 Post subject: Excel in docview
PostPosted: January 18th, 2005, 11:40 am 
Offline

Joined: January 18th, 2005, 11:23 am
Posts: 5
Hi,

I have found this response to somebody elses query about docview but I cannot seem to get my head around it. I have created a presentation that will contain 2 excel spread sheets that become saved in the resource file as you suggested 0000001.xls and 000000.xls, however when I distribute on CD the page initially shows as a website error page which is pretty ugly.

I therefore copied the Excel workbooks directly into the resource folder deleted the links I already had and pointed the new links to the actual files in the resource folder but it is still no good.

I really need to get this out today so it looks as though I will have to copy everything over to Powerpoint to make the Excel spreadsheets work.

Any ideas please?

Steve


Top
 Profile  
 
 Post subject:
PostPosted: January 18th, 2005, 11:57 am 
Offline

Joined: November 3rd, 2004, 2:35 pm
Posts: 117
Location: Swansea, South Wales
I hope I'm not stating the obivous but you are including those files 0000001.xls and 000000.xls on the CD aren't you?

DocView files aren't integrated in the final executable like consolidated images etc are, as far as I can see.

They should probably be in the same folder as a executable itself when it's published. (They're seperate copies to the ones in the consolidated resources folder)


Top
 Profile Visit website  
 
 Post subject:
PostPosted: January 18th, 2005, 1:14 pm 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Further to Leia's reply, you also need to ensure that the ILMOle.dll (which will be created in the publish folder) is also copied to the CD with the publication executable, autorun.inf file and the renamed .xls workbook files.

If in doubt, simply create a brand new folder on your Desktop and publish your project to this folder. Everything that gets created in the folder needs to be burned to the CD (but make sure that you do not burn the folder to the CD, only its contents).

I hope this helps. Please do not hesitate to contact me if you have any further queries.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 45 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group