Re: Problem with opening Conflict Resolver using Shell
- From: rdemyan@xxxxxxxxxxx
- Date: 22 Dec 2006 07:17:03 -0800
OK. The following worked;
strShell = Chr(34) & "C:\Program Files\Common Files\Microsoft
Shared\Database Replication\wzcnflct.exe" & Chr(34) & _
" /DatabasePath " & Chr(34) & "C:\Client\BackEnds\AppTables_be.mdb" &
Chr(34) & _
" /Workgroup " & Chr(34) & "C:\Client\BackEnds\App.mdw" & Chr(34) & _
" /Login " & Chr(34) & "admin" & Chr(34) & _
" /Password " & Chr(34) & "pwd" & Chr(34)
Thanks.
David W. Fenton wrote:
rdemyan@xxxxxxxxxxx wrote in
news:1166595712.692762.4010@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:
I still can't get it to work, so here is what I have:
strFilePath = SysCmd(acSysCmdAccessDir)
strShell = Chr(34) & "C:\Program Files\Common Files\Microsoft
Shared\Database Replication\wzcnflct.exe" & Chr(34) & _
"/Login " & Chr(34) & "admin" & Chr(34) & _
"/Password " & Chr(34) & "pwd" & Chr(34) & _
"/DatabasePath " & Chr(34) & strFilePath & "msaccess.exe" &
Chr(34) & " " & Chr(34) & "C:\Client\BackEnds\AppTables_be.mde" &
Chr(34) & _
"/Workgroup " & Chr(34) & "C:\Client\BackEnds\App.mdw" & Chr(34)
I'm unclear on where the reference to access goes.
OK, I misinterpreted what you were doing. You don't need
MSAccess.exe in there at all.
"D:\Programs\Common Files\Microsoft Shared\Database
Replication\WZCNFLCT.EXE" /databasepath
"E:\Data\DFAssoc\Access\Replication\wtsData.mdb" /workgroup
"C:\WIN2K\system32\system.mdw" /login admin /password ********
That's a RUN commandline that worked on my machine. I wonder if the
order of commandline arguments makes a difference?
In any event, I also wonder why you're opening an MDE? An MDE
shouldn't be replicated, as MDEs are only front ends (converting to
an MDE has no effect on a tables-only MDB). Are you passing the
front end instead of the back end?
You're string looks correct (with the removal of the Access
executable, of course), so I wonder if it really is the order that
matters.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
.
- Follow-Ups:
- Re: Problem with opening Conflict Resolver using Shell
- From: David W. Fenton
- Re: Problem with opening Conflict Resolver using Shell
- References:
- Problem with opening Conflict Resolver using Shell
- From: rdemyan
- Re: Problem with opening Conflict Resolver using Shell
- From: David W. Fenton
- Re: Problem with opening Conflict Resolver using Shell
- From: rdemyan
- Re: Problem with opening Conflict Resolver using Shell
- From: David W. Fenton
- Problem with opening Conflict Resolver using Shell
- Prev by Date: Indirect Synchronization without Synchronizer on Server
- Next by Date: Re: Is there a way to tell if two replicas need to be synced without starting the sync process
- Previous by thread: Re: Problem with opening Conflict Resolver using Shell
- Next by thread: Re: Problem with opening Conflict Resolver using Shell
- Index(es):
Relevant Pages
|