473,394 Members | 2,090 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,394 software developers and data experts.

event notification from ActiveX/COM components

I've embedded an ActiveX/COM object in my web page (i.e. <OBJECT
ID="MyObject1 ...> ... </OBJECT>). I know I can access the object using
javascript on the page (i.e. MyObject1.property or MyObject1.method).

I'd like to be able to call a method which returns immediately and then
later provides notification of progress back to javascript in the page.

How does one provide for an embedded object providing notifications back to
javascript code on a web page?

If this is not possible what are the implications of calling an object's
method which blocks and doesn't return until the task is complete? Would
this cause the browser to hang?
Jul 20 '05 #1
1 4573
"coder_1024" <no********@notadomain.com> wrote in
news:Xn***********************@130.81.64.196:
I've embedded an ActiveX/COM object in my web page (i.e. <OBJECT
ID="MyObject1 ...> ... </OBJECT>). I know I can access the object
using javascript on the page (i.e. MyObject1.property or
MyObject1.method).

I'd like to be able to call a method which returns immediately and
then later provides notification of progress back to javascript in the
page.

How does one provide for an embedded object providing notifications
back to javascript code on a web page?

If this is not possible what are the implications of calling an
object's method which blocks and doesn't return until the task is
complete? Would this cause the browser to hang?


I figured it out. You just create a JavaScript block and use the for
keyword. i.e. <script for="MyControl1" event=....>. This allows
handling custom events from the control.
Jul 20 '05 #2

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

Similar topics

3
by: Matik | last post by:
Hello everyone, I was wondering. Is it possible, to recive an event from ActiveX into database? I was looking alredy with notification services, but I think that's the wrong way. Lets say,...
2
by: Mike | last post by:
I'm writing an application in VB.NET that uses various 3rd party ActiveX components. My problem is that if I register these ActiveX components (using COMSelfRegister) during the install and later...
2
by: Berata | last post by:
Hello all, in VB6 we were able to create ActiveX-DLL's (In Process Components) and ActiveX-Exe's (Out of Process Components). We habe build up an application that exists of an main module...
0
by: FX | last post by:
Hi, My ASP application use ActiveX DLL components (written in VB 6 ... ) to access database and these components may throw events into the windows Event Log. With windows 2k, this work fine but in...
3
by: Ricky | last post by:
Hi Can anyone explain what are the relationship between COM , ActiveX, DLL ? I really get confused about the terms... Ricky
0
by: Ivan | last post by:
I have the SystemMonitor ActiveX control on a form and I try to register a custom performance counter. I expect that after registering the counter with the OS, the user would be able to add it...
1
by: efriend | last post by:
Does the inability in .net to add activex components like in VB6 signal Microsoft's plans to deprecate com and activex?
8
by: Martijn Boven | last post by:
I created a activex control in c# (vs 2005) -------------------------------------------- public partial class ActiveTest : UserControl { public ActiveTest()
3
by: geskerrett | last post by:
We have been asked to develop and application for a client that is a 'notification" system. We would like to use python, but are struggling to find the right starting point. Any suggestions, tips...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
0
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...
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
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...
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.