Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. psmello

    API error: -2147418107

    Thanks. I was missing this line: If (status = LL_OK) Then status = LL_ValueSetAssoc(catID) End If I had the LL_ValueAlloc(catID) line, but not the one above. Incidently, I checked the SQL data based on the queries you referenced and it matched the info I had. So, right-clicking within...
  2. psmello

    How to write required attribute value in CreateObjectEx

    I'm stuck at this point. The entire function is listed below. I get no error at CreateObjectEx, but no doc is created. If I remark out these lines (just before the call to CreateObjectEx) status = LL_AssocSetInteger(createInfo, "request", cRequest) status = LL_AssocSetInteger(createInfo...
  3. psmello

    API error: -2147418107

    I checked the SQL table: LLAttribData and the DefID field yields the same value as when I right-click on the category. Is this the correct table? If not, how else can I check for this ID? Is there a GUEST account to get to the Livelink knowledge base? I can't get access. Thanks, PSMELLO
  4. psmello

    API error: -2147418107

    I get the above error at the following line in the code below (entire function listed below): If (status = LL_OK) Then status = LL_AssocSetInteger(catID, "ID", g_lngDocDateID) End If I'm getting the g_lngDocDateID from an INI file when the app loads. This is the objectID of...
  5. psmello

    How to write required attribute value in CreateObjectEx

    To AppNair: Could you please resend me the email with the Java code to add a doc with a category? I lost all saved emails recently. Many thanks, psmello
  6. psmello

    How to write required attribute value in CreateObjectEx

    My email address is: psmello@adelphia.net Thanks for all your help. Peter Mello
  7. psmello

    How to write required attribute value in CreateObjectEx

    I'm trying to write the value of a custom required attribute called Document Date which is in the standard date format (Month field, day field, year field). I tested this manually to see that the attribute is required. I am trying to programatically add a document and populate this attribute...
  8. psmello

    Error adding object (document)

    Thanks. I've tried the app on several machines and against two different Livelink server. In all cases, Windows hoses the app. No error is returned from the LAPI. I've used the LAPI with port 2099, and HTTPS with both the ISAPI DLL and LIVELINK.EXE via port 80. Could this be a LAPI DLL...
  9. psmello

    Error adding object (document)

    I get an error each time I use the AddDocument function in the LAPI. The error is a memory error on one machine and the app just bombs with no error on another machine. I've tried different files (TXT & TIFF), but the same error occurs. The doc does get created, but not without the error...
  10. psmello

    Return Folder ID and Name from a folder search

    I'm trying to write a VB app that scans a folder in the Enterprise workspace and returns the Name and ID of each folder it finds. The app hangs on this line: LL_ListObjects session, ParentId, parentVol, vbNullString, vbNullString, LL_PERM_SEE, lngChildren All vars are declared and...

Part and Inventory Search

Back
Top