473,396 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Registering binary components

I'm trying to learn VB. I get the following error when I add a VB project to
the one I'm currently working on

"Unable to set the version compatible component C:\...\Dir\bin\Project2.dll"

where Project2.vbp in Dir is the project I'm trying to add to Project1.vbp.

I thought I might have to register the dll, but the bin directory mentioned
in the error message doesn't seem to exist.
What should I do?
Thanks,

Marco
Jul 17 '05 #1
1 12764
On 4 Aug 2004 04:16:18 -0700, md***@hotmail.com (Marco) wrote:
I'm trying to learn VB. I get the following error when I add a VB project to
the one I'm currently working on

"Unable to set the version compatible component C:\...\Dir\bin\Project2.dll"

where Project2.vbp in Dir is the project I'm trying to add to Project1.vbp.

I thought I might have to register the dll, but the bin directory mentioned
in the error message doesn't seem to exist.
What should I do?
Thanks,


In Project Properties go to the Compatibility tab and point it to the
actual compiled version of Project2.dll (which is somewhere on your
machine, hopefully).

If you don't have any such file, you'll have to change it to "No
Compatibility". Then you can compile the dll, make a copy, change it
back to "Binary Compatibility" and point it at the copy of the dll you
just made. All exe's compiled against the old version of Project2.dll
will need to be recompiled with references changed to the new version.

Jim Deutch
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David | last post by:
I have my program dynamically register custom ActiveX components when it starts. On the most part, this works great for all my customers, except my own internal ones. Our Win2k computers are locked...
16
by: Catherine Jones | last post by:
I need to register a Vb DLL under restricted acess privilages please provide me a solution Regards and thanks
1
by: wesley | last post by:
Hello, I have managed dll which I want to register as LocalServer, I am under the impression that using regasm is registering the COM component in InProc. Is there a way to register the COM...
1
by: peter.jakes | last post by:
Hello, I am straggling with an issue than may not have a solution. I have a windows application that is composed of com components. Normally one registers all components the application uses and...
2
by: umberto | last post by:
Hello, Is it nessesary to run the GAC program when I put new dll into BIN folder on my horst provider server ? Or just to put it and it will be able to use functions wchich that dll contains ? ...
7
by: anon | last post by:
Hi, How do i register a DLL(like OWC) on the server...will just running regsvr32 work....any syntax issues...?? Thanks. *** Sent via Developersdex http://www.developersdex.com *** Don't...
2
by: Mad Scientist Jr | last post by:
i'm trying to read a file byte by byte (and later alter the data and write it to a 2nd file byte by byte) and running into a problem where it seems to keep reading the same byte over and over again...
6
by: | last post by:
Hi all, is there a better way to stream binary data stored in a table in sql 2005 to a browser in .net 2.0? Or is the code same as in .net 1.1? We noticed that in certain heavy load scenarios,...
1
by: shivkumar2004 | last post by:
Hi!, I am developing a chat system using vb.net in vs 2005. I am getting the following error while registering the events. error details: System.InvalidOperationException was unhandled...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.