473,756 Members | 3,655 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can't send activeX value to ASP using Javascript

I am attempting to send the variable "sComputerN ame" from my ActiveX script to "GetInfo.as p" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script)

My code is below. I am getting the following error "MyForm.oNetwor k.Value is Null or is not an object". I'm struggling to diagnose what to do next. I'd very much appreciate some help

Many thanks

<HTML><BODY><FO RM NAME="MyForm" ACTION="GetInfo .asp
METHOD="post" onSubmit="MyFun c()"><!-- Start of ActiveX --><Script language="vbscr ipt">
Set oNetwork = CreateObject("W Script.Network"
sComputerName = oNetwork.Comput erNam
</script><!-- End of ActiveX --><BR
USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR
PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>< INPUT TYPE="hidden" NAME="sComputer Name"><INPUT TYPE="submit" VALUE="Submit"> <INPUT TYPE="reset"><p ></FORM><SCRIPT LANGUAGE="JavaS cript"><!-
function MyFunc(

MyForm.sCompute rName.Value = MyForm.oNetwork .Valu

--></SCRIPT></BODY></HTML>
Jul 19 '05 #1
7 2823
"NewbieJon" <an*******@disc ussions.microso ft.com> wrote in message
news:14******** *************** ***********@mic rosoft.com...
I am attempting to send the variable "sComputerN ame" from my ActiveX script to "GetInfo.as p" using javascript. (Having been advised this is the
way to get my ActiveX variable into my ASP script).
My code is below. I am getting the following error "MyForm.oNetwor k.Value is Null or is not an object". I'm struggling to diagnose what to do next.
I'd very much appreciate some help.
Many thanks.

<HTML><BODY><FO RM NAME="MyForm" ACTION="GetInfo .asp"
METHOD="post" onSubmit="MyFun c()"><!-- Start of ActiveX --><Script language="vbscr ipt"> Set oNetwork = CreateObject("W Script.Network" )
sComputerName = oNetwork.Comput erName
</script><!-- End of ActiveX --><BR>
USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>< INPUT TYPE="hidden" NAME="sComputer Name"><INPUT TYPE="submit"
VALUE="Submit"> <INPUT TYPE="reset"><p ></FORM><SCRIPT
LANGUAGE="JavaS cript"><!-- function MyFunc()
{
MyForm.sCompute rName.Value = MyForm.oNetwork .Value
}
--></SCRIPT></BODY></HTML>


Firstly this is not going to work unless the particualr zone that this page
is in has very low security settings. That being said you do not need to
refer to the form and you can tidy it up a bit. And instead of mixing
VBSCript and JScript why not all in one language?

<HTML>
<HEAD>
<!-- Start of ActiveX -->
<Script language="jscri pt">
var oNetwork = new ActiveXObject(" WScript.Network ")
var sComputerName = oNetwork.Comput erName
</script>
<!-- End of ActiveX -->
</HEAD>
<BODY><FORM NAME="MyForm" ACTION="GetInfo .asp"
METHOD="post" onSubmit="retur n MyFunc();"><BR>
USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>
<INPUT TYPE="hidden" NAME="sComputer Name">
<INPUT TYPE="submit" VALUE="Submit"> <INPUT TYPE="reset"><p ></FORM>
<SCRIPT LANGUAGE="JavaS cript">
<!--
function MyFunc()
{
MyForm.sCompute rName.Value = sComputerName;
return true;
}
-->
</SCRIPT>
</BODY>
</HTML>

--
Joe
Jul 19 '05 #2
Hi Joe,

Thanks for your reply.

The security issue with the activex code isn't a problem because this will
be live only within our intranet and not on machines that users will play
about with.

I'm far from an expert in this field. I've not done any ASP for a few
years, and I've never done any activeX before. I've pretty much thrown this
code together from samples...hence why theres javascript and vbscript mixed.

Anyway thanks for your code, but unfortunately it doesn't work. The
computer name is not passed through, its just an empty value. It definately
does grab it though because an output to the screen within the activex
component will show the computer name as I want.

Any suggestions?

Many thanks

Jon
"Joe Fawcett" <jo********@hot mail.com> wrote in message
news:OY******** *****@tk2msftng p13.phx.gbl...
"NewbieJon" <an*******@disc ussions.microso ft.com> wrote in message
news:14******** *************** ***********@mic rosoft.com...
I am attempting to send the variable "sComputerN ame" from my ActiveX script to "GetInfo.as p" using javascript. (Having been advised this is

the way to get my ActiveX variable into my ASP script).

My code is below. I am getting the following error
"MyForm.oNetwor k.Value is Null or is not an object". I'm struggling to diagnose what to do next.
I'd very much appreciate some help.

Many thanks.

<HTML><BODY><FO RM NAME="MyForm" ACTION="GetInfo .asp"
METHOD="post" onSubmit="MyFun c()"><!-- Start of
ActiveX --><Script language="vbscr ipt">
Set oNetwork = CreateObject("W Script.Network" )
sComputerName = oNetwork.Comput erName
</script><!-- End of ActiveX --><BR>
USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>< INPUT TYPE="hidden" NAME="sComputer Name"><INPUT TYPE="submit"
VALUE="Submit"> <INPUT TYPE="reset"><p ></FORM><SCRIPT
LANGUAGE="JavaS cript"><!--
function MyFunc()
{
MyForm.sCompute rName.Value = MyForm.oNetwork .Value
}
--></SCRIPT></BODY></HTML>


Firstly this is not going to work unless the particualr zone that this

page is in has very low security settings. That being said you do not need to
refer to the form and you can tidy it up a bit. And instead of mixing
VBSCript and JScript why not all in one language?

<HTML>
<HEAD>
<!-- Start of ActiveX -->
<Script language="jscri pt">
var oNetwork = new ActiveXObject(" WScript.Network ")
var sComputerName = oNetwork.Comput erName
</script>
<!-- End of ActiveX -->
</HEAD>
<BODY><FORM NAME="MyForm" ACTION="GetInfo .asp"
METHOD="post" onSubmit="retur n MyFunc();"><BR>
USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>
<INPUT TYPE="hidden" NAME="sComputer Name">
<INPUT TYPE="submit" VALUE="Submit"> <INPUT TYPE="reset"><p ></FORM>
<SCRIPT LANGUAGE="JavaS cript">
<!--
function MyFunc()
{
MyForm.sCompute rName.Value = sComputerName;
return true;
}
-->
</SCRIPT>
</BODY>
</HTML>

--
Joe

Jul 19 '05 #3
Try:

<HTML>
<HEAD>
<!-- Start of ActiveX -->
<Script language="javas cript">
var oNetwork = new ActiveXObject(" WScript.Network ")
var sComputerName = oNetwork.Comput erName
alert(sComputer Name);
</script>
<!-- End of ActiveX -->
</HEAD>
<BODY>
<FORM NAME="MyForm" ACTION="GetInfo .asp" METHOD="post">< BR>
USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>
<INPUT TYPE="hidden" NAME="sComputer Name">
<INPUT TYPE="submit" VALUE="Submit">
<INPUT TYPE="reset"><p >
</FORM>
<SCRIPT LANGUAGE="JavaS cript">
<!--
alert(sComputer Name);
alert(MyForm.sC omputerName.Val ue);
MyForm.sCompute rName.Value = sComputerName;
alert(MyForm.sC omputerName.Val ue);
-->
</SCRIPT>
</BODY>
</HTML>

What do the alert boxes tell you?

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"NewbieJon" <Ne*******@nosp am.com> wrote in message
news:rN******** ******@newsfe3-win.server.ntli .net...
Hi Joe,

Thanks for your reply.

The security issue with the activex code isn't a problem because this will
be live only within our intranet and not on machines that users will play
about with.

I'm far from an expert in this field. I've not done any ASP for a few
years, and I've never done any activeX before. I've pretty much thrown this code together from samples...hence why theres javascript and vbscript mixed.
Anyway thanks for your code, but unfortunately it doesn't work. The
computer name is not passed through, its just an empty value. It definately does grab it though because an output to the screen within the activex
component will show the computer name as I want.

Any suggestions?

Many thanks

Jon
"Joe Fawcett" <jo********@hot mail.com> wrote in message
news:OY******** *****@tk2msftng p13.phx.gbl...
"NewbieJon" <an*******@disc ussions.microso ft.com> wrote in message
news:14******** *************** ***********@mic rosoft.com...
I am attempting to send the variable "sComputerN ame" from my ActiveX

script to "GetInfo.as p" using javascript. (Having been advised this is

the
way to get my ActiveX variable into my ASP script).

My code is below. I am getting the following error "MyForm.oNetwor k.Value
is Null or is not an object". I'm struggling to diagnose what to do

next. I'd very much appreciate some help.

Many thanks.

<HTML><BODY><FO RM NAME="MyForm" ACTION="GetInfo .asp"
METHOD="post" onSubmit="MyFun c()"><!-- Start of ActiveX --><Script
language="vbscr ipt">
Set oNetwork = CreateObject("W Script.Network" )
sComputerName = oNetwork.Comput erName
</script><!-- End of ActiveX --><BR>
USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
PASSWORD: <INPUT TYPE="password" NAME="Password"

SIZE="20"><BR>< INPUT TYPE="hidden" NAME="sComputer Name"><INPUT TYPE="submit"
VALUE="Submit"> <INPUT TYPE="reset"><p ></FORM><SCRIPT
LANGUAGE="JavaS cript"><!--
function MyFunc()
{
MyForm.sCompute rName.Value = MyForm.oNetwork .Value
}
--></SCRIPT></BODY></HTML>


Firstly this is not going to work unless the particualr zone that this

page
is in has very low security settings. That being said you do not need to
refer to the form and you can tidy it up a bit. And instead of mixing
VBSCript and JScript why not all in one language?

<HTML>
<HEAD>
<!-- Start of ActiveX -->
<Script language="jscri pt">
var oNetwork = new ActiveXObject(" WScript.Network ")
var sComputerName = oNetwork.Comput erName
</script>
<!-- End of ActiveX -->
</HEAD>
<BODY><FORM NAME="MyForm" ACTION="GetInfo .asp"
METHOD="post" onSubmit="retur n MyFunc();"><BR>
USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>
<INPUT TYPE="hidden" NAME="sComputer Name">
<INPUT TYPE="submit" VALUE="Submit"> <INPUT TYPE="reset"><p ></FORM>
<SCRIPT LANGUAGE="JavaS cript">
<!--
function MyFunc()
{
MyForm.sCompute rName.Value = sComputerName;
return true;
}
-->
</SCRIPT>
</BODY>
</HTML>

--
Joe


Jul 19 '05 #4
Hi Mark,

Thanks for your help.

I get 4 alerts as follows in this order (My computer name is "Jon"):

1. Jon
2. Jon
3. Undefined
4. Jon

I'm getting a little lost now. Is this good, and how do I pass this to my
ASP?

Thank you.
"Mark Schupp" <ms*****@ielear ning.com> wrote in message
news:OP******** ******@TK2MSFTN GP11.phx.gbl...
Try:

<HTML>
<HEAD>
<!-- Start of ActiveX -->
<Script language="javas cript">
var oNetwork = new ActiveXObject(" WScript.Network ")
var sComputerName = oNetwork.Comput erName
alert(sComputer Name);
</script>
<!-- End of ActiveX -->
</HEAD>
<BODY>
<FORM NAME="MyForm" ACTION="GetInfo .asp" METHOD="post">< BR>
USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>
<INPUT TYPE="hidden" NAME="sComputer Name">
<INPUT TYPE="submit" VALUE="Submit">
<INPUT TYPE="reset"><p >
</FORM>
<SCRIPT LANGUAGE="JavaS cript">
<!--
alert(sComputer Name);
alert(MyForm.sC omputerName.Val ue);
MyForm.sCompute rName.Value = sComputerName;
alert(MyForm.sC omputerName.Val ue);
-->
</SCRIPT>
</BODY>
</HTML>

What do the alert boxes tell you?

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"NewbieJon" <Ne*******@nosp am.com> wrote in message
news:rN******** ******@newsfe3-win.server.ntli .net...
Hi Joe,

Thanks for your reply.

The security issue with the activex code isn't a problem because this will
be live only within our intranet and not on machines that users will play about with.

I'm far from an expert in this field. I've not done any ASP for a few
years, and I've never done any activeX before. I've pretty much thrown

this
code together from samples...hence why theres javascript and vbscript

mixed.

Anyway thanks for your code, but unfortunately it doesn't work. The
computer name is not passed through, its just an empty value. It

definately
does grab it though because an output to the screen within the activex
component will show the computer name as I want.

Any suggestions?

Many thanks

Jon
"Joe Fawcett" <jo********@hot mail.com> wrote in message
news:OY******** *****@tk2msftng p13.phx.gbl...
"NewbieJon" <an*******@disc ussions.microso ft.com> wrote in message
news:14******** *************** ***********@mic rosoft.com...
> I am attempting to send the variable "sComputerN ame" from my ActiveX
script to "GetInfo.as p" using javascript. (Having been advised this is
the
way to get my ActiveX variable into my ASP script).
>
> My code is below. I am getting the following error

"MyForm.oNetwor k.Value
is Null or is not an object". I'm struggling to diagnose what to do

next. I'd very much appreciate some help.
>
> Many thanks.
>
> <HTML><BODY><FO RM NAME="MyForm" ACTION="GetInfo .asp"
> METHOD="post" onSubmit="MyFun c()"><!-- Start of

ActiveX --><Script
language="vbscr ipt">
> Set oNetwork = CreateObject("W Script.Network" )
> sComputerName = oNetwork.Comput erName
> </script><!-- End of ActiveX --><BR>
> USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
> PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>< INPUT TYPE="hidden" NAME="sComputer Name"><INPUT TYPE="submit"
VALUE="Submit"> <INPUT TYPE="reset"><p ></FORM><SCRIPT
LANGUAGE="JavaS cript"><!--
> function MyFunc()
> {
> MyForm.sCompute rName.Value = MyForm.oNetwork .Value
> }
> --></SCRIPT></BODY></HTML>

Firstly this is not going to work unless the particualr zone that this

page
is in has very low security settings. That being said you do not need

to refer to the form and you can tidy it up a bit. And instead of mixing
VBSCript and JScript why not all in one language?

<HTML>
<HEAD>
<!-- Start of ActiveX -->
<Script language="jscri pt">
var oNetwork = new ActiveXObject(" WScript.Network ")
var sComputerName = oNetwork.Comput erName
</script>
<!-- End of ActiveX -->
</HEAD>
<BODY><FORM NAME="MyForm" ACTION="GetInfo .asp"
METHOD="post" onSubmit="retur n MyFunc();"><BR>
USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>
<INPUT TYPE="hidden" NAME="sComputer Name">
<INPUT TYPE="submit" VALUE="Submit"> <INPUT TYPE="reset"><p ></FORM>
<SCRIPT LANGUAGE="JavaS cript">
<!--
function MyFunc()
{
MyForm.sCompute rName.Value = sComputerName;
return true;
}
-->
</SCRIPT>
</BODY>
</HTML>

--
Joe



Jul 19 '05 #5
"NewbieJon" <Ne*******@nosp am.com> wrote in message
news:rN******** ******@newsfe3-win.server.ntli .net...
Hi Joe,

Thanks for your reply.

The security issue with the activex code isn't a problem because this will
be live only within our intranet and not on machines that users will play
about with.

I'm far from an expert in this field. I've not done any ASP for a few
years, and I've never done any activeX before. I've pretty much thrown this code together from samples...hence why theres javascript and vbscript mixed.
Anyway thanks for your code, but unfortunately it doesn't work. The
computer name is not passed through, its just an empty value. It definately does grab it though because an output to the screen within the activex
component will show the computer name as I want.

Any suggestions?

Many thanks

Jon

In this line make sure value has a small 'v':
MyForm.sCompute rName.value = sComputerName;
return true;

It would also be better to have your hidden field named differently from
your variable holding the computer name.

--
Joe
Jul 19 '05 #6
It's probably the capital "V" as the other poster mentioned.

Change it to:

alert(sComputer Name);
alert(MyForm.sC omputerName.val ue);
MyForm.sCompute rName.value = sComputerName;
alert(MyForm.sC omputerName.val ue);

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"NewbieJon" <No@spam.com> wrote in message
news:6Q******** *****@newsfe1-gui.server.ntli .net...
Hi Mark,

Thanks for your help.

I get 4 alerts as follows in this order (My computer name is "Jon"):

1. Jon
2. Jon
3. Undefined
4. Jon

I'm getting a little lost now. Is this good, and how do I pass this to my
ASP?

Thank you.
"Mark Schupp" <ms*****@ielear ning.com> wrote in message
news:OP******** ******@TK2MSFTN GP11.phx.gbl...
Try:

<HTML>
<HEAD>
<!-- Start of ActiveX -->
<Script language="javas cript">
var oNetwork = new ActiveXObject(" WScript.Network ")
var sComputerName = oNetwork.Comput erName
alert(sComputer Name);
</script>
<!-- End of ActiveX -->
</HEAD>
<BODY>
<FORM NAME="MyForm" ACTION="GetInfo .asp" METHOD="post">< BR>
USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>
<INPUT TYPE="hidden" NAME="sComputer Name">
<INPUT TYPE="submit" VALUE="Submit">
<INPUT TYPE="reset"><p >
</FORM>
<SCRIPT LANGUAGE="JavaS cript">
<!--
alert(sComputer Name);
alert(MyForm.sC omputerName.Val ue);
MyForm.sCompute rName.Value = sComputerName;
alert(MyForm.sC omputerName.Val ue);
-->
</SCRIPT>
</BODY>
</HTML>

What do the alert boxes tell you?

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"NewbieJon" <Ne*******@nosp am.com> wrote in message
news:rN******** ******@newsfe3-win.server.ntli .net...
Hi Joe,

Thanks for your reply.

The security issue with the activex code isn't a problem because this will be live only within our intranet and not on machines that users will play about with.

I'm far from an expert in this field. I've not done any ASP for a few
years, and I've never done any activeX before. I've pretty much thrown
this
code together from samples...hence why theres javascript and vbscript mixed.

Anyway thanks for your code, but unfortunately it doesn't work. The
computer name is not passed through, its just an empty value. It

definately
does grab it though because an output to the screen within the activex
component will show the computer name as I want.

Any suggestions?

Many thanks

Jon
"Joe Fawcett" <jo********@hot mail.com> wrote in message
news:OY******** *****@tk2msftng p13.phx.gbl...
> "NewbieJon" <an*******@disc ussions.microso ft.com> wrote in message
> news:14******** *************** ***********@mic rosoft.com...
> > I am attempting to send the variable "sComputerN ame" from my
ActiveX > script to "GetInfo.as p" using javascript. (Having been advised this

is the
> way to get my ActiveX variable into my ASP script).
> >
> > My code is below. I am getting the following error
"MyForm.oNetwor k.Value
> is Null or is not an object". I'm struggling to diagnose what to do

next.
> I'd very much appreciate some help.
> >
> > Many thanks.
> >
> > <HTML><BODY><FO RM NAME="MyForm" ACTION="GetInfo .asp"
> > METHOD="post" onSubmit="MyFun c()"><!-- Start of
ActiveX --><Script
> language="vbscr ipt">
> > Set oNetwork = CreateObject("W Script.Network" )
> > sComputerName = oNetwork.Comput erName
> > </script><!-- End of ActiveX --><BR>
> > USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
> > PASSWORD: <INPUT TYPE="password" NAME="Password"

SIZE="20"><BR>< INPUT
> TYPE="hidden" NAME="sComputer Name"><INPUT TYPE="submit"
> VALUE="Submit"> <INPUT TYPE="reset"><p ></FORM><SCRIPT
> LANGUAGE="JavaS cript"><!--
> > function MyFunc()
> > {
> > MyForm.sCompute rName.Value = MyForm.oNetwork .Value
> > }
> > --></SCRIPT></BODY></HTML>
>
> Firstly this is not going to work unless the particualr zone that this page
> is in has very low security settings. That being said you do not need to
> refer to the form and you can tidy it up a bit. And instead of

mixing > VBSCript and JScript why not all in one language?
>
> <HTML>
> <HEAD>
> <!-- Start of ActiveX -->
> <Script language="jscri pt">
> var oNetwork = new ActiveXObject(" WScript.Network ")
> var sComputerName = oNetwork.Comput erName
> </script>
> <!-- End of ActiveX -->
> </HEAD>
> <BODY><FORM NAME="MyForm" ACTION="GetInfo .asp"
> METHOD="post" onSubmit="retur n MyFunc();"><BR>
> USERNAME: <INPUT TYPE="text" NAME="Username" SIZE="20"><BR>
> PASSWORD: <INPUT TYPE="password" NAME="Password" SIZE="20"><BR>
> <INPUT TYPE="hidden" NAME="sComputer Name">
> <INPUT TYPE="submit" VALUE="Submit"> <INPUT TYPE="reset"><p ></FORM>
> <SCRIPT LANGUAGE="JavaS cript">
> <!--
> function MyFunc()
> {
> MyForm.sCompute rName.Value = sComputerName;
> return true;
> }
> -->
> </SCRIPT>
> </BODY>
> </HTML>
>
> --
> Joe
>
>



Jul 19 '05 #7
Many thanks to you both, I now have this working.
Jul 19 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3047
by: mjcast | last post by:
I have been working on an ActiveX control in C#. It is packaged in a Windows Control library and the code is in a user control. The control is used as an automation receiver that is used to update a page dynamically through the use of event listeners in javascript That works, the problem is that when I run the test webpage that runs the ActiveX control, the socket does not start listening for about a minute and a half, after which it runs fine....
0
1920
by: Craig | last post by:
I am having problems getting an ActiveX DLL written in VB6 to call a method in a C# class library component. My C# DLL is called CSharpProject.dll and contains a public class called CSharpClass. In this class is a single public method that returns the string "Hello from C sharp". My VB6 ActiveX DLL references the C# DLL (CSharpProject.dll) using the
2
2154
by: Harry Stangel | last post by:
Noble reader, My goal is to obtain the current time on the web server and display it in the client's browser. I want the server time displayed independent of the client's current clock setting, but use the client clock to refresh the displayed time every second. To compensate for drift, I want to periodically calibrate the page with the server time by refreshing the page, say every ten minutes or so. I have a servlet '/apps/clock'...
2
6091
by: Grant H. | last post by:
hi all, i have a strange problem here & i'm not sure how to go about fixing it. Basically, I have a page with an activex control that gets launch with JS when a user clicks a "connect" button. Now, all i want to do is disable the button & change the text while the activex is loading. now, the code below should work, but what i'm seeing is that the js doesn't even start executing until the activex is loaded. so, what i'm expecting is...
1
5589
by: stegada | last post by:
Hi, i must determine if client's browsers support ActiveX controls. Is it possible to obtain this information using Javascript? Thank's a lot. Stefano
2
19280
by: Mike John | last post by:
I am trying to use the shell object to send keys to the explorer browser to run the send page funcion. I am receiving the above error only when I put my html file in the web server folder.However if I am runing the file local it will work Any reason, why when the file is in the web server folder the create object failed to created the shell object. Systax:
0
1584
by: Frank | last post by:
Any suggestions on how I should handle this? I was asked to convert a small web application that was written in classic ASP into ASP.NET. The original site uses some VBScript to interface with an ActiveX control, which is contained in a CAB file. Somehow, I have managed to use the original VBScript in a respective .NET page, but there are several problems.
6
4896
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of the html page controls the form fields that are required. It doesn't function like it's supposed to and I can leave all the fields blank and it still submits the form. Also I can't get it to transfer the file in the upload section. The file name...
1
8298
by: kret | last post by:
Hi, this is my first post so first of all I would like to say hello :) Now getting to my problem. In my job I have to create an ActiveX control in .NET 1.1 that can be lunched from IE. This part is done but next requirement is that after closing ActiveX I have to redirect parent page to location X or Y depending on how the
0
9275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10034
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9872
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9713
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8713
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7248
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3805
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3358
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2666
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.