Convert VB.NET application to be self-contained

Posted on 2011-05-02
Last Modified: 2012-05-11
Hello experts,

I have a tiny application that needs to be run on a thumbdrive without performing any installations. As requires the .net framework and I can't foresee whether all the target workstations will have it installed, I'm wondering what would be the best alternative.
I read somewhere that in native format would be self-contained: how difficult is it to convert vb code into C++? Any other ideas?

Thanks a lot,

Question by:jiiins2
    LVL 11

    Expert Comment

    by:Deepak Lakkad

    I think, you must need .net framework evenif your application is written using Visual C++.

    You may refer following links for information related with executing application without installing framework.

    - Deepak Lakkad
    LVL 43

    Accepted Solution

    >>I read somewhere that in native format would be self-contained

    C++ .net is based on the .net framework - like

    HOWEVER C++  has no dependancy on the .net framework.  (Visual studio supports both and C++).  Ease of conversion - hard to say.  It really depends on what you are doing.  C++ is more complex (because it has less pre-prepared, and sometimes restrictive, functionality built into it)  to code and tends to work at a lower level when interacting with the operating system.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
    This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    794 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

    18 Experts available now in Live!

    Get 1:1 Help Now