Datasource as IP address on server

Posted on 2007-07-30
Last Modified: 2010-04-23
I have created a data source on my computer that will work great when deployed on a computer. But it just dawned on me that if I want to deploy this program I will need numerous computers to access the same microsoft access database as the data source. The problem is I do not know where the program will be deployed yet. I know I can set it up so I use the network address like \\smith\c:\whatever, but I do not know what that will be.

I once saw a program that when deployed it asked for the IP address for the server as the program was being installed. How would this be set up. I could deploy the access database to the server and when I deploy the program (front end) it would access the server back end (access database)
Question by:wiswalld
    LVL 15

    Accepted Solution

    If you want to use the IP address of the "database server", all you need to do is change the path of the database in the app.config files.

    The path should look similar to this:

    \\\c$\whatever\database.mdb  '<--- Using the administrative shares


    \\\shared folder\database.mdb <---- using shared folders.

    LVL 15

    Expert Comment

    LVL 10

    Expert Comment

    You can set-up a Web Service Application to achieve this without sharing the folder.
    LVL 13

    Author Comment


    Is it possible to simplify this by simply have a form where I can type in this information, but the form would only appear on the install?

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
    The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    746 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

    14 Experts available now in Live!

    Get 1:1 Help Now