Solved

Setup / Distributing Program ?

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…

758 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

24 Experts available now in Live!

Get 1:1 Help Now