Click here to Skip to main content
16,011,744 members
Home / Discussions / Web Development
   

Web Development

 
GeneralUsing WScript.Shell to copy a file on the server. Pin
chubbysilk5-Nov-03 10:25
chubbysilk5-Nov-03 10:25 
GeneralRe: Using WScript.Shell to copy a file on the server. Pin
Paul Watson5-Nov-03 22:17
sitebuilderPaul Watson5-Nov-03 22:17 
GeneralRe: Using WScript.Shell to copy a file on the server. Pin
chubbysilk6-Nov-03 3:49
chubbysilk6-Nov-03 3:49 
GeneralRe: Using WScript.Shell to copy a file on the server. Pin
Paul Watson6-Nov-03 5:13
sitebuilderPaul Watson6-Nov-03 5:13 
GeneralRe: Using WScript.Shell to copy a file on the server. Pin
chubbysilk6-Nov-03 9:20
chubbysilk6-Nov-03 9:20 
GeneralRe: Using WScript.Shell to copy a file on the server. Pin
test23237-Nov-03 0:29
test23237-Nov-03 0:29 
GeneralDownload files that contain special characters Pin
Pat Moline5-Nov-03 10:04
Pat Moline5-Nov-03 10:04 
GeneralActiveX Events in Pop-Up Window are not intercepted Pin
Ricardo Briceno5-Nov-03 2:49
Ricardo Briceno5-Nov-03 2:49 
Hi,

I'm having problems intercepting the events thrown by an activex control when it is instantiated in a pop-up window.

I am using the <object> HTML tag to instantiate the control within a page. Let's call this page the ocxtest.htm. To intercept the events of the OCX in this page, I use the following syntax:

<SCRIPT LANGUAGE="javascript" FOR="MyObject" EVENT="EventName">
<!--
alert("Hello")
//-->
</SCRIPT>

The OCX is created within a form in order to access some properties and methods from other JavaScript blocks.

If I open directly the page by requesting the URL in my Browser, the event is intercepted and the alert() is executed.

The problem occurs when I want to have ocxtest.htm as a pop-up window, for example, calleng this code from another page:

window.open( "ocxtest.htm", "MyOcxWindow", "width=550, height=500, left=200, top=30");

In the MyOcxWindow, the control is rendered fine, I still have access to the properties and methods and the functionality works properly, however the events thrown by the OCX are no longer intercepted by the window, in other words, in a pop-up window the alert() in the sample code above is never executed.

So,

Are ActiveX controls' events handled in pop-up widows at all?
Is there any extra step that I should take when the control resides in a pop-up window?

Thanks.
QuestionHow to hold thousands of transactions per second? Pin
EastDragon4-Nov-03 15:17
EastDragon4-Nov-03 15:17 
AnswerRe: How to hold thousands of transactions per second? Pin
Paul Watson4-Nov-03 20:26
sitebuilderPaul Watson4-Nov-03 20:26 
GeneralRe: How to hold thousands of transactions per second? Pin
EastDragon4-Nov-03 21:12
EastDragon4-Nov-03 21:12 
GeneralRe: How to hold thousands of transactions per second? Pin
theJazzyBrain5-Nov-03 2:03
theJazzyBrain5-Nov-03 2:03 
GeneralRe: How to hold thousands of transactions per second? Pin
EastDragon5-Nov-03 13:37
EastDragon5-Nov-03 13:37 
GeneralRe: How to hold thousands of transactions per second? Pin
theJazzyBrain5-Nov-03 21:17
theJazzyBrain5-Nov-03 21:17 
GeneralHTML in HTML Pin
peterchen4-Nov-03 4:57
peterchen4-Nov-03 4:57 
GeneralRe: HTML in HTML Pin
Paul Watson4-Nov-03 20:27
sitebuilderPaul Watson4-Nov-03 20:27 
GeneralRe: HTML in HTML Pin
allia7-Nov-03 13:53
allia7-Nov-03 13:53 
Questioncursor change while page loading? Pin
john5134-Nov-03 4:17
john5134-Nov-03 4:17 
General&lt;A&gt; Link colors Pin
Roger Wright2-Nov-03 22:38
professionalRoger Wright2-Nov-03 22:38 
GeneralRe: &lt;A&gt; Link colors Pin
Paul Watson2-Nov-03 23:15
sitebuilderPaul Watson2-Nov-03 23:15 
GeneralRe: &lt;A&gt; Link colors Pin
Sarvesvara (BVKS) Dasa3-Nov-03 2:57
Sarvesvara (BVKS) Dasa3-Nov-03 2:57 
GeneralRe: &lt;A&gt; Link colors Pin
Paul Watson3-Nov-03 3:01
sitebuilderPaul Watson3-Nov-03 3:01 
GeneralRe: &lt;A&gt; Link colors Pin
Sarvesvara (BVKS) Dasa3-Nov-03 3:52
Sarvesvara (BVKS) Dasa3-Nov-03 3:52 
GeneralRe: &lt;A&gt; Link colors Pin
J. Dunlap3-Nov-03 8:38
J. Dunlap3-Nov-03 8:38 
GeneralRe: &lt;A&gt; Link colors Pin
Paul Watson3-Nov-03 22:46
sitebuilderPaul Watson3-Nov-03 22:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.