When you encounter some problem it is often useful to find out a version of Image Uploader that you use. With this information you can either search this documentation for known problems or contact us for help. In both cases, the version number is essential. This topic describes how you can find it out.

Revealing ActiveX Version Number

There are several ways to find out ActiveX version number.

From CAB/OCX File

If you have a CAB file:

  1. Unpack ImageUploader37.cab as any other archive.
  2. Open the unpacked ImageUploader37.inf file and find the [ImageUploader37.ocx] section.
  3. Find under this section the line that starts with FileVersion. It will contain the version number.

If you have an OCX file:

  1. Right-click the OCX file.
  2. Select Properties.
  3. Switch to the Version tab. It will contain the version number.

From Browser Cache

To see the version from Internet Explorer 6:

  1. On the Tools menu of Internet Explorer, choose Internet Options.
  2. Click Settings on the Temporary Internet Files box of the General tab.
  3. Click View Objects.
  4. Find a value in the Version column that corresponds to Image Uploader Control. It will contain the version number.

To see the version from Internet Explorer 7:

  1. On the Tools menu of Internet Explorer, choose Internet Options.
  2. Click Settings on the Browsing History box of the General tab.
  3. Click View Objects.
  4. Find a value in the Version column that corresponds to Image Uploader Control. It will contain the version number.

Revealing Java Version Number

There are several ways to find out Java version number.

From Java Control Panel

Note

This method works only if the applet caching is on.

  1. Open Java Plug-in Control Panel. Depending on the platform, it can be found in different locations:
    • On Windows, select Control Panel -> Java Plug-in
    • On Macintosh, select Applications -> Utilities -> Java -> Java1.5 Plugin Settings
    • On Linux, select Preferences -> Java
  2. Click the Cache tab.
  3. Click View to see all the cached applets.
  4. Find a value in the Version column that corresponds to Image Uploader applet. It will contain the version number.

From Java Console

  1. Open Java Console as described in the Using Java Console topic.
  2. Load the page that contains the Java version of Image Uploader in a Web browser.
  3. The first string, which appears after that in the log, will contain the version number.

Using Java Console topic contains detailed instructions on turning on Java Console, if necessary, and working with it.

Revealing ActiveX and Java Version Number Programmatically

You can also find out the version of the Image Uploader control/applet using the Version property. To do that add this event handler to the code that embeds Image Uploader into a Web page:

JavaScript

<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
function ShowVersion() {
	//Create a text node that contains the version number
	var o = document.createTextNode(getImageUploader("ImageUploader1").getVersion());
	
	//Insert it in the beginning of the page
	document.body.insertBefore(o, document.body.firstChild);
}

var iu = new ImageUploaderWriter("ImageUploader1", 650, 400);

//...Other params...

//Add event handler
iu.fullPageLoadListenerName="ShowVersion";

iu.writeHtml();
</script>