How to handle active X events in Vbscript? 
Author Message
 How to handle active X events in Vbscript?

How to handle activeX control's events in VBScript?

Thanks,

Carlo



Mon, 30 Dec 2002 03:00:00 GMT  
 How to handle active X events in Vbscript?
can u tell me want you want to do?

SM


Quote:
> How to handle activeX control's events in Vbscript?

> Thanks,

> Carlo



Mon, 30 Dec 2002 03:00:00 GMT  
 How to handle active X events in Vbscript?
Something like I have created an object of SQLServer object of SQL-DMO which
has an event of RemoteLoginFail. In VB, I can use WithEvents statement to
handle it but in vbscript, do you have any idea to do it?

Carlo

Quote:

>can u tell me want you want to do?

>SM



>> How to handle activeX control's events in Vbscript?

>> Thanks,

>> Carlo



Tue, 31 Dec 2002 03:00:00 GMT  
 How to handle active X events in Vbscript?

hi Carlo,

Have you tried the usual method?

<SCRIPT LANGUAGE = "vbscript" FOR = "oSQLServer" EVENT = "RemoteLoginFail">
<!--
      (scripting statements)...
// -->
</SCRIPT>

hth, jw


Quote:
> How to handle activeX control's events in Vbscript?

> Thanks,

> Carlo



Tue, 31 Dec 2002 03:00:00 GMT  
 How to handle active X events in Vbscript?
Jim,

Is it only support IE? What's the usage of "For" attribute? Can it handle
the object created at server side? Does the procedure appeared within the
script tag will handle the event?

Thanks,

Carlo

Quote:

>hi Carlo,

>Have you tried the usual method?

><SCRIPT LANGUAGE = "vbscript" FOR = "oSQLServer" EVENT = "RemoteLoginFail">
><!--
>      (scripting statements)...
>// -->
></SCRIPT>

>hth, jw



>> How to handle activeX control's events in Vbscript?

>> Thanks,

>> Carlo



Wed, 01 Jan 2003 03:00:00 GMT  
 How to handle active X events in Vbscript?

Only in IE can events be trapped in this way. However any control (AFAIK)
can have its events managed using name_event syntax.

->
Function myControl_Load() ' For example
<-

--
Dominic



Wed, 01 Jan 2003 03:00:00 GMT  
 How to handle active X events in Vbscript?
You can't handler events in server-side code really at all? Its all based
upon the moment in which the server processes the code...

--
Dominic



Wed, 01 Jan 2003 03:00:00 GMT  
 How to handle active X events in Vbscript?
It seems for the events happen at the client side, but what if the object
fires an event at the server side? Such as the one that I have mentioned
about the example SQLServer object of SQL-DMO, which is called in ASP

Thanks,

Carlo

Quote:

>Only in IE can events be trapped in this way. However any control (AFAIK)
>can have its events managed using name_event syntax.

>->
>Function myControl_Load() ' For example
><-

>--
>Dominic



Thu, 02 Jan 2003 03:00:00 GMT  
 
 [ 8 post ] 

 Relevant Pages 

1. -~=###--WHAT IS THE DIFFERENCE BETWEEN HANDLED EVENTS AND UN-HANDLED EVENTS?---#=~-

2. Handle a vbscript event inside a COM object

3. VBScript event handle

4. How can I handle events in VBScript?

5. Event handling of ListBoxes in VBSCript !!

6. Can WSH (VBScript) do event handling?

7. Event Handling in VBScript vs VB6

8. Handling events fired from an ATL COM object in VBScript

9. Handling events in VBScript

10. Handling ActiveX events in VBScript

11. ActiveX control to handle mouseover event handling?

12. Determining the control handle for the currently active control

 

 
Powered by phpBB® Forum Software