Technically, it's not possible to create an activex control in C#.
However,
you can create a user control and host it in a browser. The browser will
render it as an ActiveX control. Here is a link:
http://support.microsoft.com/kb/555687 to get you started. You'll need to
learn about permissions because these controls run in the browser sand
box.
Look up code access security on MSDN.
--
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on
www.lulu.com/owc $19.99
thanks for ur help sir.......
last question ........
Is it possible to use user control genereted in windows program in
C#.....
I mean If Idevelop some ActiveX control in C# or VB then is it
possible
to
use it on web....
Main thing is that I donot know much about activex control and it
implementation plz give some link of tutorial to understand it.......
thanks
:
If you bought or downloaded the product, you should contact product
support
for implementation examples. This newsgroup won't supply that because
it
is
a 3rd party control. I simply tried to help you.
--
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on
www.lulu.com/owc $19.99
sir, sorry .........
I have done what u have asked ...It only draw a rectangle shape on
the
form
....and nothing appears.
Now i want to use it in coding like get the data (MathML ) from it
and
store
it in SQL database...
firstly the formulator should appear in the web form........
plz sir give me some link and some example where i can understand
the
whole
and last question from where u have got the ID......
:
copy this into the body of your html page
<OBJECT
classid="clsid:737B43F8-5A87-4014-8C6D-C7DB1A99360C"
type="application/x-oleobject" name="formulator-obj"
width="700"
height="300"
id="formulator"
remove the references you added previously, these references are
for
code
running on the server. This object runs on the client - BIG
difference.
Run
the page.
--
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on
www.lulu.com/owc $19.99
message
Thanks for ur reply.
sir, actualy I am new about using Active X control .so what I
have
done
is
like this...
Firstly downloaded the ActiveX control from
www.mmlsoft.com named
formulator
activeX and installed it.
after that in asp.net project I added the COM component by geting
in
Add
reference . by doing this it added two files in my BIN directory
they
are
1. Interop.FMLAXCLib.dll
2. stdole.dll
After this I donot no how and what to use, I have read many
tutorials
about
this but unable to understand . plz tell me the procedure of
registaring
it
and
how to get the Id and CLSID .
plz it is urgent......
:
First register the ActiveX object on the client where it will
run,
then
embed the object in the aspx page using the object tag
<object id='myID' CLSID="id goes here"></object>. The activeX
object
will
expose a programming interface to allow data manipulation. You
have
a
reference id that you can use to call methods on the object.
--
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on
www.lulu.com/owc $19.99
message
Hi,
I have got a active x control from other party (hermitech
laboratory)
for
witing equation and it converts the equation in MATHML .
Problem is that i donot know how to integrate it in .aspx page
and
how
to
retrive the MATHML generated by it to store it in sql database
.As
on
that
site there is nothing about its use.
give me some example or link
Is their any editor provided my microsoft for writing equation
and
which
generates mathml . as like in ms-word but it doesnot produce
MATHML
plz ...
thanks