ReplaceDocument Method Example

The following example replaces the active Document with TestPicture.

Application.ActiveWindow.ReplaceDocument "C:\Program Files (x86)\Proficy\iFIX\Pic\TestPicture.grf"