Click here to Skip to main content
14,734,709 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
how to fetch a data from A application form in vb to application form in c# .net
in windows application
Posted
Comments
Sergey Alexandrovich Kryukov 23-Oct-13 13:22pm
   
Do you mean VB or VB.NET? What's the problem. http://www.whathaveyoutried.com so far.
—SA

1 solution

There is no such a problem. There are no barriers between .NET language. In other words, you work with an assembly written in different .NET language the same way as in the same language. You reference one assembly by another assembly or load it during runtime using the class System.Reflection.Assembly. If you are using Visual Studio and the assembly is referenced, you can click on the reference node to browse the referenced assembly. It will show what can you openly use in it. (Why I say "openly"? because reflection allows to use even non-public types and members.) And Intellisense will show you what to write, too.

If another project is pure unmanaged, you cannot do it, but you can use P/Invoke, which is much more difficult:
http://en.wikipedia.org/wiki/P/Invoke[^],
http://msdn.microsoft.com/library/en-us/vcmxspec/html/vcmg_PlatformInvocationServices.asp[^].

—SA
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900