• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • Last Modified:

How to Use VB.NET .dll(components) in vc++ .net

Hi All,
   I have designed a application in vb.net , but when time came to deliver it to customer , i have to install .net framework on client machine.
  I don't want to make my application too bulky with .net framework..

Applications designed in vc++ with gui doesn't require .net framework to be install.

so .. I want to convert my vb.net application forms to .dll( components) and use them in vc++ application..it will remove the .net framwork necessity..

How can i do it ...please explain me with a simple example...(.dll build with vb.net and then use it with vc++ ..

1 Solution
This is ampossible. Any managed program requires .NET Framework installation.
Applications developed in unmanaged C++ don't require .NET Framework. Applications developed in managed C++ require .NET Framework exactly like VB.NET or C# applications.
There are two ways to remove .NET Framework dependency, both are not straightforward:
1) Convert your appllication to ASP .NET application or WEB Service.
2) Rewrite it using any unmanaged language like C++, VB6 etc.

I agree with AlexFM that there are no straightforward ways to work with this cross platform issues. However I think a similar question has been asked before. There is a way to selectively link required framework files and make a mini deployment unit, using a third party tool you can get here


hope this helps

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now