You are here: running ActiveX on the server « HTML « IT news, forums, messages
running ActiveX on the server

Posted by Bertrand C. on 02/18/07 16:33

Hi,
I try to find a way to solve a problem:
running on the server an activeX control, and not locally on the browser
used to see
the html file.

This control ( a DLL) is using sound from a SW radio receiver.
It looks like this : http://f5ihp.free.fr/file/demopsk.JPG

of course, looking this page from an other machine of my local network
doesn't works:
no activeX ( dll), and nothing on the soundcard if I load this dll to
visualise the result.



This file looks like this:


<HTML>
<HEAD>
<TITLE>WinPSKX DHTML Demo</TITLE>
</HEAD>
<BODY bgcolor="navy">
<font color="yellow"><h2>
WA&#216TTN's WinPSKX ActiveX Control Demonstration
</h2></font>
<INPUT type="button" id=DClear value=" Clear RX "><br>
<TEXTAREA id=DText rows=15 readOnly cols=80></TEXTAREA><br>
<P>
<OBJECT id=DWinPSKX1 style="LEFT: 0px; WIDTH: 663px; TOP: 0px; HEIGHT:
202px" classid="clsid:37D8ADC6-B3EC-474A-9640-6BAB04F57289">
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="_ExtentX" VALUE="17542">
<PARAM NAME="_ExtentY" VALUE="5345">
<PARAM NAME="_StockProps" VALUE="0">
</OBJECT>
</P>
<script language="VBScript">
'notification event handler that handles the PSKCharRdy event from the
WinPSKX control
Sub DWinPSKX1_PSKCharRdy ( CharData, Channel )
DText.value = DText.value & Chr(CharData)
End Sub
'notification event handler for the left mouse button that sets the channel
0 frequency
Sub dWinPSKX1_LButtonDown( Frequency )
DWinPSKX1.Frequency(0) = Frequency
End Sub
'this function clears the text area when the Clear RX button is clicked
Sub DClear_OnClick()
DText.value = ""
End Sub
'initialize the WinPSKX control and start the soundcard
DWinPSKX1.AFCLimit(0) = 100
DWinPSKX1.SearchRange(0) = 45
DWinPSKX1.CreateCursor 0, 0, 1, RGB(255, 0, 0) 'create a solid red cursor
DWinPSKX1.BindCursor 0, 0 'bind the cursor to RX channel 0
DWinPSKX1.DisplayMode = 1 'waterfall display
DWinPSKX1.DisplayOptions = 255 'show graticule, spectrum, and cursors
DWinPSKX1.SetDisplayRange 100, 4000
DWinPSKX1.StartSoundCard -1, 1
</script>
</BODY>
</HTML>



--------------------------------------------------------------------------------
J'utilise la version gratuite de SPAMfighter pour utilisateurs privιs.
163 e-mails spam ont ιtι bloquιs jusqu'ΰ maintenant.
Les utilisateurs payant n'ont pas ce message dans leurs e-mails.
Essayez SPAMfighter gratuitement maintenant!

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация