Solved

Setup / Distributing Program ?

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…

770 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