Last post Jun 05, 2017 10:25 AM by Eric Du
Jun 02, 2017 06:16 PM|lvenegas|LINK
Hello everyone! I just registered in this forum, so this is my first post. I have read a lot of documentation but I can not find what I am looking for. I would like to know how to link a code file that is in a certain project, but from a new project, in
order to reuse code and not have duplicate copies everywhere, helping me to facilitate the future maintenance of a large project. I am using Visual Studio 2013 with Windows 7 Pro 64 bit. I have the original project and the target project. I have been able
to import (link) a code file, which is a module, but when I import it to the new project, it does not allow me to use it, I can only edit it, but it can not be called or use its functions or public procedures, so it is not Useful. Thank you in advance for
your help. I hope the information provided is the necessary one, otherwise please, let me know. Thank you very much. Greetings to all!
Jun 05, 2017 10:25 AM|Eric Du|LINK
According to your description, I search some explanation of it, I think it is explain is correct, please check:
VB.NET: How to reference VB.NET module?
How to make all the module functions "Visible" in another project？
I think you want to call some function in this module, I think WebService or Web API and Webmethod could meet your needs.
when I import it to the new project, it does not allow me to use it, I can only edit it, but it can not be called or use its functions or public procedures, so it is not Useful.
About the description of this phenomenon, you could call the function in this module, but you say it does not allow you to use, so I am not clear what do you do, or what happened? I hope you could give us a more detailed description, this will better help