General information
Category:
COM/DCOM and OLE Automation
Environment versions
Network:
Windows 2003 Server
Sergey
I think I am on the right track, generally. This is the sequence of commands I've used to get to where I am now:
DBLINK_COMPANY = 1
DBLINK_FLG_READWRITE = 0
oSession = CREATEOBJECT("Accpac.Session")
oSession.Init("", "OE", "OE1100", "54A")
oSession.Open("ADMIN", "ADMIN", "TSTDAT", DATETIME(), 0, "")
IF oSession.IsOpened()
oLink = oSession.OpenDBLink(DBLINK_COMPANY, DBLINK_FLG_READWRITE)
ENDIF
oView = GETINTERFACE(oSession, "IAccpacView")
When I type oView = GETINTERFACE(oSession, "IAccpacView") I get the following error message:
"OLE error code 80004002: No such interface supported."
Does this mean anything to you?
Cheers
Chris
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only