Revealing Image Uploader Version Number
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:
- Unpack ImageUploader37.cab as any other archive.
- Open the unpacked ImageUploader37.inf file and find the [ImageUploader37.ocx] section.
- Find under this section the line that starts with FileVersion. It will contain the version number.
If you have an OCX file:
- Right-click the OCX file.
- Select Properties.
- Switch to the Version tab. It will contain the version number.
From Browser Cache
To see the version from Internet Explorer 6:
- On the Tools menu of Internet Explorer, choose Internet Options.
- Click Settings on the Temporary Internet Files box of the General tab.
- Click View Objects.
- 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:
- On the Tools menu of Internet Explorer, choose Internet Options.
- Click Settings on the Browsing History box of the General tab.
- Click View Objects.
- 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.
- 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
- Click the Cache tab.
- Click View to see all the cached applets.
- Find a value in the Version column that corresponds to Image Uploader applet. It will contain the version number.
From Java Console
- Open Java Console as described in the Using Java Console topic.
- Load the page that contains the Java version of Image Uploader in a Web browser.
- 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>