I think I was unclear earlier. I need to give Java program I'm running through Medialab access to my CurrentSubjectInfo file. It presently doesn't have it, and is defaulting to No ID. I'd prefer if it knew the actual subject number, and that is when I apparently need to use the Visual Basic code given above, according to the user manual. However, I am still unsure where this code is supposed to go- adding it to the Java code does not seem to fix anything.

Thank you so much.