GetDbmlsyncPath PowerScript function
Description
Retrieves
the full path and file name of the dbmlsync.exe that
is installed on the workstation.
Controls
MLSync and MLSynchronization controls
Syntax
|
1 |
<span>SyncObject</span>.<span>GetDbmlsyncPath</span> (<span> </span>) |
|
Argument |
Description |
|---|---|
|
syncObject |
The name of the synchronization object |
Return Values
String. Returns the value of full path
and file name of the synchronization executable. Returns -1 if.dbmlsync.exe is
not found.
Usage
This property uses the value of the synchronization object’s
MLServerVersion property to decide which version of dbmlsync to
return.
Examples
This function enables the use of Help buttons for
the Additional Options and Extended Options fields as displayed
on the default ML Server tab page of the w_appname_sync_options
dialog box that is generated by the MobiLink synchronization wizard.
The Clicked event for these Help buttons has the following script:
|
1 |
string sCmd |
|
1 |
sCmd = i_uosync.GetDbmlsyncPath() |
|
1 |
if len(sCmd) > 0 then |
|
1 |
sCmd += " ? " |
|
1 |
   // sCmd += ' -l' for help with extended options |
|
1 |
run(sCmd, Normal!) |
|
1 |
end if |