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

Posted on 2004-11-15
Last Modified: 2010-04-17
Hi All,
   I have designed a application in , 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 application forms to .dll( components) and use them in vc++ will remove the .net framwork necessity..

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

Question by:manish_prajapati
    LVL 48

    Accepted 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.
    LVL 3

    Expert Comment


    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

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Problem to adjust sheet 1 79
    Changing the installation path of this MSI 5 76
    sumHeights2  challenge 7 52
    Excel object stays open 19 56
    Purpose To explain how to place a textual stamp on a PDF document.  This is commonly referred to as an annotation, or possibly a watermark, but a watermark is generally different in that it is somewhat translucent.  Watermark’s may be text or graph…
    This article will show, step by step, how to integrate R code into a R Sweave document
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now