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. Creating ActiveX Control Using .NET???

Creating ActiveX Control Using .NET???

Scheduled Pinned Locked Moved ASP.NET
questionhelpcsharpasp-netcom
3 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.
  • N Offline
    N Offline
    netSam
    wrote on last edited by
    #1

    Hi All, -- I searched before i asked my question here, about how to create activex control and then how to embed it within an asp.net page using the object tag... -- I found to do so...i have to make a Windows User Control that belongs to a Windows Control Library and then compile it and then takes the dll file and put it in the appropriate directory in my web server and specify the appropriate classid in the object tag in the asp page.. -- I tried to make user control that has textbox and button controls then i use it within an ASP.Net page and it loaded and worked successfully.... BUT ;( -- When i tried to use Kodak Controls(that comes with Imaging Profissional package which comes with Windows)(like,ImageAdmin, ImageEdit, ImageAnnotation controls) i tried to use them within my control and rebuild the control and re-embid it within my asp page, the control didn't appear in the browser..it couldn't be loaded... -- I don't know what is the problem and how to fix it???? -- Any comments will be very usefull... Thanx... netSam

    B 1 Reply Last reply
    0
    • N netSam

      Hi All, -- I searched before i asked my question here, about how to create activex control and then how to embed it within an asp.net page using the object tag... -- I found to do so...i have to make a Windows User Control that belongs to a Windows Control Library and then compile it and then takes the dll file and put it in the appropriate directory in my web server and specify the appropriate classid in the object tag in the asp page.. -- I tried to make user control that has textbox and button controls then i use it within an ASP.Net page and it loaded and worked successfully.... BUT ;( -- When i tried to use Kodak Controls(that comes with Imaging Profissional package which comes with Windows)(like,ImageAdmin, ImageEdit, ImageAnnotation controls) i tried to use them within my control and rebuild the control and re-embid it within my asp page, the control didn't appear in the browser..it couldn't be loaded... -- I don't know what is the problem and how to fix it???? -- Any comments will be very usefull... Thanx... netSam

      B Offline
      B Offline
      Burt Harris
      wrote on last edited by
      #2

      Not all ActiveX controls are going to be usable in InternetExplorer. Generally speaking, this is for security reasons: HTML pages from evil web sites might be able to perform nasty operations through the controls. Here's a link to an article that might help clarify: http://msdn.microsoft.com/library/default.asp?url=/workshop/components/activex/safety.asp[^] Burt Harris

      N 1 Reply Last reply
      0
      • B Burt Harris

        Not all ActiveX controls are going to be usable in InternetExplorer. Generally speaking, this is for security reasons: HTML pages from evil web sites might be able to perform nasty operations through the controls. Here's a link to an article that might help clarify: http://msdn.microsoft.com/library/default.asp?url=/workshop/components/activex/safety.asp[^] Burt Harris

        N Offline
        N Offline
        netSam
        wrote on last edited by
        #3

        Hi Burt Harris.. Thank you so much for your reply... As i understood...i must make my control secured... In VB6 i used to use the appropriate certificate that is included in the cab file for my control... But now in .NET i see that this is done using the Component Categories Manager or Supporting the IObjectSafety Interface.. i will read the articles carefully and see whta will happen with me... Thank you netSam

        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