C# Applet

G

gcmf8888

How can I convert my C# application to a embedded component into IE
like Java Applet? Thanks.
 
G

Guest

Hi,
I assume that you have already written a System.Windows.Forms.Control,
which is ready to display. Then just do the following steps:
1. Create a parameterless constructor to instantiate this control
2. Wrap this in an assembly
3. This could be display in a web page something like this:
<object
id=objID
classid="http:yourAssemblyDll.dll#Control"
height=400 width=400>
</object>

Note: ofcourse it will run in IE only -:)
 
R

Robert Kent

Uday Hegde said:
Hi,
I assume that you have already written a System.Windows.Forms.Control,
which is ready to display. Then just do the following steps:
1. Create a parameterless constructor to instantiate this control
2. Wrap this in an assembly
3. This could be display in a web page something like this:
<object
id=objID
classid="http:yourAssemblyDll.dll#Control"
height=400 width=400>
</object>

Note: ofcourse it will run in IE only -:)

do you know of any good samples or tutorials?

Is there any possibility that these will someday work under Mono and
Netscape/Mozilla?
 
R

Robert Kent

Guest said:
Hi Robert,
Here is a web site link I found who has a sample example to write a
C# applet. Let me know if you have further questions

http://www.csharphelp.com/archives/archive109.html
Thanks!

Unfortunately it only works with IIS. Do you know if there is any way to get
these to work with Apache or some other web server?

Mono (www.go-mono.org) just released it's 1.0 version. Does anyone know if
it will be possible to use Mono on other platforms (Mac, Linux) with
Netscape or Mozilla?

Does Microsoft ever intend to make a version of .net for the Mac?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top