how to use ActiveX control in web application

If you have a bug to report, a new feature to request, or anything else to say, please let us know.

how to use ActiveX control in web application

Postby santosh on Sat Mar 15, 2008 8:48 am

sir,
http://www.mmlsoft.com/hdata/fmlaxc-sample/fmlaxc.html

In the Faq section the above url is for displaying the sample of activex control. IT does not dispaly the control for this it requires the evaluation version to be installed .so i have installed that but the problem is same .

For my personel use i have downloaded the licence creater from Microsoft.... but I dont know from where I will get the CLID for this licence file and where to put that........

But their is another problem also the code what I have written for asp.net in .aspx page it works when the file extention is changed to .html but why it does not work in asp.net web application

I am sending the code
<%@ Page Language="C#" AutoEventWireup="false" EnableEventValidation ="false" CodeFile="activex_page.aspx.cs" Inherits="activex_page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>

<script language="JavaScript">
function onClickOk()
{
var str = formulator.GetMathMLStr();
alert("str");
}

</script>
</head>
<body>
<form id="form1" runat="server">

<object
classid="clsid:737B43F8-5A87-4014-8C6D-C7DB1A99360C"
type="application/x-oleobject" name="formulator-obj" width="700" height="300"
id="formulator">
</object>

<br/>
<br/>

<a href="#" onClick="onClickOk();">Post math expression</a>



</form>
</body>
</html>

thanks...
santosh
 
Posts: 7
Joined: Sat Mar 01, 2008 12:55 pm

Re: how to use ActiveX control in web application

Postby levitsky on Wed Mar 19, 2008 12:55 pm

There are two separate problems. The first is how to place and use ActiveX on web pages using just HTML & JavaScript. The second is how to use license info.

1) Our example (http://www.mmlsoft.com/hdata/fmlaxc-sample/fmlaxc.html) will work nicely for a browser that support ActiveX technology, namely IE. In order to view this example using Mozilla Firefox, you will need installing a plugin in order to work with ActiveX in Mozilla Firefox.

2) As it's stated in our FAQ's, "Formulator ActiveX Control is a licensed control, and in order to use it in an HTML page on a non-licensed computer (i.e., computer of an end-user), you must generate a license package file (LPK)." For the evaluation version this file is already created and placed at the same place where the web page is (http://www.mmlsoft.com/hdata/fmlaxc-sample/fmlaxc.lpk).
levitsky
Site Admin
 
Posts: 8
Joined: Thu Feb 21, 2008 1:38 am
Location: Zhytomyr, Ukraine

Re: how to use ActiveX control in web application

Postby santosh on Wed Mar 19, 2008 3:38 pm

My first problem is using the activex control in asp.net web application it doesnot work in it . and I am using IE 7.0 but ur faq example is not displaying the control. but If I change the file extension to .html from .aspx it works
Is there any other way to implement the control in asp.net 2005 .
the code what I have posted previously is of ASP.NET

plz sir I have got mad for this .

levitsky wrote:There are two separate problems. The first is how to place and use ActiveX on web pages using just HTML & JavaScript. The second is how to use license info.

1) Our example (http://www.mmlsoft.com/hdata/fmlaxc-sample/fmlaxc.html) will work nicely for a browser that support ActiveX technology, namely IE. In order to view this example using Mozilla Firefox, you will need installing a plugin in order to work with ActiveX in Mozilla Firefox.

2) As it's stated in our FAQ's, "Formulator ActiveX Control is a licensed control, and in order to use it in an HTML page on a non-licensed computer (i.e., computer of an end-user), you must generate a license package file (LPK)." For the evaluation version this file is already created and placed at the same place where the web page is (http://www.mmlsoft.com/hdata/fmlaxc-sample/fmlaxc.lpk).
santosh
 
Posts: 7
Joined: Sat Mar 01, 2008 12:55 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron