I'm trying to work with a contact management program called GoldMine, which supports a COM server interface.
GoldMine can run in one of three modes: normal application, "silent" mode (system tray), or as a service.
My WinBatch script works fine with GoldMine running as an application, but fails with a 1261 error if GoldMine is running as a service, or in "silent"mode.
Here's my script:
GMUI = ObjectCreate("gmw.ui")
Area = gmui.executeCommand("<GMAPI call='Open'><data name='Filename'>CAL</data></GMAPI>")
The ObjectCreate function works in all of the scenarios; but the next line fails, unless GoldMine's running as an application.
Any guesses as to what would cause this behavior?
Additional info: GoldMine also supports a DDE interface, which has no problem in any of the 3 scenarios.