[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Adding ini file to install package VB6

Posted on 2007-07-26
3
Medium Priority
?
507 Views
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?
0
Comment
Question by:Tom_Hickerson
  • 2
3 Comments
 
LVL 10

Expert Comment

by:Clif
ID: 19574571
You can add the ini file to the Package & Deployment wizard.
0
 
LVL 10

Accepted Solution

by:
Clif earned 2000 total points
ID: 19574614
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.
0
 

Expert Comment

by:kharward
ID: 22471235
how would you do this in Visual Studio 2005? i dont see the option to add files durring compiling....
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

830 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