?
Solved

Big problem

Posted on 2003-02-20
3
Medium Priority
?
190 Views
Last Modified: 2010-04-17
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.
0
Comment
Question by:ongcheeyong
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Accepted Solution

by:
bhagyesht earned 340 total points
ID: 7992093
u can use javascript and vb script together on the client side just specify in the script tag whats the language
0
 

Expert Comment

by:CleanupPing
ID: 9447597
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.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question