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. General Programming
  3. C#
  4. Embedd an OCX

Embedd an OCX

Scheduled Pinned Locked Moved C#
helpquestionlearning
5 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.
  • T Offline
    T Offline
    topcatalpha
    wrote on last edited by
    #1

    Hi, Can someone help me out to embedd an ocx as resource an actually use the code without registering it in the OS ? a site, a doc, some tips or where to search, every hint is welcome. Thx Kurt

    C 1 Reply Last reply
    0
    • T topcatalpha

      Hi, Can someone help me out to embedd an ocx as resource an actually use the code without registering it in the OS ? a site, a doc, some tips or where to search, every hint is welcome. Thx Kurt

      C Offline
      C Offline
      CKnig
      wrote on last edited by
      #2

      I don't think you can use an ocx without registering it.

      T 1 Reply Last reply
      0
      • C CKnig

        I don't think you can use an ocx without registering it.

        T Offline
        T Offline
        topcatalpha
        wrote on last edited by
        #3

        Hi, Don't you think it's possible to acces the code through the interface if you know the interface? I thought the guid (registration) was needed to determine the interface and object location? Thx.

        C 1 Reply Last reply
        0
        • T topcatalpha

          Hi, Don't you think it's possible to acces the code through the interface if you know the interface? I thought the guid (registration) was needed to determine the interface and object location? Thx.

          C Offline
          C Offline
          CKnig
          wrote on last edited by
          #4

          the problem is that the desinger will look in the system for the OCX - implementation and I don't think that there is an easy way to change this

          T 1 Reply Last reply
          0
          • C CKnig

            the problem is that the desinger will look in the system for the OCX - implementation and I don't think that there is an easy way to change this

            T Offline
            T Offline
            topcatalpha
            wrote on last edited by
            #5

            i don't need it in the designer only in runtime so a posibility could be using axhost or reflection to create it, but axhost still search the object using the guid, not on filename. And reflection uses filename but needs an assembly to load and create it. The ocx has no assembly info so i'm stuck there. thx

            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