Link to home
Start Free TrialLog in
Avatar of ongcheeyong
ongcheeyong

asked on

Big problem

I hava received a javascript web page .This javascript is aim to
capture a value from a cgi page which have a value of a hardware
system(the cgi page is embedded in the hardware system.i can access directly to that cgi page
by type in its ip adress in ie after i had set it's ip adress).
When i open the javascript , it will come out a message "Object  
doesn't this property or method" .So i go to checked what's wrong.
The method which not support by the object is OpenURL() and
Execute().Beside that, the object also contain PARAM NAME like ,Protocol
,URl,RemoreHost,Proxy,Document ,UserName, Password and RequestTimeout.
All of the above is not related to javascript but it can run properly
by other.I ask them why and them tell me that i need to download a
window socket without specify what kind of window socket.The following
is some of the source code:
function UpdateInfor() {
    Smart.RemoteHost = "192.168.1.10";
    Smart.Protocol = 1;
    Smart.RemotePort = 80;
    num = 0;
    GetInfor(SmartAns[num]);    /SmartAns is a array ,SmartAns[0]="status.htm";
}
function GetInfor(doc) {
  Smart.Document = doc;
  Smart.OpenURL();
  Smart.Execute();
}

<OBJECT id=Smart style="LEFT: 0px; TOP: 0px" classid=clsid:xxxxxxxxx-xxx-xxx>
<PARAM NAME="_Version" VALUE="xxxxxxx">
<PARAM NAME="AccessType" VALUE="0">
<PARAM NAME="RemoteHost" VALUE="192.168.1.10">
<PARAM NAME="RemotePort" VALUE="">
<PARAM NAME="URL" VALUE="http://192.168.1.10/">
<PARAM NAME="Proxy" VALUE="">
<PARAM NAME="Document" VALUE="">
<PARAM NAME="UserName" VALUE="">
<PARAM NAME="Password" VALUE="">
<PARAM NAME="RequestTimeout" VALUE="20"></OBJECT>
Could you please tell me what window socket i suppose to download?(please recommend the web site)
I found that those method and property is using by VBscript . Can javascript and VBscript put together?

Thank you very much.
ASKER CERTIFIED SOLUTION
Avatar of bhagyesht
bhagyesht
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of CleanupPing
CleanupPing

ongcheeyong:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.