Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Setup / Distributing Program ?

Posted on 1998-12-08
1
Medium Priority
?
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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

618 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