?
Solved

Setup / Distributing Program ?

Posted on 1998-12-08
1
Medium Priority
?
222 Views
Last Modified: 2010-05-03
Hi,
i like to know how to distribute a program.

I created a setup directory with the following environment:

1. Setup directory in C:\Collin\Setup\
2. A AddrBook.mdb database in C:\Collin\AddrBook.mdb
3. A hard-coded "Data1" with Source-data ppty as  "C:\Collin\AddrBook.mdb"
4. A SeaGate Crystal Report in C:\Collin\Mail.rpt
5. A hard-coded Crystal Control with Source-data ppty as "C:\Collin\Mail.rpt"

My Questions:
If a network user run my setup/distribution:
1. Will he be able to use my program ?
2. Will he need to create a same dir "C:\Collin\" ?
3. Does he need to have a SeaGate Crystal Report, even if he has installed all generated .DLL files of SeaGate from VB5.0 Setup Wizard ?

Thanks, and best regards,
Collin
0
Comment
Question by:collinng
1 Comment
 
LVL 3

Accepted Solution

by:
cognition earned 400 total points
ID: 1448897
You will have problems distributing an application with hard coded paths.

You can use the App.Path property to return the directory where the applicatino is installed. If the mdb and rpt are all in the same directory as the executable, you do not need to include the full path. That will make it much easier to distribute the application.
In answer to you questions though.
1. Yes
2. Yes
3. No. They should be included as part of the setup wizard process.

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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

862 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