Can somebody help me with this line of code.
If (status = LL_OK) Then
status = LL_AssocGetInteger(objInfo, "VolumeID", parentVol)
End If
If (status = LL_OK) Then
status = LL_AssocGetInteger(objInfo, "ID", parentID)
End If
End If
If (status = LL_OK) Then
logMsgs = logMsgs & "Accessed Personal Workspace" & vbCrLf
' Add document -- This is where i get error
status = LL_AddDocument(session, parentVol, parentID, _
"Text", "c:\LAPI.xls", objInfo, versionInfo)
If (status = LL_OK) Then
status = LL_AssocGetInteger(objInfo, "VolumeID", nodeVol)
End If
If (status = LL_OK) Then
status = LL_AssocGetInteger(objInfo, "ID", nodeID)
End If
End If
The value od status is <> 0 as soon as the call to LL_AddDocument is done. I am successfully able to make the connection. Also the parentvol is a negative value but ths status value comes out 0, so I assume that it is reading the volume successfully.
Thanks
If (status = LL_OK) Then
status = LL_AssocGetInteger(objInfo, "VolumeID", parentVol)
End If
If (status = LL_OK) Then
status = LL_AssocGetInteger(objInfo, "ID", parentID)
End If
End If
If (status = LL_OK) Then
logMsgs = logMsgs & "Accessed Personal Workspace" & vbCrLf
' Add document -- This is where i get error
status = LL_AddDocument(session, parentVol, parentID, _
"Text", "c:\LAPI.xls", objInfo, versionInfo)
If (status = LL_OK) Then
status = LL_AssocGetInteger(objInfo, "VolumeID", nodeVol)
End If
If (status = LL_OK) Then
status = LL_AssocGetInteger(objInfo, "ID", nodeID)
End If
End If
The value od status is <> 0 as soon as the call to LL_AddDocument is done. I am successfully able to make the connection. Also the parentvol is a negative value but ths status value comes out 0, so I assume that it is reading the volume successfully.
Thanks