Results 1 to 3 of 3

Thread: quick access question

  1. #1

    Thread Starter
    Frenzied Member wengang's Avatar
    Join Date
    Mar 2000
    Location
    Beijing, China
    Posts
    1,604

    quick access question

    I'm thinking the answer is no to this, but can an Access database be put on my web server and then accessed by an app that I write running on the computer?

    I know SQL Server can, but this is a small project for sb else and I don't want to put them on my db.


    Oh, if the answer is yes, what does the conn string look like?

    For possible workaround, I'm thinking of using an invisible webbrowser control, maybe put some of the code in ASP and run it server side, just use the software like a wrapper.

    The idea is an app that only three or four computers will ever use, but they need the same data (doesn't have to be live synced or anything, but at least regularly synced)

    Anybody?


    Thanks.
    Wen Gang, Programmer
    VB6, QB, HTML, ASP, VBScript, Visual C++, Java

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: quick access question

    SQL Server can because SQL Server is a proper server and that server supports HTTP. Access is just a file. You would generally write a web service to sit between your app and your database. The web service then connects to the database a s local data file and the app makes calls to the web service.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: quick access question

    Yeah through ado and asp. Put your db into a secure area, and using ado connect to it. ASP coding can talk to mdb.

    But as mdb is not the most secure in the world, uh, ever depends what you are thinking of holding on it.

    Change to MySql database instead?

    Edit:
    My thinking is that your ASP part can take a processing (CGI?) type post as though from a form on a html page. Then return a html file. Your program can read that file and grab the bits it needs... Just one option tho.

    Extra Edit:
    Think there was something in ADO about connecting to shared mdb on online server ... never used so not sure, perhaps a search of google?
    Last edited by Ecniv; Jul 5th, 2011 at 08:16 AM.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

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