path over network

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andrija

    path over network

    Can someone tell me how to set a path over a network?
    I have a database which has to be accessed from another computer. When I set
    path in connection string, it fails to connect. Example
    path=//Main/C/Program Files/Program/db.mdb

    this seems to be invalid path. Maybe there is a problem with backslashes?


  • Jhon

    #2
    Re: path over network


    "Andrija" <andrijaPrezime @zd.htnet.hr> wrote in message
    news:blkh95$47u $1@ls219.htnet. hr...[color=blue]
    > Can someone tell me how to set a path over a network?
    > I have a database which has to be accessed from another computer. When I[/color]
    set[color=blue]
    > path in connection string, it fails to connect. Example
    > path=//Main/C/Program Files/Program/db.mdb
    >
    > this seems to be invalid path. Maybe there is a problem with backslashes?[/color]

    Your slashes are just slashes, try backslaches instead:

    connectstring = "path=\\\\Main\ \c\\program files\\program\ \db.mdb"

    HTH
    greetz

    [color=blue]
    >
    >[/color]


    Comment

    Working...