Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Can we make applets using .NET

Can we make applets using .NET

Scheduled Pinned Locked Moved ASP.NET
csharpjavalounge
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    Umair Ahmad khan
    wrote on last edited by
    #1

    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

    R 1 Reply Last reply
    0
    • U Umair Ahmad khan

      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

      R Offline
      R Offline
      Ryan Roberts
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups