AnsweredAssumed Answered

ArcObjects connected Folder

Question asked by cmatthews on Jul 10, 2015
Latest reply on Jul 16, 2015 by Hornbydd


Does anybody have an arcObjects sample that will list the connect folders a user has created?

 

This is as close as I've got;

 

  

 

 

Dim pGxObjCont As IGxObjectContainer

 

 

Dim pGxCatalog As IGxCatalog

 

 

  

pGxCatalog = New GxCatalog

 

 

  

 

 

If pGxCatalog Is Nothing Then

 

 

   Exit Sub

 

 

Else

 

 

   pGxObjCont = pGxCatalog

 

 

 

End

 

If

 

 

  

 

 

Dim pEnumGxObj As IEnumGxObject

 

 

 

pEnumGxObj = pGxObjCont.Children

 

 

 

Dim pGxObj As IGxObject

 

 

pGxObj = pEnumGxObj.Next

 

 

 

 

Do While Not pGxObj Is Nothing

 

 

   If pGxObj.Name = "Folder Connections" Then

 

 

  

 

 

 

 

'### Get the individual folders here

 

 

  

 

 

   End If

 

 

 

     pGxObj = pEnumGxObj.Next

 

 

 

 

 

Loop

 

 

Outcomes