|
 |
asp_web_howto thread: Embedding ActiveX control in ASP
Message #1 by "NaveenG" <naveeng@s...> on Mon, 1 Jan 2001 13:19:04 +0530
|
|
I could embed an ActiveX control(OCX) in ASP.
It works fine in the server but when it was accessed from someother machine,
ActiveX controls are not getting downloaded.
I've created .cab file in my ASP
The code is attached.
<%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<P>
<OBJECT classid=clsid:CC3A4C70-C3C9-11D5-95F0-00010301426B
id=Message1><PARAM NAME="_ExtentX" VALUE="8467"><PARAM NAME="_ExtentY"
VALUE="6350">
<CODEBASE="../Cabinet2/Cabinet2.cab#Version=1,0,0,0">
</OBJECT>
</P>
</BODY>
</HTML>
Anything wrong in this code, Plz help me.
Thanks in advance,
-Nav
Message #2 by nishancl <nishancl@l...> on Fri, 19 Oct 2001 14:02:05 +0600
|
|
Thanks , but I did not get your attachment. Hope it is not very large cause
we cannot receive large attachments.
best regards
Nish
Message #3 by "NaveenG" <naveeng@s...> on Mon, 1 Jan 2001 13:47:30 +0530
|
|
I could embed an ActiveX control(OCX) in ASP.It works fine in the server but
when it was accessed from someother machine,ActiveX controls are not getting
downloaded. I've created .cab file in my ASP
The code is attached.
<%@ Language=VBScript %>
<HTML>
<BODY>
<OBJECT classid=clsid:CC3A4C70-C3C9-11D5-95F0-00010301426B
id=Message1><PARAM NAME="_ExtentX" VALUE="8467"><PARAM NAME="_ExtentY"
VALUE="6350"><CODEBASE="../Cabinet2/Cabinet2.cab#Version=1,0,0,0"></OBJECT>
</BODY>
</HTML>
Anything wrong in this code, Plz help me.
Thanks in advance,
-Nav
Message #4 by "Simon Umbricht" <simon@p...> on Mon, 22 Oct 2001 10:25:49
|
|
hello
i'm not sure, but i think the codebase="..." needs to be in the <object> tag...
best wishes
simon
Message #5 by Martin McIntyre <martin.mcintyre@m...> on Mon, 22 Oct 2001 10:30:00 +0100
|
|
Here is an example of what I use:
<OBJECT classid="CLSID:DBABAC19-B6F0-11D4-992E-0050046A27D1"
codeBase=NewActiveXTree.CAB#version=1,1,0,38
id=WebCableTree style="LEFT: 0px; TOP: 0px" >
...
...
...
</OBJECT>
Note sometimes to get it to download to a machine, you have to increment the
version when compiling, and then reflect the new version in the CodeBase
section.
Hope it helps.
And of course you have to make sure the browser allows activeX.
-----Original Message-----
From: Simon Umbricht [mailto:simon@p...]
Sent: 22 October 2001 11:26
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Embedding ActiveX control in ASP
hello
i'm not sure, but i think the codebase="..." needs to be in the <object>
tag...
best wishes
simon
Message #6 by "NaveenG" <naveeng@s...> on Mon, 22 Oct 2001 17:47:06 +0530
|
|
If it is custom ActiveX control it works only in the system where it is been
built.
But when we download it from the server, it doesn't work.
-Nav
----- Original Message -----
From: Simon Umbricht <simon@p...>
To: ASP Web HowTo <asp_web_howto@p...>
Sent: Monday, October 22, 2001 10:25 AM
Subject: [asp_web_howto] Re: Embedding ActiveX control in ASP
> hello
>
> i'm not sure, but i think the codebase="..." needs to be in the <object>
tag...
>
> best wishes
> simon
|
|
 |