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. Visual Basic
  4. Exporting VB.Net DLLs to VB6

Exporting VB.Net DLLs to VB6

Scheduled Pinned Locked Moved Visual Basic
helpcsharpc++winforms
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.
  • F Offline
    F Offline
    Fade Amit BS
    wrote on last edited by
    #1

    I have a really big application running on vb6, it will take months to port it to .net in the meanwhile i need to use some GDI+ capabilities (and some threading). I wrote some DLLs that will do the job for the big applications, but i don't know how to export them to VB6, When i'm trying to add the reference to the DLL, it gives me an error message that it cannot use that kind of DLL. I thought of using OCXs instead, but i don't seem to find a way to create an OCX in VB.Net (i know i can do in c++/# but i have tons of code already written in VB.net and i'm on a tight schedule) Can anyone help me out? Fade (Amit BS)

    L 1 Reply Last reply
    0
    • F Fade Amit BS

      I have a really big application running on vb6, it will take months to port it to .net in the meanwhile i need to use some GDI+ capabilities (and some threading). I wrote some DLLs that will do the job for the big applications, but i don't know how to export them to VB6, When i'm trying to add the reference to the DLL, it gives me an error message that it cannot use that kind of DLL. I thought of using OCXs instead, but i don't seem to find a way to create an OCX in VB.Net (i know i can do in c++/# but i have tons of code already written in VB.net and i'm on a tight schedule) Can anyone help me out? Fade (Amit BS)

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      As far as I know, May the Windows Control Library Project is the project that will create the control for you. In visual studio .net 2003 go to File Menu and Choose New Project and Select VB.Net project then Choose Windows Control Library. Hope this will help you.


      A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office

      F 1 Reply Last reply
      0
      • L Lost User

        As far as I know, May the Windows Control Library Project is the project that will create the control for you. In visual studio .net 2003 go to File Menu and Choose New Project and Select VB.Net project then Choose Windows Control Library. Hope this will help you.


        A thousand mile of journey, begin with the first step. APO-CEDC Save Children Norway-Cambodia Office

        F Offline
        F Offline
        Fade Amit BS
        wrote on last edited by
        #3

        i'm sorry but if it was that simple i wouldn't have posted this question. that problem is exporting the created control to vb6 thanks for the effort though :) Fade (Amit BS)

        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