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. JohnUnderhill

    Document list of a folder

    Now I've looked into this, I can see I should have passed a SQL string to the ListObjects function to save looping over the table. Ah well .... Does anyone have any sample VB.NET code for ListObjects?
  2. JohnUnderhill

    Document list of a folder

    I used to use ListObjects to retrieve child objects but it was way too slow. I now establish a direct database connection. Samples of each here .... ListObjects method: Function GetNodeIDOld(ByVal lngParent As Long, ByVal strChild As String) As Long 'returns the node ID of a child of...
  3. JohnUnderhill

    Error adding object (document)

    You need to alocate all the variables that you pass to the function before you use them. You then need to deallocate afterwards. LAPI functions do not pass variables, they pass long pointers to allocated memory. Sample here. This function adds a new doc or does an Add Version if...

Part and Inventory Search

Back
Top