473,569 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1087
As you say, it can be done using client side javascript. What is your exact
question?

Eliyahu

"poppy" <po***@discussi ons.microsoft.c om> wrote in message
news:DD******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c om> wrote in message
news:77******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c om> wrote in message
news:16******** *************** ***********@mic rosoft.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
6521
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 Application X to all the ActiveX applicationmodules that are in IEWebbrowser . Contains Contains Application X ------------> IE...
1
3021
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...
3
2069
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 Exception is throw. I am having a lot of trouble debugging this, because I cannot catch the exception in my code. However if I could run the control...
0
1033
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 rebuild my own control, compiled into .dll file, put on server and... suffered defeat. So I download example file from that article and it also...
5
1804
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 looking into updating the site to ASP.net. For the most part I am in favor of this, but I am concerned about the ActiveX objects we are using. For...
1
1319
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 there a better way to do this than wrapping the .NET Class Library into an ActiveX Control? Thanks Joe
3
4067
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 the ActiveX object is such that, only one instance of the object can be instantiated, so i can't call the ActiveXObject() function, while the...
1
2219
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 disabled , but i tried this in Window based application, and it works great , but i need to do it in Web based applicaion , is there anything i need...
3
2068
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 in websites like youtube, or other flash players? Do I have to go back to VB 6?
0
7700
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7614
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...
0
7924
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. ...
0
8125
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...
1
7676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6284
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...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
938
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...

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.