Results 1 to 6 of 6

Thread: Distribution of VB applications

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2008
    Location
    Melbourne, Australia
    Posts
    37

    Distribution of VB applications

    I've developed a small cost-tracking app with VB 2008. I was wondering what are the dependencies this app requires to install and run on other computers? I am not using any 3rd party or out-of-ordinary controls/DLLs.

  2. #2
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Distribution of VB applications

    You will (should) need to create a installation project to go with your application. This will ensure that all decency information is placed into the target computer
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  3. #3
    Addicted Member
    Join Date
    Feb 2010
    Posts
    197

    Re: Distribution of VB applications

    An easy way to check would be to open your project in visual studio, go to the project properties\publish\application files. It should have a small list with your main exe and any .dll's it needs to run.
    Last edited by DragonRose; Mar 27th, 2010 at 02:02 PM.

  4. #4
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: Distribution of VB applications

    Also if you know that it may be used to XP computers that don't come ready with the new compact framework then include the compact framework as part of the installation.
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

  5. #5

    Re: Distribution of VB applications

    Uh....why would he need the Compact Framework if that framework is generally for Windows Mobile phones?

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Distribution of VB applications

    The things to consider are:

    1. .NET Framework in correct version, which will be 3.5 by default for VS 2008.
    2. Third-party libraries, which you already say that you don't need.
    3. Your own DLLs, if your solution contains multiple projects or you have referenced any existing DLLs of your own.
    4. Data files like images, XML, text, databases, etc.
    5. Database servers, e.g. SQL Server Express.
    6. Your app's config file, if you're using application settings or anything else that is tored in the config file.
    7. OS-specific functionality, i.e. the Windows API.
    8. Your app itself, i.e. the EXE file.

    You need 1 and 8 and you've already discounted 2, but we can't really say for sure on the rest. As Gary suggests, if you use an installer and you've configured your project correctly, pretty much everything will be covered for you.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width