Adding ini file to install package VB6

Posted on 2007-07-26
Last Modified: 2008-09-13
What is the procedure to make VB6 add an INI file to the install directory when they run the setup.exe it?
Question by:Tom_Hickerson
    LVL 11

    Expert Comment

    You can add the ini file to the Package & Deployment wizard.
    LVL 11

    Accepted Solution

    Sorry, you asked for the "procedure".

    After you select the project file (and compile it, if necessary), the next screen will list the files to be included in the package.  Click the "Add" button and select your ini file.  You will have to change the file type to "All Files" to be able to see it.

    A few screens later in the Wizard, you will be able to select where the ini file will be installed to.  I would suggest that you accept the default and install it to the folder where the executable is to be installed.

    Expert Comment

    how would you do this in Visual Studio 2005? i dont see the option to add files durring compiling....

    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

    When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
    If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

    729 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