Back

Topic

[KB237]Displaying an ASCII file in WebVue

14 years ago
By RM
Options
Print
Applies to:

WebVue versions supplied with PcVue version 11.2 and earlier. Internet Explorer 5 or later.
WebVue versions supplied with PcVue version 12 onwards use different technology to which this article is not applicable.


Summary:

This article describes how to display the contents of an ASCII text file in the WebVue workspace.


Details:

You can modify the appearance of the HTML page that provides the WebVue workspace by adding a link to a text file.

Solution

  1. Back up the file INDEX.HTML in the sub-folder Usr\<Project name>\Web of the folder in which PcVue is installed on the PC that acts as your web server.
  2. Open a copy of it in a text editor or web-authoring tool.
  3. Insert the HTML code for the text and/or link(s) that you wish to display in WebVue.
  4. Save the page into the same folder, with the name USER.HTML.
  5. Either restart the WebVue Server or select Generate HTML in the Webvue configuration menu.

All WebVue Clients will now automatically start with USER.HTML as the workspace page instead of INDEX.HTML.

The new link to <FILENAME.TXT> will appear in the WebVue HTML workspace.

Example

<HTML>
<HEAD>
<TITLE>WebVue</TITLE>
</HEAD>
<BODY>
<SCRIPT>
<A HREF= “http://www.arcinfo.com/”>ARC Informatique</A>
<A HREF= “http://www.google.com/”>Google search engine</A>
</SCRIPT>
</BODY>
</HTML>

This sample code inserts 2 links to web sites. You can replace the web addresses and descriptive texts to substitute the links.

In general, you can adapt this code to open a file (in the same folder, or on a path), to open a local folder or to access web site:

<A href=/FILENAME.TXT>Open FILENAME</A>


Created on: 26 Nov 2010 Last update: 26 Aug 2024