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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. VB6 dlls in C#

VB6 dlls in C#

Scheduled Pinned Locked Moved C#
questioncsharpcomhelp
4 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.
  • S Offline
    S Offline
    shezh
    wrote on last edited by
    #1

    Hi, Just one quick question: Do you have to register COM DLLs first using regsvr32 before you can create any instances of classes in the COM DLL? If so, is there anyway around this? Any help would be much appreciated! Thanks!

    J 1 Reply Last reply
    0
    • S shezh

      Hi, Just one quick question: Do you have to register COM DLLs first using regsvr32 before you can create any instances of classes in the COM DLL? If so, is there anyway around this? Any help would be much appreciated! Thanks!

      J Offline
      J Offline
      J4amieC
      wrote on last edited by
      #2

      YES, COM dll's need to be registered before they can be used, and No there is no way around this.

      S 1 Reply Last reply
      0
      • J J4amieC

        YES, COM dll's need to be registered before they can be used, and No there is no way around this.

        S Offline
        S Offline
        shezh
        wrote on last edited by
        #3

        Is there anyway to do this at runtime?

        J 1 Reply Last reply
        0
        • S shezh

          Is there anyway to do this at runtime?

          J Offline
          J Offline
          J4amieC
          wrote on last edited by
          #4

          should be...something like Process.Start("regsvr32 \i C:\path\to\yourdll.dll");

          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