473,395 Members | 1,442 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

ActiveX control updating webpage


I have an activex control on my webpage which fires off an event every ten
seconds using the timer. When the event fires in the activex control I need
to update a textbox on the webpage using clientside javascript. I cannot
carry out a round trip to the server every ten seconds.

How can this be done ?
Is it possible or is traffic one way clientside?

Feb 6 '06 #1
5 1080
As you say, it can be done using client side javascript. What is your exact
question?

Eliyahu

"poppy" <po***@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...

I have an activex control on my webpage which fires off an event every ten
seconds using the timer. When the event fires in the activex control I
need
to update a textbox on the webpage using clientside javascript. I cannot
carry out a round trip to the server every ten seconds.

How can this be done ?
Is it possible or is traffic one way clientside?

Feb 7 '06 #2
When the activex control fires off its event I need to update a textbox on
the parent webpage without forcing any post back.

How is the question.
Feb 7 '06 #3
Who forces you to postback? Does the activex support client-side events?

Eliyahu

"poppy" <po***@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
When the activex control fires off its event I need to update a textbox on
the parent webpage without forcing any post back.

How is the question.

Feb 7 '06 #4
This is what I am trying to figure out.
I reckon I could initiate call an event in my control from my webpage and
update the field on the parent page that way but I need to do it all from the
activex.
Feb 7 '06 #5
Make a test javascript function function foo(){alert("Hi");}and in the place
where you set event handler in the activex set it to foo. Could be something
like this:

<script for=myActiveX event=myEvent>
foo();
</script>

Eliyahu

"poppy" <po***@discussions.microsoft.com> wrote in message
news:16**********************************@microsof t.com...
This is what I am trying to figure out.
I reckon I could initiate call an event in my control from my webpage and
update the field on the parent page that way but I need to do it all from
the
activex.

Feb 7 '06 #6

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

Similar topics

4
by: Filip Wtterwulghe | last post by:
Hello, We have a number of VB6 ActiveX applicationmodule(s) that are loaded into a IE6 WebBrowserControl . This WebControl is imbededded into Application X . Now We want to send a message from...
1
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...
3
by: Neo | last post by:
I have a usercontrol that I am trying to use as an ActiveX Control on a WebPage, however it refereneces an Assembly that whenever the first call is made to anything in the Assembly a Security...
0
by: Kubik | last post by:
Hi! I'm trying to deploy an activex control in C# and embed it into webpage. I read http://www.c-sharpcorner.com/Code/2003/March/ActiveXInNet.asp article, and I thought: ok, it's easy! I...
5
by: Andrew | last post by:
Hi all, I am still getting into ASP/VB.net and have a concern about something I see coming. Currently our entire website is classic ASP, yet the feelings from on high is that we need to start...
1
by: Mombiatch | last post by:
I've got an application whereby I need to make calls to a .NET Class Library in the same way that I would make calls to an ActiveX control from a webpage, using the <object id="CLSID, etc tag. Is...
3
by: ritulranjan | last post by:
Hi, I am new to Javacript, so please forgive any trivial queries made. I want to use functions in an .ocx file, in a web page. The web page uses the <objecttag to embed the ActiveX object, and...
1
by: Jayender | last post by:
Hi, I have an ActiveX control (to display the Images),I have added the reference of that in my web based applicaton .and added the ocx in my tool bar , but the viewer (activex component- ocx ) is...
3
by: =?Utf-8?B?ZG5vcnJpcw==?= | last post by:
I have an application containing WMP and I'd like to create an "online" version of it. I believe that this used to be accomplished with activex in VB 6. How would I go about recreating it for use...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
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...
0
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...

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.