Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Into the ether
Joe_Bryant
I'm using VB.NET 2002 and LL v 9.1.0.3This simple code runs fine until it reaches the status = documents.AccessEnterpriseWS(ewsInfo) line. At that point the application does not report any error, but never progresses to the If status = 0 then... line either. Where have I went wrong?Function LL_Conn() As BooleanDim documents As LAPI_DOCUMENTSDim status As Long = 0Dim parentID As Long = 2000Dim parentVol As Long = -2000Dim nodeID As Long = 0Dim nodeVol As Long = 0Dim ewsInfo As LLValueCursor.Current = Cursors.WaitCursorLL_Conn = FalseTry ewsInfo = New LLValue().setAssocNotSet Dim session As New LLSession("LLServer", 2099, "ll_database", "Admin", "livelink") documents = New LAPI_DOCUMENTS(session) status = documents.AccessEnterpriseWS(ewsInfo) If status = 0 Then MessageBox.Show("Enterprise workspace connection successfully established.", "Livelink connection", MessageBoxButtons.OK, MessageBoxIcon.Information) End If LL_Conn = True Cursor.Current = Cursors.DefaultCatch llErr As Exception MessageBox.Show("ERROR: " & llErr.Message)End TryEnd Function
Find more posts tagged with
Comments
There are no comments yet