Geometric getting UserClassIS, UserID & UserSubID from Feature

Discussion created by hoopoe on Feb 1, 2012
I am trying to programmatically set a junctionFlag using IDs from a Feature on our geometric network.

I have been studying the ArcObject resources around the JuntionFlag I see that it says you can get the ids using INetElements.QueryIDs.

I have tried several different approaches to this, but can't seem to figure out how to get the 3 IDs from said query.

I am working with VB on this project, in ArcMap version 9.3.1

any help would be greatly appreciated!