Re: Unable to access folder from A2003
- From: "Wayne Morgan" <comprev_gothroughthenewsgroup@xxxxxxxxxxx>
- Date: Tue, 23 May 2006 21:03:56 GMT
Ok, just to clarify, are you having problems copying the updated file or
opening your app once you've made sure that you have the most current file?
The command line will make a difference, especially if it has the /excl
switch on it. This opens the file exclusively. Where you looks in the
Options isn't what I was referring to. I was referring to the command line
used to open your app. It would be something like:
"<path>\msaccess.exe" "<path>\MyDatabase.mdb" /wrkrgp
"<path>\MyWorkgroup.mdw" /user UserName /pwd Password
What happens if you open the app without using the updater first, do the
problems go away? I suspect that the updater is locking the file for some
reason.
--
Wayne Morgan
MS Access MVP
"rdemyan via AccessMonster.com" <u6836@uwe> wrote in message
news:60a30d52ce523@xxxxxx
Thanks for the response:
1) Not sure why the command line to launch MyApp (located in a folder on
the
local computer) is an issue. The launcher has not had problems launching
the
MyApp program. It's the opening of MyApp update file on the peer computer
that is the issue. Keep getting exclusivity problems.
HOWEVER: I looked at the command-line arguments shown in the
(Tools|Options|Advanced tab) between A2000 and A2003. THEY ARE DIFFERENT.
When I launch MyApp, I pass in some information including the location of
the
back-end files, the workgroup file and some boolean variables that tell
MyApp
what to connect to and where the workgroup file is (I need the workgroup
file
because MyApp also can launch other workgroup protected files.
A2003,however,
only shows the workgroup file in the Command-line argument!!??
One other difference is the DDE operations. A2003 has 'Enable DDE
Refresh'
while A2K has nothing checked.
BUT, the problem I'm having is within the launching program not MyApp once
it
opens.
2) Yes Access on all computers is set to open in Shared mode.
3) To be honest, I don't even know how to set restrictions on shared
folders
in Windows XP Home Edition. Windows Explorer on any of the peer computers
can see the 'Update' folder (and files within) located on Computer #2.
There's only one user right now, so I'm not sure that would be the issue.
4) All files have different names.
All I did to eventually get this to work was create a new folder on
Computer
#2 (which is acting as the server) and copy the files located in the
'Update'
folder (which is giving me the problems) to the NewFolder. Then I change
the
folder location on the launcher on Computer #1 to NewFolder from Update
and
everything works fine!!??
Could this be an A2003 problem. A2000 has never exhibited this problem.
Wayne Morgan wrote:
What is the command line that your launcher program uses to open Access
and
the database once it is assured that you have the current front-end? Is
Access on all computers set to open in Shared mode as a default
(Tools|Options|Advanced tab)? Are there any restrictions on the shared
folder limiting the number of users? Do the front-end, back-end, or
workgroup (mdw) file have the same first part of their name (i.e.
MyDatabase.mdw, MyDatabase.mdb)?
With A2003, I'm having trouble accessing files in a folder on another[quoted text clipped - 44 lines]
computer where back-end files, update files, etc are located. Here's
the
Thank you for any ideas, suggestions,etc.
--
Message posted via http://www.accessmonster.com
.
- Follow-Ups:
- Re: Unable to access folder from A2003
- From: rdemyan via AccessMonster.com
- Re: Unable to access folder from A2003
- References:
- Unable to access folder from A2003
- From: rdemyan via AccessMonster.com
- Re: Unable to access folder from A2003
- From: Wayne Morgan
- Re: Unable to access folder from A2003
- From: rdemyan via AccessMonster.com
- Unable to access folder from A2003
- Prev by Date: Re: Adding Time over 24 hours
- Next by Date: Re: Programmatically positioning query output on the screen
- Previous by thread: Re: Unable to access folder from A2003
- Next by thread: Re: Unable to access folder from A2003
- Index(es):
Relevant Pages
|