A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

Unable to open database from shared folder in Excel VBA



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 26th 08, 02:34 PM posted to microsoft.public.windows.vista.networking_sharing
Sarah White[_2_]
external usenet poster
 
Posts: 1
Default Unable to open database from shared folder in Excel VBA

I have an Excel spreadsheet originally developed in Excel 2000, in which
users enter data in their own workstation and click a button to transfer the
data to a centralized database. It works perfectly in Excel 2003, but have
problems in the new machines we bought (running Windows Vista Ultimate and
Office 2007). I got a run-time error saying that method 'OpenCurrentdatabase'
of object '_Application' failed.

It works if I moved the database to my local hard drive, so I suspect the
problem is about network and sharing of files in Windows Vista (I can see and
open the database from Windows Explorer). We have a peer-to-peer network with
a computer designated as a database server, running MS Windows 98 SE without
MS Office. The folder MASTER-DB is in full access with no password.

Dim appAccess As Variant
Dim dbCurrent As Variant

Set appAccess = CreateObject("Access.Application")
appAccess.Opencurrentdatabase "\\COMP 45 - NET S\MASTER-DB\Master.mdb"

Set dbCurrent = appAccess.CurrentDb
....

Any help would be greatly appreciated!!

Thanks,
Sarah



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.