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!

Return Folder ID and Name from a folder search 2

Status
Not open for further replies.

psmello

Programmer
May 14, 2003
10
US
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 initialized. When I step through the code, each var has a value. What am I missing? Is this the correct method for obtaining what I need?

Many thanks!
 
If you can create a database connection to livelink schema you can find all folders livelink treats all objects by subtype folder=0,document=144,alias=1 etc,Number of children also is a field in dtree.with dtree and dversdata which holds little more info on version etc I did a bulk download tool using java.check out this excellent livelink site the LAPI section you have access to a lot of LAPI examples most of them written by me.

I beleive I have used listObjects call in one of them albeit java
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top