Referece Lost [modified]
-
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
-
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
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
-
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
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
-
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
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.
-
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.
Thanks Nagy, I was completely unaware of "binary compatible" thing.
Mithun Shitole "Free Your Mind" http://www.technoyaari.com