Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I open an Access db on our WEB site from desktop

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
this is a script on my desktop
Code:
   Dim db 
   Dim strDbName
   
   'strdbName = "\\servero2\data files\task order\Notification Letter Data_be.mdb" < this works in testing from our server
   strdbName = "[URL unfurl="true"]http://xxx.xxx.xxx.xxx/fpdb/Notification[/URL] Letter Data_be.mdb"
   Set acc = createobject("Access.Application")
   
   acc.Visible = True

   Set db = acc.DBEngine.OpenDatabase(strDbName)
   acc.OpenCurrentDatabase strDbName

here is what it says

C:\Documents and Settings\dposton>upload.vbs
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

C:\Documents and Settings\dposton\UpLoad.vbs(12, 4) DAO.Workspace: Not a valid f
ile name.

Of couse I am using the correct IP, I think


DougP
[r2d2] < I Built one
 
Accessing the file via the HTTP protocol is not at all the same thing as accessing via a file share. You will need to get file level access to the file I believe.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top