Results 1 to 4 of 4

Thread: Connect to a database from multiple computer

  1. #1

    Thread Starter
    New Member Bolloqz's Avatar
    Join Date
    Feb 2009
    Posts
    7

    Connect to a database from multiple computer

    Hi Guys.. Im a newbie in this programming environment.

    Currently im working on a projects to store and retrieve data for my company.
    Im using Visual Basic 2008 Express and MS SQL Server 2008 Express as the database. I created the database in same pc (Local Database)

    Im added the database in as my Datasource and using the DataBinding option by dragging each column from the database into my form.

    My Question is :

    1) Once i finished with the project, i want to install this application to multiple computers in my office to communicate with the same database.
    Can i do that? What i need to do? i think its something to do with the connectionstring.

    Please Help Me

    TQ

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Connect to a database from multiple computer

    Welcome to the forums!

    Have a look at this, it should come in handy.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3

    Thread Starter
    New Member Bolloqz's Avatar
    Join Date
    Feb 2009
    Posts
    7

    Re: Connect to a database from multiple computer

    Tq for the reply Dee-U..

    Thats note help me alot.. But what i mean is if i install this application to other pc, what changes i need to make to the application to make sure all the form will refer to the same database ?
    Last edited by Bolloqz; Feb 21st, 2009 at 10:38 AM.

  4. #4
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Connect to a database from multiple computer

    It will just be the connectionstring, you have to set it so it targets the same database.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width