Results 1 to 6 of 6

Thread: VS 2005 and Databases

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Posts
    12

    VS 2005 and Databases

    Hi,

    I am trying to deploy a RSS reader I have built involving a SQL database. I was wondering if there is a way to deploy the app so that when the user runs it on a machine that does not have SQL 2005 Express Edition they do not have to download and install it as well.

    Thanks,

    DJel.

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: VS 2005 and Databases

    It depends on where the database they are going to use is located. They will however need to install the drivers (client) for any database that need one.

    You are using ADO and connect using the ADO Connection Strings and OLEDB?

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Posts
    12

    Re: VS 2005 and Databases

    Sorry I am a bit new to databases,

    I just setup a normal .mdf database in VS and then setup their relationships using a dataset (.xss). Then the items on the form just have a connection to the database via a table adapter and a binding source.

  4. #4
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: VS 2005 and Databases

    If the database is for a single user can use SQL Server Compact Edition - it requires no other installs and runs in the process space of you application itself.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  5. #5

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Posts
    12

    Re: VS 2005 and Databases

    How would I go about incorporating that into my install, so that the user doesn't have to download it?

  6. #6
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: VS 2005 and Databases

    Quote Originally Posted by DJel
    How would I go about incorporating that into my install, so that the user doesn't have to download it?
    I'm not big on installs of VS stuff yet - but I believe it simply becomes part of the ref's that are put into the setup for your app.

    Remember SQL CE does not run as a service - it's compiled into your .EXE itself.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

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