I'm trying to create a button that opens the File Transfer window, but I've been unsuccessful so far.
Here's the button itself:
<input onclick="OnXfer()" type="button" value="File Transfer">
Here's the javascript for the button:
function OnXfer() {
window.ViewerX.OpenFileTransfer()
}And here's how I define the object I'm manipulating:
<OBJECT id="ViewerX" style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid"
width="1022" height="639" classid="CLSID:62FA83F7-20EC-4D62-AC86-BAB705EE1CCD" VIEWASTEXT CodeBase="viewerx.cab">
It seems to me that the ViewerX object is using the ISmartCodeVNCViewer interface when I actually need to use the ISmartCodeVNCViewer2 interface because that is the one that contains the OpenFileTransfer method. I always get the error "Object expected" when I call the OpenFileTransfer function.
Any suggestions? Also, HTML code examples are required as I can't translate other programming languages into the necessary HTML code. Thanks!