Solved

Setup / Distributing Program ?

Posted on 1998-12-08
1
212 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 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

895 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

15 Experts available now in Live!

Get 1:1 Help Now