Can we make applets using .NET
-
well i was wondering if you can tell me that can we make applets using .NET as we can in Java or we can only make them in Java. like if i want to make a chat applet can i make one in .NET, I am Level 1 programer :) THanks Umair
-
well i was wondering if you can tell me that can we make applets using .NET as we can in Java or we can only make them in Java. like if i want to make a chat applet can i make one in .NET, I am Level 1 programer :) THanks Umair
Yes you can, its very easy indeed, derive your applet from a windows forms Control and embed it in IE using an object tag like this:
<object id="YourSmartApplet" classid="http:[assembly URL]#[full class name]" height="value" width="value"> </object>
Use a fully qualified class name after the url to your assembly dll, and everything should be fine. You should remember that your control will be running in a sandbox, depending on your IE trust zones - so don't try and access the filesystem/create listening sockets and suchlike. Ryan.It's yet another shock to our system to discover that not only are we not the centre of the Universe and we're not made of anything, but we started out as some kind of slime and got to where we are via being a monkey. It just doesn't read well.
Douglas Adams