Click to See Complete Forum and Search --> : Accessing a Server?


pepsisc
December 2nd, 2006, 02:20 PM
DEVELOPER'S PC: Windows XP SP2 Professional; VB 6 Enterprise Edition; Crystal Reports XI Developers Edition

Production PC: Windows XP SP2 Professional; VB 6 run-time libraries; Crystal Reports XI Run-Time Libraries

The Production PC is connected to a Server.

On the DEVELOPER'S PC, within Crystal Reports, I need to set up the address of where the databases are located. On the DEVELOPER'S PC, they are in a directory on the "D" drive. On the Production PC, the databases are located on a Server.
DEVELOPER'S PC:
D:\ProductionDB\Inventory.mdb

Production PC:
\\10.2.3.4\ProductionDB\Inventory.mdb
THE PROBLEM: I can not set up the Server address on the DEVELOPER'S PC before compiling the application. If I do so, an error in the compilation occurs and it will not create the executable. (This is in Crystal Reports)

Therefore, what I am currently doing is to take the source to the customer's office, change the database address to the server location and re-compile there.

There MUST be a way around doing this. I would like to create the Install and Exe files before going to the Customer's location.

Do you have any ideas how this could be done?

Thanks,
Sam