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. Referece Lost [modified]

Referece Lost [modified]

Scheduled Pinned Locked Moved Visual Basic
questioncsharpvisual-studiocom
5 Posts 3 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.
  • M Offline
    M Offline
    Mithun Shitole
    wrote on last edited by
    #1

    Hi, I am developing an application using vs 2008 and vb.net. There are 4 projects in my solution which uses a same DLL created in vb6. Now when I compile the solution each time my reference to dll gets lost in each project. ( I have added separate reference to each project). How can I overcome this problem? Is there any better way of adding reference in my case?

    Mithun Shitole "Free Your Mind" http://www.technoyaari.com

    modified on Tuesday, June 16, 2009 1:57 AM

    C N 2 Replies Last reply
    0
    • M Mithun Shitole

      Hi, I am developing an application using vs 2008 and vb.net. There are 4 projects in my solution which uses a same DLL created in vb6. Now when I compile the solution each time my reference to dll gets lost in each project. ( I have added separate reference to each project). How can I overcome this problem? Is there any better way of adding reference in my case?

      Mithun Shitole "Free Your Mind" http://www.technoyaari.com

      modified on Tuesday, June 16, 2009 1:57 AM

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I assume it's a COM dll, if not, you actually can't add references to it. I am not sure if you can p/invoke it ( as a better way )

      Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

      M 1 Reply Last reply
      0
      • C Christian Graus

        I assume it's a COM dll, if not, you actually can't add references to it. I am not sure if you can p/invoke it ( as a better way )

        Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

        M Offline
        M Offline
        Mithun Shitole
        wrote on last edited by
        #3

        I have resolved the issue using regsvr32. I register that dll and added references from COM reference. Thanks for your help.

        Mithun Shitole "Free Your Mind" http://www.technoyaari.com

        1 Reply Last reply
        0
        • M Mithun Shitole

          Hi, I am developing an application using vs 2008 and vb.net. There are 4 projects in my solution which uses a same DLL created in vb6. Now when I compile the solution each time my reference to dll gets lost in each project. ( I have added separate reference to each project). How can I overcome this problem? Is there any better way of adding reference in my case?

          Mithun Shitole "Free Your Mind" http://www.technoyaari.com

          modified on Tuesday, June 16, 2009 1:57 AM

          N Offline
          N Offline
          Nagy Vilmos
          wrote on last edited by
          #4

          If you are just building the VB6 project without selecting binary compatability, you are opening up a whole continent of hurt for later.


          Panic, Chaos, Destruction. My work here is done.

          M 1 Reply Last reply
          0
          • N Nagy Vilmos

            If you are just building the VB6 project without selecting binary compatability, you are opening up a whole continent of hurt for later.


            Panic, Chaos, Destruction. My work here is done.

            M Offline
            M Offline
            Mithun Shitole
            wrote on last edited by
            #5

            Thanks Nagy, I was completely unaware of "binary compatible" thing.

            Mithun Shitole "Free Your Mind" http://www.technoyaari.com

            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